Repository avatar
Other Tools
v1.2.2
active

faf-mcp

io.github.Wolfe-Jam/faf-mcp

Universal persistent project context server - IANA-registered .FAF format

Documentation

FAF

faf-mcp

IANA-Registered Format for AI Context · application/vnd.faf+yaml

.FAF optimizes AI for your codebase. At 100% (Gold Code), AI stops guessing and starts knowing. Universal MCP server for Cursor, Windsurf, Cline, VS Code, and all MCP-compatible platforms.

Universal version of claude-faf-mcp — Anthropic-approved MCP server, now compatible with all platforms.

NPM Downloads Website License: MIT


The Problem: Context-Drift

AI assistants forget. They misunderstand. They drift.

Every new session, every new file, every new developer — AI starts guessing again. Your codebase context leaks away. Yesterday's perfect assistant becomes today's confused intern.

.FAF fixes this permanently.


The Solution: Gold Code

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆  FAF AI-READINESS SCORE: 100/100 — GOLD CODE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

At 100%, AI is optimized. No more guessing.
Peak AI performance activated.

├─ Project DNA locked in        ├─ Zero context-drift
├─ Architecture understood      ├─ Eternal bi-sync active
├─ Domain model captured        ├─ Team alignment permanent
└─ Every session starts smart   └─ AI works WITH you, not around you

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💎 Lifecycle Value

Setup savings get you started. Lifecycle optimization keeps you ahead.

WhenWithout FAFWith FAF
Day 120 min setup per dev0 min — instant context
Month 1AI forgets between sessionsAI remembers everything
Year 1New devs re-explain everythingNew devs inherit full context
Year 3+Institutional knowledge lostProject DNA preserved forever

Setup savings: 20 minutes. Lifecycle savings: Infinite.


⚡ Quick Start

1. Install:

npm install -g faf-mcp

2. Add to your MCP config:

{"mcpServers": {"faf": {"command": "npx", "args": ["-y", "faf-mcp"]}}}

Platform-Specific Setup

PlatformConfig File
Cursor~/.cursor/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json
ClineCline MCP settings
VS CodeMCP extension config
Claude DesktopUse claude-faf-mcp

🔄 Eternal Bi-Sync

The magic: .fafCLAUDE.md stay synchronized in milliseconds.

project.faf  ←──── 8ms ────→  CLAUDE.md
     │                            │
     └── Single source of truth ──┘
  • Update either file → both stay aligned
  • Zero manual maintenance
  • Works across teams, branches, sessions
  • Context never goes stale

Tier System: From Blind to Optimized

TierScoreStatus
🏆 Trophy100%AI Optimized — Gold Code
🥇 Gold99%+Near-perfect context
🥈 Silver95%+Excellent
🥉 Bronze85%+Production ready
🟢 Green70%+Solid foundation
🟡 Yellow55%+AI flipping coins
🔴 Red<55%AI working blind
🤍 White0%No context at all

At 55%, AI is guessing half the time. At 100%, AI is optimized.


💬 use>faf | Prompt Pattern

Start every prompt with "Use FAF" to invoke MCP tools:

Use FAF to initialize my project
Use FAF to score my AI-readiness
Use FAF to sync my context
Use FAF to enhance my project

Works on all platforms — stops web search, forces tool usage.


🛠️ 17 Native MCP Tools

ToolPurpose
faf_initInitialize project.faf
faf_scoreCheck AI-readiness (0-100%)
faf_syncSync context across platforms
faf_bi_syncBi-directional .faf ↔ CLAUDE.md
faf_enhanceIntelligent enhancement
faf_readParse and validate FAF files
faf_writeCreate/update FAF with validation

Plus CLI fallback with 40+ commands.


🎯 The .FAF Position

  Platform      Context          Protocol
  ────────      ───────          ────────
  Cursor     →   .faf        →    MCP
  Windsurf   →   .faf        →    MCP
  Cline      →   .faf        →    MCP
  VS Code    →   .faf        →    MCP
  Claude     →   .faf        →    MCP
  Any IDE    →   .faf        →    MCP

.FAF is the foundational layer. Universal context format. IANA-registered. Works everywhere.


📦 Ecosystem


📄 License

MIT License — Free and open source


Zero drift. Eternal sync. AI optimized. 🏆

"It's so logical if it didn't exist, AI would have built it itself" — Claude