@paretools/cargo

Structured, token-efficient Rust/Cargo output for AI agents. Up to 68% fewer tokens than raw cargo CLI output.
Part of the Pare suite of MCP servers.
Tools (9)
build | Build diagnostics (file, line, code, severity, message) |
test | Test results (name, status, pass/fail counts) |
clippy | Lint diagnostics from clippy |
run | Run a cargo binary with structured output (exit code, stdout, stderr) |
add | Add dependencies to a Rust project |
remove | Remove dependencies from a Rust project |
fmt | Check or fix Rust formatting |
doc | Generate documentation with warning count |
check | Type check without full build (faster than build) |
Quick Start
npx -y @paretools/cargo
Add to your MCP client config:
{
"mcpServers": {
"pare-cargo": {
"command": "npx",
"args": ["-y", "@paretools/cargo"]
}
}
}
Example
test output:
{
"passed": 24,
"failed": 1,
"ignored": 2,
"total": 27,
"tests": [
{ "name": "test_parse_input", "status": "ok" },
{ "name": "test_edge_case", "status": "FAILED" }
]
}
All Pare Servers (244 tools)
| @paretools/git | status, log, diff, branch, show, add, commit, push, pull, checkout | git |
| @paretools/test | run, coverage | pytest, jest, vitest, mocha |
| @paretools/npm | install, audit, outdated, list, run, test, init | npm |
| @paretools/build | tsc, build, esbuild, vite-build, webpack | tsc, esbuild, vite, webpack |
| @paretools/lint | lint, format-check, prettier-format, biome-check, biome-format | eslint, prettier, biome |
| @paretools/python | pip-install, mypy, ruff-check, pip-audit, pytest, uv-install, uv-run, black | pip, mypy, ruff, pytest, uv, black |
| @paretools/docker | ps, build, logs, images, run, exec, compose-up, compose-down, pull | docker, docker compose |
| @paretools/cargo | build, test, clippy, run, add, remove, fmt, doc, check | cargo |
| @paretools/go | build, test, vet, run, mod-tidy, fmt, generate | go, gofmt |
Compatible Clients
Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Roo Code, Zed, Continue.dev, Gemini CLI, OpenAI Codex
Links
License
MIT