mcpls
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcpls
Give your AI coding agent a compiler's understanding of your code.
mcpls is a bridge between the Model Context Protocol (MCP) and the Language Server Protocol (LSP). It runs the language servers for your project (rust-analyzer, pyright, gopls, and others) and exposes their type information, references, diagnostics and refactoring as 31 MCP tools, so an AI client reasons about code the way an IDE does.
flowchart LR
C["AI client"] <-->|MCP| M["mcpls"] <-->|LSP| S["rust-analyzer / pyright / gopls / ..."]Documentation
The full documentation is the mcpls book: https://bug-ops.github.io/mcpls/
Topic | Chapter |
Install and first run | |
Connect Claude Code or another client | |
Configure language servers | |
All 31 tools | |
Something does not work | |
HTTP transport and allowlists | |
Security model and untrusted workspaces | |
Every flag and config key |
Related MCP server: Codex LSP Bridge
Installation
Linux and macOS:
curl -fsSL https://raw.githubusercontent.com/bug-ops/mcpls/main/scripts/install.sh | shWindows (PowerShell):
irm https://raw.githubusercontent.com/bug-ops/mcpls/main/scripts/install.ps1 | iexOr with Cargo:
cargo install mcplsYou also need at least one language server, for example rustup component add rust-analyzer. See Installation for other methods and servers.
Quick start
Register mcpls with Claude Code:
claude mcp add --scope user mcpls -- mcplsThen ask about your code:
You: What is the return type of process_request?
Claude: [get_hover] It returns Result<Response, ApiError>.
You: Find everywhere ApiError::Timeout is handled.
Claude: [get_references] Found 4 matches: src/handlers/api.rs:89, ...Rust projects need no configuration. Other languages and clients are covered in the book.
Features
Type information and documentation at any position
Cross-references, definitions, implementations across the whole workspace
Real diagnostics from the compiler, not guesses
Rename and code-action edits returned for the client to apply
Call and type hierarchies, formatting, inlay hints, selection and folding ranges
Workspace symbol search across every language server of a polyglot project, with each symbol tagged by its server
Address code by symbol name as well as by position, and restart language servers on demand
Several language servers at once, started concurrently and stopped with mcpls, with graceful degradation when one fails
stdio by default, optional HTTP transport with Host and Origin allowlists and resource subscriptions
Untrusted-workspace mode for analyzing code you do not trust
Single Rust binary, no runtime dependencies, no
unsafecode; release archives carry build-provenance attestations
Security
Language servers run code that comes with the workspace, and mcpls does not sandbox them. Read SECURITY.md and the Security and Trust chapter before pointing mcpls at code you did not write.
Agent skill
skills/mcpls is a packaged Agent Skill that teaches an AI coding agent to install, configure and run mcpls.
Development
cargo build
cargo nextest run --workspace --all-featuresRequires Rust 1.99 or later (edition 2024). The book lives in book/ and is built with mdBook. See CONTRIBUTING.md.
Community
Participation is governed by the Code of Conduct. Accessibility of the output and documentation is described in ACCESSIBILITY.md.
License
Dual-licensed under Apache 2.0 or MIT at your option.
This server cannot be deployed
Maintenance
Related MCP Connectors
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceExposes VSCode's Language Server Protocol features through MCP, enabling AI assistants to perform language-aware operations like symbol navigation, reference tracking, safe renaming, type information retrieval, and hover documentation across codebases.-
- AlicenseNot gradedqualityDmaintenanceExposes Language Server Protocol (LSP) features as MCP tools, enabling IDE-grade semantic navigation including go-to-definition, find references, hover info, and symbols across multiple programming languages (Python, Rust, C/C++, TypeScript/JavaScript, React, HTML, CSS).4MIT
- AlicenseNot gradedqualityFmaintenanceExposes Language Server Protocol (LSP) functionality as Model Context Protocol (MCP) tools, enabling AI clients to programmatically analyze and edit code in any language supported by VS Code.17 npm33MIT
- AlicenseNot gradedqualityBmaintenanceProvides IDE-like coding capabilities for AI agents via MCP, enabling semantic code retrieval, symbol-level editing, refactoring, and navigation across many programming languages.MIT