This wraps Rust's cargo CLI and returns structured JSON instead of terminal text. You get build, test, and clippy operations with typed output fields for diagnostics, warnings, and errors. It's part of the Pare toolkit, which standardizes CLI tools for AI agents by eliminating the need to parse ANSI codes and fragile string formats. Useful when your agent needs to run Rust toolchain commands and act on specific compiler messages or test results without regex. The structured output cuts tokens by about 68% on build errors and 46% on test runs compared to raw cargo output, and everything comes through stdio transport with schema validation.
claude mcp add --transport stdio io.github.dave-london-cargo uvx cargo