MCP cover image
See in Github
2025-03-10

AI 任せで作ってみた servidor MCP

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"
    }
  }
}

提供されるツール

このサーバーは以下のツールを提供します:

  1. get_metadata - プロジェクトのメタデータを取得します
  2. get_package_info - プロジェクトのパッケージ情報を取得します
  3. get_dependencies - プロジェクトの依存関係リストを取得します
  4. get_targets - プロジェクトのビルドターゲットを取得します
  5. get_workspace_info - プロジェクトのワークスペース情報を取得します
  6. get_features - プロジェクトのフィーチャー情報を取得します

各ツールは、オプションで manifest_path パラメータを受け取ります。指定しない場合は、カレントディレクトリの Cargo.toml ファイルが使用されます。

技術的な詳細

このプロジェクトは以下の技術を使用しています:

  • mcp-attr - MCP サーバーを宣言的に記述するための Rust クレート
  • cargo_metadata - Cargo プロジェクトのメタデータを取得するための Rust クレート
  • tokio - 非同期ランタイム
  • serde - シリアライズ/デシリアライズフレームワーク

ライセンス

MIT または Apache-2.0

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • n8n-io
  • Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • metorial
  • Versiones contenedores de cientos de servidores MCP 📡 🧠

    Reviews

    2 (1)
    Avatar
    user_OO29U6Ra
    2025-04-15

    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.