Lsp MCP server
io.github.theUpsider/lsp-mcp·v0.1.6·3 starsUniversal LSP MCP server
3 stars115 downloads/wk
Reviews
Write oneNobody has reviewed Lsp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Lsp tools (17)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
lsp_apply_workspace_editApply raw workspace edit
lsp_code_actionList or apply code actions
lsp_completionGet completions
lsp_definitionFind definitions
lsp_diagnosticsGet errors and warnings. Pass a file path to trigger analysis of that file and its language server, then return diagnostics for that file (scope: file) or all files seen so far (scope: workspace). Omit file for workspace scope to query whatever has been opened previously.
lsp_document_symbolsList document symbols
lsp_formattingFormat document
lsp_healthShow LSP server health
lsp_hoverShow hover information
lsp_implementationFind implementations
lsp_initInitialize LSP for a project root. Pass languages to pre-warm specific servers; omit to auto-detect from project files (lazy startup per file if none found).
lsp_range_formattingFormat selected range
lsp_referencesFind references
lsp_renameRename symbol
lsp_signature_helpShow signature help
lsp_type_definitionFind type definitions
lsp_workspace_symbolsSearch workspace symbols
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan17 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 63 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Lsp compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 17
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 80% of 28,688 servers
- Downloads a week
- 115
- more than 66% of 12,191 servers with a package
What its tools let an agent do: 17 read
Install Lsp in Claude Code, Cursor or VS Code
Runs npx -y @theupsider/lsp-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add lsp-mcp -- npx -y @theupsider/lsp-mcp
What the publisher says
From the Lsp repository's README, as published. We do not edit it. Read it on GitHub
Universal LSP MCP Server
One MCP server to rule all Language Servers — automatic language detection, zero-config setup.
Overview
A Model Context Protocol (MCP) server that gives language models access to Language Server Protocol (LSP) functionality across all major programming languages. Unlike existing LSP-MCP servers, this project supports 13 languages out of the box with zero manual configuration — it automatically detects your codebase, selects the right language server, and exposes all LSP operations through a stable, language-independent tool interface.
Supported Languages
Features
- 🔍 Automatic Language Detection — Scans project root for language markers (package.json, Cargo.toml, go.mod, etc.)
- 🔄 Auto Language Server Selection — Hardcoded mapping with fallback servers; installs missing LSPs automatically
- 🤖 Hands-Free Initialization — Clients that support MCP Roots auto-initialize on connect — lsp_init disappears from the tool list once all servers start cleanly
- 💾 Cross-Session Persistence — Initialized workspaces and their ready languages are remembered across server restarts
- 🔁 Graceful Degradation — lsp_init reappears if a previously-working server starts failing (e.g. language added, binary missing)
- 🛠 12 LSP Tools — Definition, references, symbols, diagnostics, rename, code actions, formatting, and more
- 📝 Read & Write Operations — Both inspection and modification of code via LSP
- 🌐 Polyglot Support — Multiple language servers run simultaneously in the same project
- 📋 Hybrid Responses — Human-readable text field + raw LSP data in raw field
- 🔌 MCP Stdio Protocol — Works with any MCP-compatible client
- ⚡ Zero Config — Install and run, no per-language setup required
Installation
Important: Install lsp-mcp on the same machine where your code lives. The language servers it manages need direct filesystem access to your codebase — they cannot work over a remote connection or on a different machine than your source files.
# npm
npm install -g @theupsider/lsp-mcp@latest
# bun
bun install -g @theupsider/lsp-mcp@latestQuickstart
VS Code / Cursor
Add to your workspace .vscode/mcp.json (recommended — ensures the server runs on the same machine as your code, including SSH remotes, WSL, and Dev Containers):
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Lsp: common questions
- Is Lsp MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Lsp safety report
- How do I install Lsp?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Lsp need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Lsp maintained?
- The last commit was 101 days ago (2026-07-26). The latest release is v0.1.6.
- How does Lsp compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 17 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.