MCP Language Server
StaleDescription
MCP Language Server gives MCP-enabled clients access to semantic code tools like go-to-definition, find-references, rename, and diagnostics, providing AI agents with precise code navigation capabilities.
Key Features
- MCP server that bridges language servers (gopls, rust-analyzer, pyright, tsserver, clangd) to LLM clients
- Semantic code navigation tools: go-to-definition, find-references, rename, and diagnostics
- Hover information and documentation retrieval for any symbol in the codebase
- File editing with precise line-based multi-edit support for reliable code modifications
- Supports Go, Rust, Python, TypeScript, C/C++ and any stdio-based language server
Use Cases
Categories
Quick Start
1. Install Go: https://golang.org/doc/install
2. Install the server: go install github.com/isaacphi/mcp-language-server@latest
3. Install a language server (e.g., gopls: go install golang.org/x/tools/gopls@latest)
4. Add to your MCP client config (e.g., Claude Desktop):
{"mcpServers": {"language-server": {"command": "mcp-language-server", "args": ["--workspace", "/path/to/project", "--lsp", "gopls"]}}}