
AGZ Rust Coder
io.github.ugur-murat-alt由 GitHub 账号 ugur-murat-alt 发布v0.2.0更新于 Oct 24, 2026
Bounded, source-write-free Rust correctness tools grounded in Cargo and rustc output.
发布方自己的服务:rust.wiki
概览
一个本地 stdio MCP 服务器,为助手提供基于 Cargo、rustc 与 Rust Analyzer 的有界 Rust 正确性工具,且不写入工作区源码。
- 可以做什么
- 运行有界的 Cargo check、Clippy、测试、文档或完整门禁,并用 profile 与 verify 矩阵比较构建证据,同时审计源码静态问题、解释宏展开、trait 约束与 cfg 启用情况。在 crates.io 上核对 crate 及精确版本,并从缓存、本地源码或 docs.rs 解析对应版本文档。借助 Rust Analyzer 导航代码:悬停信息、定义、引用、实现、符号、调用层级与 API 签名。生成经过验证的重命名与重构编辑包,并在服务器自有暂存区中创建绑定修订的变更集或编译器驱动的修复候选,而不写入工作区。以显式门禁和预算驱动类型化意图完成变更与验证。
- 适用场景
- 适合助手处理 Rust 项目、需要基于编译器和分析器的实证而非猜测时使用:检查构建、诊断失败、了解不熟悉的 crate,或准备供人工审阅的重命名与重构。适合希望获得验证结果和编辑包、但自己动手应用改动的开发者。
- 运行要求
- 以本地二进制通过 stdio 运行;可用 Cargo 从 crates.io 安装(需 Rust 1.88.0 或更新版本),或使用 Linux x86_64、macOS arm64、Windows x86_64 的预编译包。验证需要 Rust 工具链与 Cargo,查询 crates.io 和 docs.rs 需要网络访问。默认仅授权当前目录,可用 --allow-root 添加根目录。可通过 AGZ_RUST_MCP_* 环境变量和 --config TOML 文件调整行为。
安装
在 SourceWeft 中
- 打开 控制台中的 AGZ Rust Coder,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
AGZ Rust MCP
[CI] [crates.io] [License: MIT]
English | Türkçe
An AGZ Yazılım product. agz-rust-mcp is a standalone MCP server with stdio and Streamable HTTP transports for
general-purpose Rust development grounded in Cargo and rustc. Discover a project
offline, collect focused source context and compiler diagnostics, select individual
tests, and run binaries/examples. Exact-version dependency docs, Rust Analyzer
navigation and write-free change/refactor packages support deeper work.
Everyday workflow
The same workflow works with a library, CLI, service or multi-package Cargo workspace. No framework-specific project structure or particular MCP client is required.
Pass an absolute dir for the active project when the client starts elsewhere.
A function is exercised through a test or executable example. run is a typed
Cargo runner; program arguments remain literal, including spaces and shell
metacharacters. Tests and applications execute project code with its ordinary
side effects. Empty selections return NO_TESTS, not a passing test verdict.
Use agz-rust-mcp --toolset core for a compact catalog of six everyday tools:
workspace, check, test, run, docs, and crate_lookup. The default
--toolset full preserves every existing tool plus the new additions. Individual
--tools-<name> false switches can disable tools further. See the
full reference for limits and result states.
Install
Prebuilt .tar.gz archives with .sha256 files are available for Linux
x86_64, macOS arm64, and Windows x86_64. Releases up to 0.2.0 use the legacy
agz-rust-coder-* asset names; from 0.3.0 onward the names are
agz-rust-mcp-*.
Step-by-step instructions, per-OS notes, checksum verification, and troubleshooting: docs/install.md · Türkçe.
MCP Client Setup
Use the installed executable with any client supporting local stdio MCP. Supply these fields in the client's own server configuration format:
For a client that uses HTTP, start the same binary as a local Streamable HTTP
server and configure http://127.0.0.1:8787/mcp as its MCP URL:
The HTTP listener is loopback-only. It supports the session lifecycle used by
2025-11-25 clients and the stateless 2026-07-28 protocol. Client-side display
prefixes, configuration file locations, and automatic prompt selection belong
to the client; the server depends on none of them. The canonical working
directory is the default authorized root; client-provided roots can only narrow
configured access. See connection details.
Built-in skills
Four offline skills ship inside the executable: agz-rust-workflow,
agz-rust-repair, agz-rust-refactor, and agz-rust-performance.
They are available immediately through all three standard MCP interfaces:
- Tools:
workspace(action="skills")lists the catalog;workspace(action="skills", skill="agz-rust-workflow")reads a skill. - Prompts:
prompts/listandprompts/getexposeworkflow,repair,refactor, andperformance. - Resources:
resources/readexposesagz-rust-mcp://skills/<skill-name>.
A client that only exposes tools can use the complete skill content. Version and
SHA-256 metadata identify the exact bundled instructions. No skill installation
or separate MCP is required. Optional agz-rust-mcp skills export --dir <new-directory>
creates files for clients that also support filesystem skills; existing files
are never overwritten. See built-in skills.
Documentation
Read the documentation in this order:
- Install and client setup - every install method and client configuration.
- Tool and configuration reference - tools, actions, result semantics, and all configuration keys.
- Architecture - process model, protocol lifecycle, and authority boundaries.
- Validation and benchmark protocol - smokes, gates, and evidence.
- Security policy and Contributing.
The bilingual index with the full reading path is docs/README.md / docs/README.tr.md.
Identity
MCP package ownership marker: mcp-name: io.github.agzyazilim/rust-mcp.
Tools
These are the exact server tool names. Use the names returned by tools/list;
a client may display its own namespace or prefix.
Every tool returns deterministic structured data plus an equivalent bounded text
fallback. External data stays under untrustedData. Expected domain outcomes
such as compiler failure, missing crates, or unavailable docs are typed results;
invalid input, authorization failure, resource exhaustion, and unavailable
semantic infrastructure are protocol errors.
Configuration
Precedence is CLI, then AGZ_RUST_MCP_* environment variables, then the
explicit --config TOML file, then defaults. Environment keys use __ between
sections, for example AGZ_RUST_MCP_GATE__HARD_TIMEOUT_MS=600000.
profile evidence is bounded: the latest 64 records stay in memory, and
persisted timing artifacts under the server-owned profile-evidence directory
are pruned after 24 hours or beyond 64 files. The profile result reports this
retention policy, so expired evidence is visible instead of silently reused.
Run agz-rust-mcp --help for every CLI field. The complete behavior and
default table is in docs/tools.md.
Security
The server does not modify workspace source, but it is not an operating-system sandbox. Cargo build scripts, tests, procedural macros, local rustdoc, and opted-in Rust Analyzer workspace code execute with the server user's authority. Use a container or OS sandbox when that boundary is required. Workspace, dependency, cache, lease, journal, docs, and telemetry paths are canonicalized, bounded, and fail closed, and stdout is reserved for MCP framing. Report vulnerabilities privately as described in SECURITY.md.
Links
- Repository: https://github.com/agzyazilim/rust-mcp
- Crate: https://crates.io/crates/agz-rust-mcp
- SDK docs: https://docs.rs/rmcp/3.8.0/rmcp/
- MCP
2025-11-25: https://modelcontextprotocol.io/specification/2025-11-25 - MCP
2026-07-28: https://modelcontextprotocol.io/specification/2026-07-28
License
MIT, Copyright (c) 2026 Ugur Murat Altintas.
来源:README.md,提交 a74794b
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Rust 集成
rust.wiki
wiki.rust官方发布者
rust.wiki 远程端点,为助手提供 Rust 游戏实时数据:物品与皮肤价格、战利品表、遗迹、服务器与市场统计。

Plane (Rust)
由 GitHub 账号 ninerf 发布
非官方单文件 MCP 服务器,让助手读写 Plane 项目管理数据,包括工作项、评论、周期、模块和页面等。

AGZ Rust MCP
由 GitHub 账号 agzyazilim 发布
本地 stdio MCP 服务器,为助手提供 Rust 开发工具:离线工作区检查、编译器诊断、定向测试、Cargo 运行与代码导航。

rust-panosmcp
由 GitHub 账号 mechubsec 发布
面向 Palo Alto Networks PAN-OS 防火墙的 MCP 服务器:只读巡检,以及受范围限制、可审计、需双人审批的配置变更。

rust-proxmoxmcp
由 GitHub 账号 mechubsec 发布
面向多集群的 Proxmox VE MCP 服务器,提供虚拟机保护以及计划、审批、执行三步变更管控。