MCP Language Server MCP Server

This is an [MCP](https://modelcontextprotocol.io/introduction) server that runs and exposes a [language

Local serverstdioPython

What is the MCP Language Server MCP Server?

MCP Language Server becomes available to MCP clients through the 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.

What MCP Language Server does

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

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

Practical notes

  • Maintained by isaacphi, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
definitionRetrieves the complete source code definition of any symbol (function, type, constant, etc.) from your codebase.
referencesLocates all usages and references of a symbol throughout the codebase.
diagnosticsProvides diagnostic information for a specific file, including warnings and errors.
hoverDisplay documentation, type hints, or other hover information for a given location.
rename_symbolRename a symbol across a project.
edit_fileAllows 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 repl

How to install the MCP Language Server MCP Server

{
  "mcpServers": {
    "language-server": {
      "command": "/full/path/to/your/clone/mcp-language-server/mcp-language-server",
      "args": [
        "--workspace",
        "/path/to/workspace",
        "--lsp",
        "language-server-executable"
      ],
      "env": {
        "LOG_LEVEL": "DEBUG"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
LOG_LEVELDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Language Server to definition.”
  • “Use MCP Language Server to references.”
  • “Use MCP Language Server to diagnostics.”

Frequently asked questions

This is an [MCP](https://modelcontextprotocol.io/introduction) server that runs and exposes a [language Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.