About LSP-MCP Bridge
LSP-MCP Bridge is an MCP server in the Productivity category: universal MCP bridge to LSP servers. One binary, 6 languages, config-driven.
Install
git clone https://github.com/Stryk91/lsp-mcp-rsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (6)
lsp_definitionGo to definition
Parameters not published.
lsp_diagnosticsGet errors/warnings
Parameters not published.
lsp_hoverGet docs/type at position
Parameters not published.
lsp_referencesFind all references
Parameters not published.
lsp_serversList configured servers
Parameters not published.
lsp_symbolsList symbols in file
Parameters not published.
Ask AI
Ask AI about LSP-MCP Bridge
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
lsp-mcp-rs
MCP server that bridges to any LSP. One binary, multiple language servers.
Build
cargo build --release
Binary: target/release/lsp-mcp-rs.exe
Configure
Create config.toml next to the binary:
[servers.lua]
command = "C:/path/to/lua-language-server.exe"
args = ["--stdio"]
extensions = [".lua"]
[servers.rust]
command = "rust-analyzer"
args = []
extensions = [".rs"]
[servers.python]
command = "pyright-langserver"
args = ["--stdio"]
extensions = [".py"]
Add to Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"lsp": {
"command": "X:\\path\\to\\lsp-mcp-rs.exe",
"args": []
}
}
}
Tools
| Tool | Description |
|---|---|
lsp_hover |
Get docs/type at position |
lsp_definition |
Go to definition |
lsp_references |
Find all references |
lsp_symbols |
List symbols in file |
lsp_diagnostics |
Get errors/warnings |
lsp_servers |
List configured servers |
All position arguments are 0-indexed.
How it works
- MCP request comes in with a file path
- File extension maps to configured LSP server
- LSP spawns on first use, stays running
- Request forwarded to LSP, response returned via MCP
License
MIT
Authors
DC, KALIC, Stryk9190
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.