LSP-MCP Bridge

Official registry Productivity

Universal MCP bridge to LSP servers. One binary, 6 languages, config-driven.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

MCPB package https://github.com/Stryk91/lsp-mcp-rs/releases/download/v0.1.0/lsp-mcp-rs.exe

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. lsp-mcp-rs
  2. Build
  3. Configure
  4. Tools
  5. How it works
  6. License
  7. Authors

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

ToolDescription
lsp_hoverGet docs/type at position
lsp_definitionGo to definition
lsp_referencesFind all references
lsp_symbolsList symbols in file
lsp_diagnosticsGet errors/warnings
lsp_serversList configured servers

All position arguments are 0-indexed.

How it works

  1. MCP request comes in with a file path
  2. File extension maps to configured LSP server
  3. LSP spawns on first use, stays running
  4. Request forwarded to LSP, response returned via MCP

License

MIT

Authors

DC, KALIC, Stryk9190

Frequently asked questions

What is LSP-MCP Bridge?

Universal MCP bridge to LSP servers. One binary, 6 languages, config-driven.

How do I install LSP-MCP Bridge?

Follow the installation steps in its documentation, shown on this page and in its repository.

Does LSP-MCP Bridge need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is LSP-MCP Bridge open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains LSP-MCP Bridge?

It is published by Stryk91. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.