faf_agents
Author AGENTS.md from project.faf. Non-destructive: preserves any hand-written content outside the faf-managed block.
pathone.faf由 faf.one 發布v0.9.0更新於 Nov 7, 2026
Persistent project context — Rust-native MCP server. IANA-registered .faf format.
發布方自己的服務:rust.wiki
本機 MCP 伺服器,用來建立、評分並同步 project.faf 專案脈絡檔,讓 AI 助理不必反覆重新了解專案。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
參照 儲存庫 中的啟動說明。
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 Your-Files-Stay-Yours Edition (v0.9.0) — 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.9.0 — faf_sync keeps your hand-written CLAUDE.md, refuses what it can't write safely, and says so. 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.9.0, "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.
223 tests (152 integration + 71 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,提交 1f4f8a7
Author AGENTS.md from project.faf. Non-destructive: preserves any hand-written content outside the faf-managed block.
pathSetup if missing, sync CLAUDE.md, score. Existing project.faf unchanged. Returns Confirm setup (sweeps). Does not invent 6Ws. Use faf_go for the human card.
pathCompress project.faf for token-limited contexts. Levels: minimal (names only), standard (names + goals), full (everything minus extras).
pathlevelFind the nearest project.faf by walking up the directory tree from the given path.
pathShow your FAF DNA journey from .faf-dna: Birth DNA to now (e.g. 22% → 85% → 99%), with history. Reads only; faf_init births the lineage, faf_auto records growth.
pathAuthor a project.faf from a GitHub repository URL. Fetches repo metadata and creates AI context instantly. Calls the public GitHub API (no auth). Returns the project.faf text; writes nothing.
url必填Table-of-8 plus Confirm setup (sweeps). 6Ws need ☑ to score. Suggestions from the goal (beats only) are not typed and not scored. Below 100 run this to add Human Context. After 100, courtesy: Time to check your Context.
pathanswersinterval_daysSetup: first write of project.faf from the tree. Will not overwrite. Returns Confirm setup (sweeps). App-type assigns slotignored. Human 6Ws stay empty. Use faf_go to state them.
pathRead and display the project.faf file contents with parsed structure.
pathScore the AI-readiness of a project.faf file (0-100%). Shows breakdown and suggestions.
pathWrite CLAUDE.md from project.faf. Updates faf's own section and keeps everything else in the file.
pathEstimate token count for project.faf at each compression level. Shows minimal/standard/full token counts.
path已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
wiki.rust官方發布者
rust.wiki 遠端端點,讓助理取得 Rust 遊戲即時資料:物品與造型價格、戰利品表、遺跡、伺服器與市場統計。

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

由 GitHub 帳號 agzyazilim 發布
本機 stdio MCP 伺服器,為助理提供 Rust 開發工具:離線工作區檢視、編譯器診斷、指定測試、Cargo 執行與程式碼導覽。

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

由 GitHub 帳號 mechubsec 發布
面向多叢集的 Proxmox VE MCP 伺服器,提供虛擬機保護以及計畫、核准、套用三步變更管控。
# Rust toolchain (install):cargo install rust-faf-mcp --version 0.9.0
# 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 223
# 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)