lsp-mcp-standalone
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lsp-mcp-standaloneget definition at src/index.js:12:8"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Universal LSP MCP (Standalone)
A VS Code extension that exposes LSP features (definition / hover / references / declaration / document symbols) over MCP, using an isolated language server process spawned by the extension itself.
Key properties:
Zero global-settings pollution: the extension spawns its own
goplsprocess; it does NOT touch anygo.*VS Code setting, so other projects' native gopls / code navigation keep working.Multi-repo aware: it reads VS Code
workspaceFoldersand passes them to gopls, so cross-repo symbols defined in other modules resolve.Direct LSP requests: it calls gopls via
textDocument/definitionetc. directly, bypassing thevscode.executeDefinitionProviderdocumentSelector limitation that makes other MCP bridges fail on cross-folder files.
Build & install
pnpm install
pnpm build
pnpm package # produces lsp-mcp-standalone.vsixInstall the vsix in your VS Code / VSCode-Server, then add to your project's mcp.json:
{
"mcpServers": {
"lsp-mcp-standalone": {
"url": "http://127.0.0.1:9528/mcp"
}
}
}Related MCP server: Codex LSP Bridge
Tools
definition(uri, line, character)declaration(uri, line, character)hover(uri, line, character)references(uri, line, character)document_symbols(uri)
All positions are 1-based (matching editor display).
This server cannot be deployed
Maintenance
Related MCP Connectors
Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.
The official Svelte MCP server providing docs and autofixing tools for Svelte development
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceAn MCP server that exposes Language Server Protocol features to external clients, allowing access to hover information, definitions, completions, references, and rename functionalities.9 npm40MIT
- AlicenseNot gradedqualityDmaintenanceExposes Language Server Protocol (LSP) features as MCP tools, enabling IDE-grade semantic navigation including go-to-definition, find references, hover info, and symbols across multiple programming languages (Python, Rust, C/C++, TypeScript/JavaScript, React, HTML, CSS).3MIT
- AlicenseNot gradedqualityCmaintenanceExposes Language Server Protocol (LSP) tools such as diagnostics, goto definition, find references, symbols, and rename as a stdio MCP server.7MIT
- AlicenseAqualityCmaintenanceProvides JavaScript/TypeScript code intelligence via LSP, enabling goto definition, hover info, and find references through MCP tools.31MIT