kotlin-lsp plugin not working: 'No LSP server available for file type: .kt'

Resolved 💬 5 comments Opened Feb 4, 2026 by qazqaz1000 Closed Mar 6, 2026

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

  1. ✅ Installed kotlin-lsp via Homebrew (brew install JetBrains/utils/kotlin-lsp)
  2. ✅ Created symlink to /usr/local/bin/kotlin-lsp
  3. ✅ Changed plugin scope from "user" to "project"
  4. ✅ Reinstalled plugin multiple times
  5. ✅ Manual installation from GitHub releases (zip)
  6. ✅ Multiple Claude Code restarts
  7. ✅ 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.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗