cargo-mcp

camshaft/cargo-mcp

3.2

If you are the rightful owner of cargo-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The cargo-mcp is a Model Context Protocol (MCP) server designed for integration with cargo, crates.io, and rustdoc, providing enhanced development capabilities for Rust projects.

cargo-mcp

MCP server for cargo/crates.io/rustdoc

Installation

$ cargo install --git https://github.com/camshaft/cargo-mcp

VSCode config

In .vscode/mcp.json:

{
  "servers": {
    "camshaft/cargo-mcp": {
      "type": "stdio",
      "command": "cargo-mcp"
    }
  }
}

Cline config

{
  "mcpServers": {
    "camshaft/cargo-mcp": {
      "command": "cargo-mcp",
      "args": [],
      "disabled": false,
      "autoApprove": []
    }
  }
}