Skip to content
Cursor

cargo for Cursor

io.github.dave-london/cargo

Structured Rust cargo operations (build, test, clippy) as typed JSON.

client:Cursor transport:stdio runtime:npm

Install cargo in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "cargo": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@paretools/cargo"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

cargo in other clients