Cargo MCP
JSON →Interact with Rust projects using Cargo commands like build, test, and run.
Install
npx @modelcontextprotocol/inspector Tools · 11
- 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
Links
★ 2 GitHub stars