
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 伺服器,提供虛擬機保護以及計畫、核准、套用三步變更管控。