Rust FAF logo

Rust FAF

Rust-native stdio MCP server for creating, scoring, syncing, compressing, and inspecting persistent project context in project.faf.

Install Rust FAF

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "rust-faf": {
      "command": "npx",
      "args": [
        "--yes",
        "rust-faf-mcp@0.8.3"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio rust-faf -- npx --yes rust-faf-mcp@0.8.3

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx --yes rust-faf-mcp@0.8.3

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Rust FAF is a Rust-native MCP server for managing persistent project context in the IANA-registered .faf YAML format. It runs as a single binary over stdio JSON-RPC and exposes tools for creating, reading, scoring, syncing, compressing, and discovering project.faf files. Use it when agents need consistent project context across sessions or when a codebase needs generated CLAUDE.md or AGENTS.md files. Its GitHub authoring tool can fetch public repository metadata, while the other tools work locally.

Use cases

  • Create project.faf context from a repository tree
  • Sync persistent context into CLAUDE.md
  • Generate non-destructive AGENTS.md instructions
  • Compress project context for limited token windows

Key features

  • Rust-native single-binary MCP server
  • Stdio JSON-RPC transport
  • FAF project context creation and scoring
  • Bidirectional project.faf and CLAUDE.md synchronization
  • Token-aware context compression
  • GitHub repository context authoring

Tools12

What Rust FAF lets your agent do. Expand a tool for its parameters.

Verified live~1.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 82d

What it can do

From the 12 tools this server returned when we ran it.

Handles credentials · 2Makes network requests · 1Read-only tools · 12
Network at startup5 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age79 days
Maintainers1

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · rust-faf-mcp@0.8.3 (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
npm downloads961Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed12Callable tools this server registers over MCP.

How Rust FAF works

What Rust FAF does

Rust FAF manages project context stored in a project.faf file, using the Foundational AI-context Format (FAF) in YAML. The file can hold project identity, goals, language, stack details, key files, commands, and other context that AI agents can read consistently across sessions.

The server provides MCP tools for creating context from a project tree, reading and scoring an existing file, finding the nearest file from a path, and maintaining generated instruction files. It can also compress FAF content for smaller context windows, estimate token counts, and display the project's FAF DNA history from .faf-dna.

How it works

The executable communicates with MCP clients through stdin and stdout using JSON-RPC. It does not open an HTTP listener and does not require a configuration file or command-line flags for normal operation. The implementation uses the Rust rmcp SDK and faf-rust-sdk.

faf_init creates project.faf from detected project-tree facts and refuses to overwrite an existing file. faf_auto performs setup when the file is absent, synchronizes CLAUDE.md, and returns a score. Mechanical detection does not fill those human fields automatically.

Most operations are local and read-only or non-destructive. faf_sync keeps project.faf and CLAUDE.md aligned, while faf_agents generates or updates the FAF-managed portion of AGENTS.md without removing handwritten content outside that block. faf_git is the network-enabled exception: it uses the public GitHub API to create FAF text from a repository URL without cloning the repository.

Setup and configuration

Install the binary from crates.io with:

bash
cargo install rust-faf-mcp

A Homebrew package is also available for macOS:

bash
brew install Wolfe-Jam/faf/rust-faf-mcp

Register the installed command with an MCP client that accepts stdio servers. For clients using an mcpServers configuration, the command can be represented as:

config.json
{
  "mcpServers": {
    "faf": {
      "command": "rust-faf-mcp"
    }
  }
}

The server has no required environment variables. After registration, call faf_auto for setup or faf_init when an explicit first-write operation is preferred.

Tools and capabilities

  • faf_auto: Set up a missing file, synchronize CLAUDE.md, and score the result.
  • faf_init: Create project.faf from detected tree information without overwriting.
  • faf_go: Review the FAF table and add human context for the six scoring questions.
  • faf_git: Build project context from a public GitHub repository URL.
  • faf_discover: Locate the nearest project.faf by walking upward from a path.
  • faf_read: Parse and display the FAF file.
  • faf_score: Return an AI-readiness score with field-level detail and suggestions.
  • faf_sync and faf_agents: Maintain CLAUDE.md and AGENTS.md from project context.
  • faf_compress and faf_tokens: Produce reduced context levels and estimate their token counts.
  • faf_dna: Show FAF lineage and recorded growth from .faf-dna.

Compression supports minimal, standard, and full levels. The tools expose MCP annotations identifying read-only operations and non-destructive writers.

Limitations and notes

Setup detects mechanical facts but leaves human 6W fields empty until they are supplied through faf_go. Existing project.faf content is preserved by automatic setup. Only faf_git reaches the network; the remaining workflows operate on local project files. The server is designed for stdio transport rather than a network-accessible HTTP deployment.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Rust FAF

Rust FAF is an MCP server that connects AI clients to persistent project context stored in project.faf YAML files. Its main tools create, read, score, discover, sync, compress, and generate instruction files from that context, with an additional tool for authoring context from public GitHub repository metadata.

Install it with `cargo install rust-faf-mcp` or use the Homebrew package `Wolfe-Jam/faf/rust-faf-mcp` on macOS. Then register the `rust-faf-mcp` executable as a stdio MCP server in your client.

Yes, Rust FAF works with Cursor through its `mcpServers` configuration. Set the server command to `rust-faf-mcp`, or configure an equivalent command that starts the binary over stdio.

No, `faf_init` refuses to overwrite an existing `project.faf`, and `faf_auto` leaves an existing file unchanged during setup. Synchronization tools update their managed outputs while preserving the documented non-destructive behavior.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRust FAF AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rust-faf?style=directory)](https://allmcps.com/mcp/rust-faf)
HTML Embed
<a href="https://allmcps.com/mcp/rust-faf"><img src="https://allmcps.com/api/badge/rust-faf?style=directory" alt="Rust FAF on AllMCPs" /></a>