What language servers are supported?
Go (gopls), Rust (rust-analyzer), Python (pyright), TypeScript (typescript-language-server), C/C++ (clangd), and any LSP server that communicates over stdio.
@isaacphi
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"language-server": {
"command": "go",
"args": [
"run",
"github.com/isaacphi/mcp-language-server@latest",
"--workspace",
"/path/to/codebase/",
"--lsp",
"language-server-executable"
],
"env": {
"LOG_LEVEL": "INFO"
}
}
}
}Retrieves the complete source code definition of any symbol (function, type, constant, etc.) from your codebase.
Locates all usages and references of a symbol throughout the codebase.
Provides diagnostic information for a specific file, including warnings and errors.
Display documentation, type hints, or other hover information for a given location.
Rename a symbol across a project.
Allows making multiple text edits to a file based on line numbers. Provides a more reliable and context-economical way to edit files compared to search and replace based edit tools.
MCP Language Server is an MCP server that runs and exposes a language server (LSP) to LLMs, enabling semantic code navigation such as definitions, references, rename, and diagnostics.
Install via go install github.com/isaacphi/mcp-language-server@latest, install a compatible language server (e.g., gopls, rust-analyzer, pyright), then configure your MCP client (e.g., Claude Desktop) with the binary path, --workspace and --lsp arguments, and any necessary environment variables.
Go (gopls), Rust (rust-analyzer), Python (pyright), TypeScript (typescript-language-server), C/C++ (clangd), and any LSP server that communicates over stdio.
Install Go, then run `go install github.com/isaacphi/mcp-language-server@latest`, then install your desired language server separately.
Add an entry to `claude_desktop_config.json` with the `command`, `args` including `--workspace` and `--lsp`, and any required environment variables.
Yes, for some clients like Claude Desktop you may need to set PATH, GOPATH, GOCACHE, and GOMODCACHE to ensure the Go toolchain and language server are found.
The README states it is beta software; users are encouraged to report issues.

Model Context Protocol Servers
MCP Toolbox for Databases is an open source MCP server for databases.

Model Context Protocol Servers
A search tool helps dev to solve the naming things problem.
Painless E2E Automation for Mobile and Web
评论