🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@paretools/cargo

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paretools/cargo

MCP server for Rust/Cargo — structured build, test, clippy, and dependency data for AI agents

latest
Source
npmnpm
Version
0.22.0
Version published
Weekly downloads
314
190.74%
Maintainers
1
Weekly downloads
 
Created
Source

@paretools/cargo

npm License: MIT

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)

ToolDescription
buildBuild diagnostics (file, line, code, severity, message)
testTest results (name, status, pass/fail counts)
clippyLint diagnostics from clippy
runRun a cargo binary with structured output (exit code, stdout, stderr)
addAdd dependencies to a Rust project
removeRemove dependencies from a Rust project
fmtCheck or fix Rust formatting
docGenerate documentation with warning count
checkType 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)

PackageToolsWraps
@paretools/gitstatus, log, diff, branch, show, add, commit, push, pull, checkoutgit
@paretools/testrun, coveragepytest, jest, vitest, mocha
@paretools/npminstall, audit, outdated, list, run, test, initnpm
@paretools/buildtsc, build, esbuild, vite-build, webpacktsc, esbuild, vite, webpack
@paretools/lintlint, format-check, prettier-format, biome-check, biome-formateslint, prettier, biome
@paretools/pythonpip-install, mypy, ruff-check, pip-audit, pytest, uv-install, uv-run, blackpip, mypy, ruff, pytest, uv, black
@paretools/dockerps, build, logs, images, run, exec, compose-up, compose-down, pulldocker, docker compose
@paretools/cargobuild, test, clippy, run, add, remove, fmt, doc, checkcargo
@paretools/gobuild, test, vet, run, mod-tidy, fmt, generatego, 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

License

MIT

Keywords

mcp

FAQs

Package last updated on 29 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts