MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

MCP server by TheAllenChou

创建于 4/11/2026
更新于 about 4 hours ago
Repository documentation and setup instructions

lsp-mcp

VS Code extension that exposes language server features as MCP tools. It hooks into whatever language servers VS Code already has running — no configuration needed.

Install

git clone https://github.com/TheAllenChou/lsp-mcp.git
cd lsp-mcp
npm install
npm run package
code --install-extension lsp-mcp-1.0.0.vsix

After restarting VS Code, the extension registers as an MCP server definition provider, making its tools available to any MCP client connected to VS Code — including GitHub Copilot and Claude Code.

Available Tools

| Tool | Description | |-------------------------|----------------------------------------------------------| | lsp_definition | Go to the definition of a symbol at a given position. | | lsp_references | Find all references to a symbol at a given position. | | lsp_type_definition | Go to the type definition of a symbol. | | lsp_hover | Get hover/type information for a symbol. | | lsp_document_symbols | List all symbols in a file. | | lsp_workspace_symbols | Search for symbols across the workspace. | | lsp_diagnostics | Get errors and warnings for a file. | | lsp_completions | Get completion suggestions at a position. | | lsp_implementations | Find implementations of an interface or abstract symbol. |

All position-based tools use zero-based line and character numbers.

快速设置
此服务器的安装指南

安装包 (如果需要)

npx @modelcontextprotocol/server-lsp-mcp

Cursor 配置 (mcp.json)

{ "mcpServers": { "theallenchou-lsp-mcp": { "command": "npx", "args": [ "theallenchou-lsp-mcp" ] } } }