LS

Language Server

Created 4 months ago

MCP Language Server for LLMs providing semantic tools for code navigation.

development documentation public

What is Language Server?

MCP Language Server helps MCP enabled clients navigate codebases more easily by giving them access to semantic tools like get definition, references, rename, and diagnostics.

Documentation

MCP Language Server

This is an MCP server that runs and exposes a language server to LLMs. Not a language server for MCP, whatever that would be.

Demo

mcp-language-server helps MCP enabled clients navigate codebases more easily by giving them access semantic tools like get definition, references, rename, and diagnostics.

Setup

  1. Install Go: Follow instructions at
  2. Install or update this server: go install github.com/isaacphi/mcp-language-server@latest
  3. Install a language server: follow one of the guides below
  4. Configure your MCP client: follow one of the guides below

Go (gopls)

Install gopls: go install golang.org/x/tools/gopls@latest

Rust (rust-analyzer)

Install rust-analyzer: rustup component add rust-analyzer

Python (pyright)

Install pyright: npm install -g pyright

Typescript (typescript-language-server)

Install typescript-language-server: npm install -g typescript typescript-language-server

C/C++ (clangd)

Install clangd: Download prebuilt binaries from the official LLVM releases page or install via your system's package manager.

Tools

  • definition: Retrieves the complete source code definition of any symbol from your codebase.
  • references: Locates all usages and references of a symbol throughout the codebase.
  • diagnostics: Provides diagnostic information for a specific file, including warnings and errors.
  • hover: Display documentation, type hints, or other hover information for a given location.
  • rename_symbol: Rename a symbol across a project.
  • edit_file: Allows making multiple text edits to a file based on line numbers.

About

This codebase makes use of edited code from gopls to handle LSP communication. Everything here is covered by a permissive BSD style license. This is beta software.

Server Config

{
  "mcpServers": {
    "language-server-server": {
      "command": "npx",
      "args": [
        "language-server"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: No

Project Info

Hosted Featured
Created At: Jul 17, 2025
Updated At: Aug 07, 2025
Author: Isaac Phi
Category: community
License: BSD style license
Tags:
development documentation public