[Bug] TypeScript LSP Plugin Not Registering with LSP Tool System

Status Closed — not planned
Reported on v2.0.76
Maintainer reply None cached
Activity 15 comments · opened Jan 4, 2026 · closed Mar 13, 2026

Hi! Default (anthropic-provided) LSP plugin do not work for me. Below the details and proposed (by CC) fix.

Bug Description
Bug Report: TypeScript LSP Tool Returns "No LSP server available" Despite Plugin Being Enabled

Summary

The LSP tool returns "No LSP server available for file type: .ts" even when:

  1. typescript-lsp@claude-plugins-official plugin is enabled in settings
  2. typescript-language-server is globally installed and accessible in PATH

Environment

  • Claude Code version: Latest (as of Jan 2026)
  • OS: macOS (Darwin 24.3.0)
  • Node: v22.13.1 (via nvm)
  • typescript-language-server: 4.4.0 (globally installed)

Steps to Reproduce

  1. Enable the TypeScript LSP plugin in ~/.claude/settings.json:

{
"enabledPlugins": {
"typescript-lsp@claude-plugins-official": true
}
}

  1. Install typescript-language-server globally:

npm install -g typescript-language-server

  1. Verify installation:

which typescript-language-server
# Returns: /Users/name/.nvm/versions/node/v22.13.1/bin/typescript-language-server

typescript-language-server --version
# Returns: 4.4.0

  1. Use the LSP tool in Claude Code on any TypeScript file:

LSP operation: documentSymbol
filePath: src/lib/shared/utils.ts
line: 1
character: 1

Expected Behavior

The LSP tool should connect to the typescript-language-server and return document symbols, hover information, go-to-definition results, etc.

Actual Behavior

The LSP tool returns:
No LSP server available for file type: .ts

Investigation Done

  1. Confirmed plugin is enabled in ~/.claude/settings.json ✓
  2. Confirmed typescript-language-server is globally installed ✓
  3. Confirmed binary is in PATH and executable ✓
  4. Restarted Claude Code multiple times ✗ (no effect)
  5. Checked ~/.claude.json for LSP config options - none documented
  6. Reviewed Claude Code documentation - no explicit LSP server registration mechanism exists

Hypothesis

The typescript-lsp@claude-plugins-official plugin and the LSP tool appear to be disconnected systems. The plugin may provide some functionality, but it doesn't register a language server that the LSP tool can discover and use.

Requested Fix

Either:

  1. Make the typescript-lsp plugin properly register with the LSP tool system
  2. Add explicit LSP server configuration in settings.json or ~/.claude.json, e.g.:
  {
    "lspServers": {
      "typescript": {
        "command": "typescript-language-server",
        "args": ["--stdio"],
        "fileTypes": [".ts", ".tsx", ".js", ".jsx"]
      }
    }
  }

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.76
  • Feedback ID: 57946a01-2dc6-48aa-abae-d323bf135693

Errors
No errors

View original on GitHub ↗

15 Comments

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/15202
  2. https://github.com/anthropics/claude-code/issues/15413
  3. https://github.com/anthropics/claude-code/issues/15521

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

ajbmachon · 7 months ago

Same for me! No LSP works. Claude found a PR with race conditions. Hopefully we get a fix soon. Its a shame to have such a great feature that doesnt work :(

ajbmachon · 7 months ago
genesiscz · 7 months ago

It is working now in the new version, can be closed @ajbmachon @olegakbarov

ajbmachon · 7 months ago

Yes it it resolved for me. LSP finally works! 😁

ezhupa99 · 7 months ago

just a question guys, did you install anything else aside from the plugin?

WeAreBraveLabs · 7 months ago

Still not working in v2.1.14.
Tried uninstalling and reinstalling.

evgenyfadeev · 7 months ago
just a question guys, did you install anything else aside from the plugin?

Yes you need to install an LSP server for your language, and it must be on your $PATH, and the CC must be configured to call this LSP from your system. Try asking CC resolve this issue.

ajbmachon · 7 months ago

For me it worked in earlier versions with the exact same setup

volfadar · 6 months ago

why this issue is still persist, how to fix this? try reinstalling still no working

ezhupa99 · 6 months ago

you need to change some setting: check here

jbojcic1 · 6 months ago

I am on MacOS, Claude Code version 2.1.39 and still have this issue. I tried adding ENABLE_LSP_TOOL=1 when starting claude as suggested somewhere but didn't help.

github-actions[bot] · 5 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.