faf_validate
Validate a .faf and return completeness score + errors/warnings (Rust→WASM, at the edge).
content必填io.github.Wolfe-Jam由 GitHub 帳號 Wolfe-Jam 發布v0.3.1更新於 Oct 24, 2026
Persistent project context — Rust-native MCP server. IANA-registered .faf format.
發布方自己的服務:rust.wiki
Rust 原生的 MCP 伺服器,用於 FAF 專案脈絡檔案:驗證、評分並解析 .faf 檔,讓助理了解專案內容。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.Wolfe-Jam%2Frust-faf-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"rust-faf": {
"type": "http",
"url": "https://mcpaas.live/rust/mcp/v1"
}
}
}Persistent Project Context for Rust MCP clients. Native. Fast. cargo install
⭐ Star it on GitHub: bookmarks it for you, helps other devs find it too.
The Lineage Edition (v0.8.3) — one.faf/rust-faf-mcp · rmcp 3.0.1 (MCP Tier 1 foundation) · faf-rust-sdk 3.1.1 (the same always-33 kernel faf-wasm-sdk uses) · solid cargo-native Rust MCP for Rust devs
v0.8.3 — --version and --help answer instead of starting the server. See CHANGELOG.
FAF defines. AGENTS.md instructs. AI codes.
Stop re-explaining your project to every AI session. One
.faffile holds your persistent project context. Every AI reads it once and knows what you're building.
[Crates.io] [FAF Trophy 100%] [Tests] [IANA] [License] [Business card · Get yours →]
Rust-native MCP (Model Context Protocol) server for FAF — structured AI project context in YAML (application/vnd.faf+yaml). Single binary, stdio transport, 4.3 MB stripped. Built on rmcp and faf-rust-sdk.
Point an MCP client at the pin. A bare rust-faf-mcp on PATH may be an old Homebrew binary.
After cargo install rust-faf-mcp --version 0.8.3, "command": "rust-faf-mcp" is the install. Until you have proven that binary, use the npx pin.
No flags, no config files, no network listener. Pure stdio JSON-RPC.
Or via Homebrew (macOS, pre-built). If you already have it, upgrade — an old keg can sit on PATH as rust-faf-mcp:
faf_auto runs setup if project.faf is missing (tree detection writes mechanical facts), then syncs CLAUDE.md. It does not rewrite an existing file. Confirm setup (sweeps) lists what setup occupied — walk it; not a second write-gate. Empty human slots stay empty until you state them.
What it produces:
Every AI agent reads this once and knows exactly what you're building. No 20-minute onboarding. No wrong assumptions.
Every tool declares MCP annotations: faf_read, faf_score, faf_compress, faf_discover, faf_tokens, faf_dna and faf_git are read-only; the writers are non-destructive; only faf_git reaches the network.
faf_init will not overwrite an existing file. Setup occupies mechanical facts; Confirm setup (sweeps) is the walk. Empty human slots stay empty until faf_go.
tokio single-threaded (current_thread)reqwest async (only used by faf_git for GitHub API)faf-rust-sdk 3.1 (Cargo pin — the facade over faf-kernel/faf-fafb in faf-rust; score() for the always-33 number, validate() for structural checks only)rmcp 3.0.1 with #[tool_router] / #[tool_handler] — JSON-RPC, JSON Schema from the param types, stdio transport (Tier-1 assessed SDK cut)Tools return serde_json::Value. The server adapts them to Result<String, String> for rmcp's IntoCallToolResult.
193 tests (146 integration + 47 unit):
Tests spawn the compiled binary as a subprocess and communicate via stdin/stdout JSON-RPC — true integration tests against the real server.
One format, every AI platform.
Edition: 2024 | LTO: enabled | Strip: symbols
If rust-faf-mcp has been useful, consider starring the repo — it helps others find it.
npmjs.com/package/rust-faf-mcp — npx --yes [email protected] (no Rust toolchain; downloads GH Release binary)
Dual-package publish guide — cargo + npm (this server is the product example)
docs/DUAL-PACKAGE.md — pointer + OIDC docs for this repo
docs/SKILLS-OVER-MCP.md — J1 Agent Skill faf-context (skills/list · digests)
faf-rust-sdk — the parser this depends on
faf.one — FAF home
IANA registration — application/vnd.faf+yaml
MCP Registry name: mcp-name: one.faf/rust-faf-mcp
If you use rust-faf-mcp or the .faf / .fafa formats in research or production, please cite the format papers:
Wolfe, J. (2025). Format-Driven AI Context Architecture: The .faf Standard for Persistent Project Understanding. Zenodo. https://doi.org/10.5281/zenodo.18251362
Wolfe, J. (2026). Why Agents Need a Passport: .fafa — Portable Identity for the Agentic Era. Zenodo. https://doi.org/10.5281/zenodo.21951641
MIT
Built by @wolfe_jam | wolfejam.dev
來源:README.md,提交 de1b8a5
Validate a .faf and return completeness score + errors/warnings (Rust→WASM, at the edge).
content必填Score a .faf — 0-100 completeness (Rust→WASM, at the edge).
content必填Parse a .faf and return its normalized structure (Rust→WASM, at the edge).
content必填已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
wiki.rust官方發布者
rust.wiki 遠端端點,讓助理取得 Rust 遊戲即時資料:物品與造型價格、戰利品表、遺跡、伺服器與市場統計。

由 GitHub 帳號 ninerf 發布
非官方單一執行檔 MCP 伺服器,讓助理讀寫 Plane 專案管理資料,包括工作項目、留言、週期、模組與頁面等。

由 GitHub 帳號 agzyazilim 發布
在本機執行的 Rust 開發 MCP 伺服器,讓助理離線檢視 Cargo 工作區、閱讀原始碼、執行檢查與測試,並解析 crate 文件。

由 GitHub 帳號 mechubsec 發布
針對 Palo Alto Networks PAN-OS 防火牆的 MCP 伺服器:唯讀巡檢,以及受範圍限制、可稽核、需雙人核准的設定變更。

由 GitHub 帳號 mechubsec 發布
面向多叢集的 Proxmox VE MCP 伺服器,提供虛擬機保護以及計畫、核准、套用三步變更管控。
# Rust toolchain (install):cargo install rust-faf-mcp --version 0.8.3
# No Rust (try — downloads GH Release binary for darwin/linux):npx --yes [email protected]# Claude Codeclaude mcp add faf -- npx --yes [email protected]// Cursor, Claude Desktop, Windsurf — any client that reads mcpServers{ "mcpServers": { "faf": { "command": "npx", "args": ["--yes", "[email protected]"] } }}brew updatebrew install Wolfe-Jam/faf/rust-faf-mcp# already installed:brew upgrade Wolfe-Jam/faf/rust-faf-mcpfaf_auto complete━━━━━━━━━━━━━━━━━Score: 0% → 42% (+42) ● GREENSteps: 1. Setup — created project.faf 2. Created CLAUDE.md
Path: /home/user/my-project
Confirm setup (sweeps)Walk these. Detection is already a fact. Not a second write-gate. project.name my-api project.main_language Rust stack.backend Rust# project.faf — your project, machine-readablefaf_version: "3.3"project: name: my-api goal: REST API for user management main_language: Rust version: "0.1.0" license: MITinstant_context: what_building: REST API for user management tech_stack: Rust 2024 key_files: - Cargo.toml - src/main.rs - README.md commands: build: cargo build test: cargo teststack: backend: Rust build: cargosrc/├── main.rs # ~20 lines — tokio entry, rmcp stdio transport├── server.rs # FafServer: #[tool_router], ServerHandler, resources└── tools.rs # Business logic — tools as pure functions returning Valuecargo test # runs all 193
# Full ship bar (same gates as GitHub CI — run before push)bash scripts/ci.sh# Optional: block push on red CI twinbash scripts/install-hooks.shgit clone https://github.com/Wolfe-Jam/rust-faf-mcpcd rust-faf-mcpcargo build --release# Binary at target/release/rust-faf-mcp (about 5 MB)