mcpls — Claude Code MCP server: features and installation
mcpls — an MCP server for Claude Code connects an MCP client to language servers through LSP. The agent can query types, references, diagnostics, and code edits.
Apache-2.0 ★ 85 updated 2026-11-15
Open on GitHubWhat mcpls does
mcpls routes MCP requests to the language servers for a project and exposes their results as MCP tools. An agent can inspect a symbol's type, locate definitions and references, retrieve diagnostics, or request edits for renames and code actions. The server offers 31 tools.
Multiple language servers can run at once; if one fails, the others can keep working. stdio is the default transport, with HTTP available alongside Host and Origin allowlists. At least one language server is required, such as rust-analyzer. Language servers execute code from the workspace, and mcpls does not sandbox them.
What it helps with
- inspect a symbol's type and documentation
- locate definitions and references across a workspace
- retrieve diagnostics from a language server
- request a rename or code-action edit
Example prompts for the agent
- What type does
process_requestreturn? - Find every place that handles
ApiError::Timeout. - Show the definitions of
ApiError.
How to install mcpls
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mcpls
How do I install mcpls in Claude Code?
Install the package with cargo install mcpls, then register the server using claude mcp add --scope user mcpls -- mcpls.
What does mcpls do?
It connects an MCP client to language servers over LSP and makes code intelligence available as MCP tools. These include type lookup, references, diagnostics, and requested code edits.
What does mcpls need to run?
At least one language server is required, for example rust-analyzer. Language servers execute workspace code, and mcpls does not isolate them.