Cargo icon

Cargo

byjbr
0

Provides safe access to Cargo operations for Rust projects via a Model Context Protocol (MCP) server.

About

Cargo enables secure access to essential Cargo commands for Rust projects through a Model Context Protocol (MCP) server. It exposes functionalities like code checking, linting with Clippy, testing, formatting checks, and building, all while ensuring safety through whitelisted commands, path validation, and execution within the specified project directory. This tool allows for automated and safe interaction with Cargo for tasks ranging from development to CI/CD processes.

Key Features

  • Commands run in the specified project directory
  • Uses a Model Context Protocol (MCP) server
  • 0 GitHub stars
  • Provides path validation to ensure the target is a valid Rust project
  • Exposes cargo_check, cargo_clippy, cargo_test, cargo_fmt_check, and cargo_build commands
  • Offers safety features like whitelisted commands and no arbitrary command execution

Use Cases

  • Remote building and testing of Rust projects
  • Automated code checking and linting in CI/CD pipelines
  • Safe access to Cargo operations within sandboxed environments