# Language MCP server

> Exposes a language server to AI clients so they can get definitions, references, diagnostics, hovers, and rename symbols in a codebase.

- Repository: https://github.com/isaacphi/mcp-language-server
- Page: https://hostedmcp.org/servers/isaacphi/mcp-language-server
- Transport: —
- Stars: 1618
- License: BSD-3-Clause

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `LOG_LEVEL` | no | no |  |

## Tools (6)

- `definition`
- `references`
- `diagnostics`
- `hover`
- `rename_symbol`
- `edit_file`

## FAQ

### What tools does mcp-language-server provide?

It provides definition, references, diagnostics, hover, rename_symbol, and edit_file tools.

### Which language servers are supported?

It has tested guides for gopls, rust-analyzer, pyright, typescript-language-server, and clangd, and should work with other stdio-based servers.

### How do I connect a language server?

Pass the workspace path with --workspace and the language server command with --lsp; arguments after -- go to the language server.
