Model Context Protocol server for Cargo operations
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"cargo-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# Cargo MCP Server A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server that provides tools for running Cargo commands. This server allows AI agents to interact with Rust projects through Cargo, enabling automated builds, tests, documentation generation, and more. ## Features The server provides the following Cargo tools: - **`cargo_build`** - Build a Rust project with Cargo - **`cargo_test`** - Run tests for a Rust project - **`cargo_run`** - Run a Rust binary - **`cargo_check`** - Check a project for errors without building - **`cargo_clippy`** - Run Clippy linter - **`cargo_fmt`** - Format Rust code using rustfmt - **`cargo_doc`** - Generate documentation - **`cargo_clean`** - Clean build artifacts - **`cargo_tree`** - Display dependency tree - **`cargo_update`** - Update dependencies in Cargo.lock - **`cargo_bench`** - Run benchmarks ## Installation ### Prerequisites - Python 3.8 or higher - Rust and Cargo installed on your system - Access to install Python packages ### Install from source 1. Clone this repository: ```bash git clone <repository-url> cd cargo-mcp ``` 2. Install the package: ```bash pip install -e . ``` ## Usage ### With Claude Desktop Add the server to your `claude_desktop_config.json`: **MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json` **Windows**: `%APPDATA%/Claude/claude_desktop_config.json` ```json { "mcpServers": { "cargo-mcp": { "command": "cargo-mcp" } } } ``` ### With other MCP clients The server can be used with any MCP-compatible client. Start the server using: ```bash cargo-mcp ``` ### Testing with MCP Inspector You can test the server using the MCP Inspector: ```bash npx @modelcontextprotocol/inspector cargo-mcp ``` ## Tool Documentation ### cargo_build Build a Rust project with Cargo. **Parameters:** - `release` (boolean, optional): Build in release mode with optimizations - `features` (array, optional): List of features to activate - `target`…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.