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)