Command Palette

Search for a command to run...

UnylyUnyly
Browse all

LSP-MCP Bridge

FreeNot checked

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

GitHubEmbed

About

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

README

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

  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

from github.com/Stryk91/lsp-mcp-rs

Installing LSP-MCP Bridge

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/Stryk91/lsp-mcp-rs

FAQ

Is LSP-MCP Bridge MCP free?

Yes, LSP-MCP Bridge MCP is free — one-click install via Unyly at no cost.

Does LSP-MCP Bridge need an API key?

No, LSP-MCP Bridge runs without API keys or environment variables.

Is LSP-MCP Bridge hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install LSP-MCP Bridge in Claude Desktop, Claude Code or Cursor?

Open LSP-MCP Bridge on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare LSP-MCP Bridge with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs