lsp-mcp-standalone
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Paisins/lsp_mcp_extension'
If you have feedback or need assistance with the MCP directory API, please join our Discord server