mcp-language-server

mcp-language-server

Provides code semantic tools for MCP clients, such as definition lookup, references, renaming, and diagnostics.

MCPDevOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 1.6k
Source
mcp-github

Overview

mcp-language-server is an MCP server that runs and exposes a language server to LLMs. This enables MCP-enabled clients to more easily navigate codebases and access semantic tools like retrieving definitions, references, renaming, and diagnostics. By installing Go and the corresponding language servers (e.g., gopls, rust-analyzer), and configuring the MCP client, this capability can be utilized. Ideal for developers needing code understanding and navigation features.

Capabilities

  • Get definition
  • Find references
  • Rename
  • Code diagnostics

Use cases

Code navigationCode refactoringCode reviewError detection

Setup

Requires: Go环境语言服务器MCP客户端配置
1. Install Go: Refer to https://golang.org/doc/install\n2. Install or update this server: `go install github.com/isaacphi/mcp-language-server@latest`\n3. Install language server: Refer to the installation guide for the respective language\n4. Configure MCP client: Refer to the configuration guide for the respective client

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

Which languages are supported?

Supports Go, Rust, Python, TypeScript, and C/C++.

How do I configure the MCP client?

Refer to the specific language configuration examples in the README.

Related skills