AgentStack
MCP verified MIT Self-run

Faf Crate

mcp-wolfe-jam-faf-crate · by Wolfe-Jam

Persistent Project Context for Rust — IANA-registered .faf format · cargo add faf meta-crate

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add mcp-wolfe-jam-faf-crate

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution Used

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-wolfe-jam-faf-crate)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Faf Crate? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

faf

Persistent Project Context for Rust. cargo add faf and you're in.

FAF defines. MD instructs. AI codes.

One crate, full ecosystem. Parse, validate, compile, and broadcast .faf files in Rust.

FAF (Foundational AI-context Format) is the IANA-registered format for persistent AI project context (application/vnd.faf+yaml). This meta-crate re-exports everything you need.

Install

cargo add faf

With Radio Protocol + Axum middleware:

cargo add faf --features radio,axum

Quick Start

use faf::{parse, binary};

let yaml = std::fs::read_to_string("project.faf")?;

// Parse
let doc = parse(&yaml)?;
println!("{} — {}% AI-ready", doc.project_name(), doc.score().unwrap_or(0));

// Compile to FAFb binary
let fafb = binary::compile(&yaml)?;
println!("{} bytes YAML → {} bytes FAFb", yaml.len(), fafb.len());

Feature Flags

| Feature | Default | Crate | What you get | |---------|---------|-------|--------------| | sdk | yes | faf-rust-sdk | Parse, validate, compile, FAFb binary format | | radio | no | faf-radio-rust | Radio Protocol — broadcast AI context via WebSocket | | axum | no | faf-rust-sdk/axum | FafContext extractor + FafLayer middleware |

Radio Protocol

Broadcast AI context once, every tool receives:

use faf::faf_radio_rust::{RadioClient, RadioConfig};

let mut client = RadioClient::new(RadioConfig::grok());
client.connect().await?;
client.tune(vec!["91.0".into()]).await?;

// Broadcast metadata on a frequency
client.broadcast("91.0", serde_json::json!({
    "type": "fafb",
    "project": "my-app",
    "size": 220,
})).await?;

Axum Middleware

Inject .faf project context into every request:

use faf::{FafLayer, FafContext};

let app = Router::new()
    .route("/", get(handler))
    .layer(FafLayer::discover());

async fn handler(faf: FafContext) -> String {
    format!("Project: {}", faf.project_name())
}

Ecosystem

| Crate | Version | What | |-------|---------|------| | faf | 0.3.0 | This meta-crate | | faf-rust-sdk | 1.3.0 | Core SDK — parse, validate, compile, FAFb | | faf-radio-rust | 0.2.0 | Radio Protocol client | | rust-faf-mcp | 0.1.0 | MCP server for .faf |

Also available in TypeScript, Python, and Zig.

If faf has been useful, consider starring the repo — it helps others find it.

Links

License

MIT


Built by Wolfe James | faf.one

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.