# Cargo

> Use this tool when you need to safely manage Rust development workflows with controlled access to Cargo commands, solving problems such as code review, project maintenance, and automated testing. It takes inputs like workspace packages, environment variables, and command-specific options, and outputs results of operations like build, test, and fmt, all while ensuring valid Rust projects and toolchain support. It provides a secure interface for AI assistants to execute Cargo operations, including checking, building, and running Rust projects.

Canonical page: https://skillsregistry.net/skills/jbr-cargo  
JSON: https://api.skillsregistry.net/v1/skills/jbr-cargo

## Description

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.

## Trust

- **Trust score (0–1):** 0.95
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** productivity
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/jbr-cargo)
- **Repository:** <https://github.com/jbr/cargo-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "jbr-cargo"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jbr-cargo` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jbr-cargo/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
