Cargo Metadata MCP Server
@frozenlib
About Cargo Metadata MCP Server
AI任せで作ってみたMCP Server
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Cargo Metadata MCP Server?
Cargo Metadata MCP Server implements a Model Context Protocol (MCP) server that exposes metadata from Cargo (Rust) projects. It provides tools to retrieve package information, dependencies, build targets, workspace details, and feature flags. This tool is for developers working with Rust projects who want to inspect Cargo metadata programmatically via MCP clients.
How to use Cargo Metadata MCP Server?
Build the server with cargo build --release, then run it with cargo run or directly execute ./target/release/mcp-attr-example-cargo-metadata. To integrate with MCP clients like Claude Desktop, add the server configuration to the client settings JSON, specifying the command path to the binary.
Key features of Cargo Metadata MCP Server
- Get project metadata
- Get package information
- Get dependencies list
- Get build targets
- Get workspace information
- Get features information
Use cases of Cargo Metadata MCP Server
- Inspect Rust project metadata programmatically
- Analyze dependencies in a Cargo workspace
- Retrieve feature flags for conditional compilation
- Check build targets for cross-compilation
FAQ from Cargo Metadata MCP Server
What dependencies does this server require?
It requires a Rust runtime and uses the cargo_metadata, mcp-attr, tokio, and serde crates.
How do I connect this server with Claude Desktop?
Add an entry to the MCP client configuration JSON with the command field pointing to the server binary (e.g., "command": "path/to/mcp-attr-example-cargo-metadata").
Can I specify a different Cargo.toml file?
Yes, each tool accepts an optional manifest_path parameter. If omitted, the current directory’s Cargo.toml is used.
What is the license for this server?
The project is licensed under MIT or Apache-2.0.
What tools does the server expose?
It exposes six tools: get_metadata, get_package_info, get_dependencies, get_targets, get_workspace_info, and get_features.
Frequently asked questions
What dependencies does this server require?
It requires a Rust runtime and uses the `cargo_metadata`, `mcp-attr`, `tokio`, and `serde` crates.
How do I connect this server with Claude Desktop?
Add an entry to the MCP client configuration JSON with the command field pointing to the server binary (e.g., `"command": "path/to/mcp-attr-example-cargo-metadata"`).
Can I specify a different Cargo.toml file?
Yes, each tool accepts an optional `manifest_path` parameter. If omitted, the current directory’s Cargo.toml is used.
What is the license for this server?
The project is licensed under MIT or Apache-2.0.
What tools does the server expose?
It exposes six tools: `get_metadata`, `get_package_info`, `get_dependencies`, `get_targets`, `get_workspace_info`, and `get_features`.
Basic information
More Other MCP servers

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Comments