I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-ATTR-Example-Cargo-Metadata
Ai 任せで作ってみた MCP Server
1
Github Watches
1
Github Forks
0
Github Stars
Cargo Metadata MCP Server
このプロジェクトは、Model Context Protocol (MCP)を使用して、Cargo プロジェクトのメタデータ情報を提供するサーバーを実装しています。
機能
この MCP サーバーは以下の機能を提供します:
- プロジェクトのメタデータ情報の取得
- パッケージ情報の取得
- 依存関係リストの取得
- ビルドターゲットの取得
- ワークスペース情報の取得
- フィーチャー情報の取得
使い方
ビルド
cargo build --release
実行
cargo run
または、ビルド済みのバイナリを直接実行することもできます:
./target/release/mcp-attr-example-cargo-metadata
MCP クライアントとの連携
このサーバーを MCP クライアント(例:Claude Desktop)と連携するには、クライアントの設定ファイルに以下のように追加します:
{
"mcpServers": {
"cargo-metadata": {
"command": "path/to/mcp-attr-example-cargo-metadata"
}
}
}
提供されるツール
このサーバーは以下のツールを提供します:
-
get_metadata
- プロジェクトのメタデータを取得します -
get_package_info
- プロジェクトのパッケージ情報を取得します -
get_dependencies
- プロジェクトの依存関係リストを取得します -
get_targets
- プロジェクトのビルドターゲットを取得します -
get_workspace_info
- プロジェクトのワークスペース情報を取得します -
get_features
- プロジェクトのフィーチャー情報を取得します
各ツールは、オプションで manifest_path
パラメータを受け取ります。指定しない場合は、カレントディレクトリの Cargo.toml ファイルが使用されます。
技術的な詳細
このプロジェクトは以下の技術を使用しています:
- mcp-attr - MCP サーバーを宣言的に記述するための Rust クレート
- cargo_metadata - Cargo プロジェクトのメタデータを取得するための Rust クレート
- tokio - 非同期ランタイム
- serde - シリアライズ/デシリアライズフレームワーク
ライセンス
MIT または Apache-2.0
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Reviews

user_OO29U6Ra
As a devoted user of MCP applications, I highly recommend the Linear MCP Server Extension for Zed by LoamStudios. This server extension seamlessly integrates with Zed, enhancing functionality and improving user experience. The setup process is straightforward, and the user interface is intuitive. Exceptional performance and reliability make it a top choice. For more details, check out the product link: https://mcp.so/server/zed-mcp-server-linear/LoamStudios.