貨物ドキュメントMCPサーバー
cargo doc コマンドを通じてRustドキュメントを管理するためのMCPサーバー。このサーバーは、Rustドキュメントをローカルでチェック、ビルド、検索するためのツールを提供します。
特徴
ツール
get_crate_doc
- 全体的な概念と使用方法を理解するための crate のメインドキュメントページを取得します- パラメータ:
project_path
: Rust プロジェクトへのパス (絶対パスである必要があります)crate_name
: ドキュメントを取得するクレートの名前
- パラメータ:
list_symbols
- クレートのドキュメント内のすべてのシンボル(構造体、列挙型、特性など)を一覧表示します- パラメータ:
project_path
: Rust プロジェクトへのパス (絶対パスである必要があります)crate_name
: シンボルを一覧表示するクレートの名前
- パラメータ:
search_doc
- クレート内のドキュメントを検索- パラメータ:
project_path
: Rust プロジェクトへのパス (絶対パスである必要があります)crate_name
: 検索するクレートの名前query
: 検索クエリ(キーワードまたはシンボル)limit
(オプション): 返される結果の最大数 (デフォルト: 10)
- パラメータ:
要件
- Node.js 16以降
- RustとCargoをインストール
インストール
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
使用法
次の構成を追加します。
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。MCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
キャッシュシステム
サーバーは、パフォーマンス向上のため、ビルドされたドキュメントパスのキャッシュを維持します。ドキュメントを最新の状態に保つため、キャッシュエントリは24時間後に期限切れになります。
ライセンス
マサチューセッツ工科大学
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Rust ドキュメントを管理するためのサーバー。ユーザーは cargo doc コマンドを使用して、ローカルで Rust ドキュメントを確認、ビルド、検索できます。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityGet the narrative and API documentation for the exact version of any of your dependencies. (Only Rust is supported at the moment.)Last updated -14347TypeScriptMIT License
- -securityFlicense-qualityProvides curated documentation access via the Gemini API, enabling users to query and interact with technical docs effectively by overcoming context and search limitations.Last updated -13TypeScript
- -securityFlicense-qualityAn MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.Last updated -3TypeScript
- -securityAlicense-qualityAn MCP server that enables interaction with the Vercel API to manage deployments, DNS records, domains, projects, and environment variables through natural language commands.Last updated -65TypeScriptMIT License