AGZ Rust Coder logo

AGZ Rust Coder

Offline Rust development tools for Cargo workspaces, compiler diagnostics, tests, APIs, navigation, and write-free code changes.

Install AGZ Rust Coder

Run the project’s own setup commands, in order.

Setup steps from the project

AGZ Rust Coder installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    bash install.sh
    
  2. 2. Install
    cargo install agz-rust-mcp --locked
    
  3. 3. Start the server
    agz-rust-mcp --transport http --http-bind 127.0.0.1:8787 \
      --allow-root /absolute/path/to/project
    

Overview

AGZ Rust Coder MCP server provides bounded Rust development tools driven by Cargo, rustc, Rust Analyzer, local sources, and docs.rs. It can inspect workspaces, search and read source, collect diagnostics, discover and run tests, execute binaries, resolve dependency APIs, and create un applied change packages. The standalone binary supports local stdio and Streamable HTTP transports, making it suitable for general-purpose Rust projects without a framework-specific layout. Reach for it when an agent needs evidence-based Rust analysis and controlled execution rather than direct source edits.

Use cases

  • Inspect a Cargo workspace before making a change
  • Collect focused Rust source and compiler context
  • Run one selected test or Cargo example
  • Resolve an exact-version dependency API
  • Prepare a verified refactor without editing the workspace

Key features

  • Cargo workspace and source inspection
  • Bounded rustc, Clippy, test, and documentation checks
  • Exact test and binary execution
  • Rust Analyzer navigation and API analysis
  • Offline bundled workflow skills
  • Write-free refactor and repair packages

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 88d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10/1/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit11d agoMost recent push to the default branch.

How AGZ Rust Coder works

What AGZ Rust Coder does

AGZ Rust Coder exposes Rust development operations through MCP. It works with libraries, command-line programs, services, and multi-package Cargo workspaces. Workspace inspection can identify packages, targets, features, dependencies, manifests, and lockfiles without compiling the project. Source search and bounded, line-numbered reads help an agent gather focused context instead of loading an entire repository.

Compiler-oriented operations use Cargo and rustc output. The server can run checks, Clippy, tests, documentation checks, or a broader validation gate. Tests can be listed, compiled without execution, or run by exact name with selected packages and targets. Cargo binaries and examples can also be launched with literal arguments, bounded output, and a deadline.

Deeper analysis includes exact-version dependency documentation, crate verification through crates.io, API resolution, Rust Analyzer symbol information, definitions, references, implementations, symbols, and bounded call hierarchies. Static audits, feature and toolchain verification, macro or trait explanations, and build-profile analysis are also available.

How it works

The executable communicates over standard input and output or Streamable HTTP. For HTTP use, it can bind a local endpoint such as http://127.0.0.1:8787/mcp. A project directory is supplied as the authorized working root; client-provided roots can narrow that access but cannot broaden it.

Operations are bounded to keep context and execution controlled. Test and application runs still have their normal project side effects, and an empty test selection returns NO_TESTS rather than a passing result. Rename and refactor operations produce verified edit packages without applying them to the workspace. Change and repair workflows use server-owned scratch revisions, so proposed changes can be analyzed and validated without writing the project workspace.

Four offline skills are bundled: workflow, repair, refactor, and performance. They are available through MCP tools, prompts, and resources, and can optionally be exported to a directory for clients that support filesystem skills.

Setup and configuration

Install the agz-rust-mcp binary with Cargo using Rust 1.91.0 or newer, or use a release archive for Linux x86_64, macOS arm64, or Windows x86_64. Start it with the absolute project path when the client does not launch in that directory. Local stdio clients use the installed executable as their MCP command.

For HTTP clients, start the binary with --transport http, a bind address and port, and the project root. The HTTP listener is configured for loopback use in the documented example. The default full tool catalog can be reduced with --toolset core, which keeps workspace, check, test, run, docs, and crate_lookup. Individual tools can also be disabled with --tools-<name> false switches.

The optional environment setting AGZ_RUST_MCP_SERVER__TOOLSET selects a toolset in client configuration. The server does not depend on client-specific display prefixes, configuration paths, or prompt-selection behavior.

Tools and capabilities

  • workspace: inspect Cargo metadata, search and read source, and access bundled skills.
  • check: run bounded Cargo checks, Clippy, tests, docs, or the full gate.
  • test and run: select tests or execute Cargo binaries and examples.
  • docs, crate_lookup, and api: investigate dependency versions and Rust APIs.
  • symbol, references, definition, symbols, implementations, and hierarchy: query Rust Analyzer evidence.
  • audit, profile, verify, and explain: inspect source findings, rebuild evidence, validation matrices, and compiler-related behavior.
  • rename, refactor, change, and repair: prepare or validate controlled, non-applied edits and repair candidates.

Limitations and notes

The server does not apply rename or refactor packages to the workspace. Execution tools can run project code and therefore retain ordinary program and test side effects. The active project path and its authorized-root rules determine which files and Cargo operations are available. Exact dependency documentation and analyzer results depend on the versions and evidence available to the project.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about AGZ Rust Coder

AGZ Rust Coder is an MCP server that connects AI clients to Cargo and rustc-based Rust projects. Its main tools inspect workspaces, read bounded source context, collect diagnostics, discover and run tests, execute binaries and examples, resolve dependency APIs, and prepare write-free refactor or repair changes.

Install it with Cargo by running `cargo install agz-rust-mcp --locked` on Rust 1.91.0 or newer. Release archives and an installer are also available for Linux x86_64, macOS arm64, and Windows x86_64.

Configure the installed `agz-rust-mcp` executable as a local stdio MCP server and pass the absolute project path. For HTTP clients, start it with `--transport http` and use the server URL, such as `http://127.0.0.1:8787/mcp`.

No, its rename and refactor tools produce verified edit packages without applying them to the workspace. Change and repair workflows use server-owned scratch revisions, while tests and programs may still have their normal runtime side effects.

Yes, it supports libraries, CLI applications, services, and multi-package Cargo workspaces. The `workspace` tool can inspect packages, targets, features, dependencies, manifests, and lockfiles before compilation.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAGZ Rust Coder AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agz-rust-coder?style=directory)](https://allmcps.com/mcp/agz-rust-coder)
HTML Embed
<a href="https://allmcps.com/mcp/agz-rust-coder"><img src="https://allmcps.com/api/badge/agz-rust-coder?style=directory" alt="AGZ Rust Coder on AllMCPs" /></a>