
Cargo
Expose Rust cargo build, test, and clippy results to your agent as structured JSON so you can fix compile and lint issues faster.
Overview
io.github.Dave-London/cargo is a Build-phase MCP server that runs cargo build, test, and clippy and returns typed JSON for coding agents.
What is this MCP server?
- Wraps cargo build, cargo test, and cargo clippy into typed JSON responses
- Reduces agent hallucination on rustc and clippy message formatting
- stdio MCP via @paretools/cargo npm package (v0.7.1)
- Fits Rust CLIs, agents, and performance-sensitive backend services
- Shares Pare repo patterns with build, docker, and git MCP servers
- Server version 0.7.1
- npm package @paretools/cargo with stdio MCP transport
- Documented operations: cargo build, test, and clippy
Community signal: 128 GitHub stars.
What problem does it solve?
Rustc and clippy output is verbose and inconsistent for LLMs, which slows down solo builders fixing compile and lint errors through an agent.
Who is it for?
Solo developers building Rust backends or CLIs who want cargo build, test, and clippy wired into MCP-enabled agents.
Skip if: JavaScript-only stacks with no Rust toolchain, or teams that prefer pure terminal cargo with no agent mediation.
What do I get? / Deliverables
Cargo results land as structured JSON so your agent can triage errors, suggest patches, and re-run build or test commands with fewer round trips.
- JSON summaries of cargo build success or failure
- Structured test and clippy output for agent-driven remediation
Recommended MCP Servers
Journey fit
How it compares
Structured cargo MCP wrapper, not rust-analyzer UI and not a generic brainstorming skill.
Common Questions / FAQ
Who is io.github.Dave-London/cargo for?
Rust-focused indie builders and small teams using AI agents who need reliable, JSON-shaped feedback from cargo build, test, and clippy.
When should I use io.github.Dave-London/cargo?
Use it while implementing or refactoring Rust crates when compile errors, failing tests, or clippy warnings block progress and you want the agent to drive the fix loop.
How do I add io.github.Dave-London/cargo to my agent?
Install @paretools/cargo from npm, register the stdio MCP server in your client config, and verify rustup, cargo, and your project build on the same machine.