mcpls MCPサーバー
コミット 2026年11月15日型情報、参照、診断などの言語サーバーのインテリジェンスを、AIコーディングエージェント向けのMCPツールとして公開します。
別名 bug-ops/mcpls
- スター
- 83
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.10.0
- 最終コミット
- 2026年11月15日
- ライセンス
- Apache-2.0
mcpls MCPとは
mcplsはMCPサーバーです。 型情報、参照、診断などの言語サーバーのインテリジェンスを、AIコーディングエージェント向けのMCPツールとして公開します。.
プロジェクトのREADMEから生成された概要
mcpls MCP server について
mcplsは、Model Context ProtocolとLanguage Server Protocolの橋渡しを行い、AIコーディングエージェントに深い技術的洞察を提供します。rust-analyzer、pyright、goplsなどの既存の言語サーバーを実行することで、31種類の特定のMCPツールを公開し、AIクライアントが型情報、参照、診断、リファクタリング機能にアクセスできるようにします。この構成により、AIはプロフェッショナルな統合開発環境(IDE)と同じ精度でコードベースを解析できます。
開発者は、curl、PowerShell、またはCargo経由でサーバーをインストールし、Claude Codeなどのクライアントに接続できます。Rustプロジェクトは追加の設定なしで動作しますが、他の言語では設定が必要な場合があります。このサーバーは、ポリグロット(多言語)プロジェクトにおいて複数の言語サーバーを並行して実行することをサポートしており、より安全な解析のためのuntrusted-workspaceモードも提供しています。デフォルトではstdioを使用しますが、より複雑な環境向けに、許可リストを備えたHTTPトランスポートもサポートしています。
できること
- 1特定の型情報の取得AIエージェントは、ホバーツールを使用して関数の正確な戻り値の型を特定できます。
- 2コード参照の特定開発者はエージェントに対し、特定の型やシンボルが処理されているすべての箇所を探すよう指示できます。
- 3コードベースのリファクタリングエージェントはコンパイラに裏打ちされたツールを使用して、名前の変更やコードアクションによる編集を実行できます。
- 4多言語ワークスペースの検索単一のプロジェクト内で、異なるプログラミング言語にまたがるシンボルを検索できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
自動チェック
実行日 2026年11月12日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない未チェック
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし未チェック
README
GitHubで見る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 | Installation |
| Connect Claude Code or another client | Connect an AI Client |
| Configure language servers | Configuration |
| All 31 tools | Tools Overview |
| Something does not work | Troubleshooting |
| HTTP transport and allowlists | Transports |
| Security model and untrusted workspaces | Security and Trust |
| Every flag and config key | Reference |
Installation
Linux and macOS:
curl -fsSL https://raw.githubusercontent.com/bug-ops/mcpls/main/scripts/install.sh | sh
Windows (PowerShell):
irm https://raw.githubusercontent.com/bug-ops/mcpls/main/scripts/install.ps1 | iex
Or with Cargo:
cargo install mcpls
Prebuilt archives for Linux, macOS and Windows (x86_64 and aarch64) with SHA256 checksums and build-provenance attestations are on GitHub Releases.
mcpls is also listed in the official MCP Registry as io.github.bug-ops/mcpls (cargo package, stdio transport), so registry-aware clients can discover it there. The listing installs the same crate as cargo install mcpls.
You 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 -- mcpls
Then 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-features
Requires 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.
mcpls MCPのよくある質問
mcplsとは何ですか?
Model Context ProtocolとLanguage Server Protocolの橋渡しを行い、AIクライアントが型情報やリファクタリングなどの言語サーバー機能を利用できるようにします。
信頼できないコードに対してmcplsを使用するのは安全ですか?
言語サーバーはワークスペース内のコードを実行するため、mcplsはそれらをサンドボックス化しません。信頼できないコードで使用する場合は、事前にセキュリティドキュメントを確認してください。
複数の言語をサポートしていますか?
はい、rust-analyzer、pyright、goplsなど、複数の言語サーバーを同時に実行できます。