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)