[BUG] swift-lsp plugin installed but LSP tools not exposed to Claude
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The swift-lsp@claude-plugins-official plugin is installed and the marketplace.json contains valid lspServers configuration, but Claude does not have access to any LSP tools for Swift files.
When I ask Claude to "use LSP to find all references", it responds that no LSP tools are available in its toolset.
What Should Happen?
Claude should have LSP tools (find_references, go_to_definition, hover, etc.) available for .swift files after installing the swift-lsp plugin.
Error Messages/Logs
No explicit error. Claude simply reports:
"I don't have an LSP tool available in my current toolset."
Plugin install directory only contains README.md:
~/.claude/plugins/cache/claude-plugins-official/swift-lsp/1.0.0/
└── README.md (only file)
But marketplace.json has valid config:
"lspServers": {
"sourcekit-lsp": {
"command": "sourcekit-lsp",
"extensionToLanguage": { ".swift": "swift" }
}
}
Steps to Reproduce
- Install the swift-lsp plugin:
claude plugins install swift-lsp@claude-plugins-official
- Verify sourcekit-lsp is available:
which sourcekit-lsp
// Should return /usr/bin/sourcekit-lsp
- Open any Swift project in Claude Code
- Ask: "use LSP to find all references to [any symbol]"
- Claude responds it has no LSP tools available
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.20 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
Diagnostic findings:
- sourcekit-lsp binary exists and works: /usr/bin/sourcekit-lsp
- Plugin shows in installed_plugins.json as v1.0.0
- Marketplace config at ~/.claude/plugins/marketplaces/claude-plugins-official/.claude-plugin/marketplace.json contains correct lspServers definition
- But the installed plugin directory only has README.md — no manifest wiring the LSP tools
Hypothesis: Claude Code reads lspServers from marketplace.json but doesn't start the LSP server or expose tools to the model.
Related issues: #14803, #16384
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗