Cargo

Provides safe access to Rust development workflows through whitelisted Cargo commands including check, clippy, test, build, bench,

jbr 15
Claude CodeClaude DesktopGeneric
View source ↗

Cargo MCP server by Jacob Rothstein that provides safe access to Rust development workflows through whitelisted Cargo commands including check, clippy, test, build, bench, fmt, add/remove dependencies, update, clean, and run operations. Built using the mcplease framework with session-based state management, the implementation includes path validation to ensure operations only run in valid Rust projects with Cargo.toml files, toolchain support for switching between stable/nightly/specific Rust versions, and shared context storage for working directory management across MCP sessions. Features comprehensive parameter support for workspace packages, environment variables, release builds, feature flags, and command-specific options like test filtering and clippy auto-fixes, making it valuable for AI assistants helping with Rust development, code review workflows, and automated project maintenance tasks where safe, controlled access to Cargo operations is needed.

Source

Repository: https://github.com/jbr/cargo-mcp

Maintain Cargo?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Cargo on getagentictools](https://getagentictools.com/mcp/jbr-cargo-mcp?ref=badge)