Install
mcp-registry/mcp-language-server

mcp-language-server

Author: isaacphi

Description: MCP server that proxies any stdio-based Language Server (LSP) and exposes semantic code-navigation tools (definition, references, hover, rename, diagnostics, edit) to MCP-capable LLM clients.

Stars: 748

Forks: 55

License: BSD 3-Clause "New" or "Revised" License

Category: Open Source

01

definition

Retrieves the complete source code definition of any symbol (function, type, constant, etc.) from the codebase

02

references

Locates all usages and references of a symbol throughout the codebase

03

diagnostics

Provides diagnostic information for a specific file, including warnings and errors

04

hover

Displays documentation, type hints, or other hover information for a given location

05

rename_symbol

Renames a symbol across the project

06

edit_file

Allows making multiple text edits to a file based on line numbers for reliable and context-economical file editing

Installation

Prerequisites:
1. Go ≥ 1.22 installed and in PATH.
2. Git installed.
Install from source:
# Fetch & build the server binary go install github.com/isaacphi/mcp-language-server/cmd/mcp-language-server@latest
The binary will be placed in `$GOPATH/bin` (usually `~/go/bin`). Ensure this directory is on your PATH:
export PATH="$PATH:$(go env GOPATH)/bin"
Run the server:
mcp-language-server --listen :4389
Optional configuration flags (commonly used – consult `--help` for the full list):
* `--config <file>` – path to a YAML/JSON config file.
* `--log-level debug` – enable verbose logging.
Integration with editors/IDEs:
Point your MCP-capable client or Language-Server-Protocol (LSP) bridge to the TCP port you chose (default `:4389`). No additional authentication is required by default.

Documentation

License: BSD 3-Clause "New" or "Revised" License
Updated 7/30/2025