MCP Servers / development / Cargo MCP Server

Cargo MCP Server

JSON →
none1development

Tools for managing Rust projects using the cargo command-line tool.

Install
How to run this server

No install command recorded.

server path: cargo-mcp-server
Tools
What this server exposes
check
Analyze code without producing executables
build
Compile the current package
clippy
Run Clippy lints on the current package
fmt
Format Rust code using rustfmt
run
Run a binary or example of the local package
test
Run unit and integration tests
bench
Run benchmarks
add
Add dependencies to a Cargo.toml manifest file
remove
Remove dependencies from a Cargo.toml manifest file
update
Update dependencies as recorded in the local lock file
tree
Display a tree visualization of a dependency graph
new
Create a new cargo package at <path>
init
Create a new cargo package in an existing directory
clean
Remove artifacts that cargo has generated in the past
doc
Build this package's and its dependencies' documentation
search
Search packages in crates.io
info
Display information about a package in the registry
install
Install a Rust binary
uninstall
Remove a Rust binary
metadata
Output the resolved dependencies of a package in machine-readable format
version
Show version information for cargo and rust
Configuration
Environment & auth
authnone
Resources
Cargo MCP Server — MCP Server · libregistry