kotlin-lsp plugin not working: 'No LSP server available for file type: .kt'
Environment
- OS: macOS (Apple Silicon)
- Claude Code version: Latest
- kotlin-lsp version: 261.13587.0 (JetBrains)
Problem
The kotlin-lsp@claude-plugins-official plugin is enabled and all configurations are correct, but LSP features return "No LSP server available for file type: .kt".
Meanwhile, swift-lsp@claude-plugins-official works perfectly in the same environment.
Configuration
~/.claude/settings.json:
\\\json\
{
"env": {
"ENABLE_LSP_TOOL": "1"
},
"enabledPlugins": {
"swift-lsp@claude-plugins-official": true,
"kotlin-lsp@claude-plugins-official": true
}
}
\\
installed_plugins.json:
- kotlin-lsp: scope "project", projectPath "/Users/kyle"
marketplace.json has correct lspServers config:
\\\json\
"lspServers": {
"kotlin-lsp": {
"command": "kotlin-lsp",
"args": ["--stdio"],
"extensionToLanguage": {
".kt": "kotlin",
".kts": "kotlin"
},
"startupTimeout": 120000
}
}
\\
Verification
\\\`bash
$ which kotlin-lsp
/usr/local/bin/kotlin-lsp
$ kotlin-lsp --help
Usage: kotlin-lsp [OPTIONS]
...
\\\`
The binary is accessible and executable from PATH.
What I tried
- ✅ Installed kotlin-lsp via Homebrew (
brew install JetBrains/utils/kotlin-lsp) - ✅ Created symlink to
/usr/local/bin/kotlin-lsp - ✅ Changed plugin scope from "user" to "project"
- ✅ Reinstalled plugin multiple times
- ✅ Manual installation from GitHub releases (zip)
- ✅ Multiple Claude Code restarts
- ✅ Verified ENABLE_LSP_TOOL=1 is set
Expected behavior
LSP features (hover, goToDefinition, documentSymbol, etc.) should work for .kt files.
Actual behavior
Always returns "No LSP server available for file type: .kt"
Comparison with swift-lsp
- swift-lsp: Works ✅
- kotlin-lsp: Does not work ❌
Both plugins have similar configuration in marketplace.json, but only swift-lsp works.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗