claude-faf-mcp
claude-faf-mcp
Dile a la IA qué estás construyendo, para quién es y por qué es importante. 30 segundos. 🐘 Nunca olvida.
FAF define. MD instruye. IA programa.
🐘 tri-sync ahora gratis para todos los desarrolladores —
.faf↔CLAUDE.md↔MEMORY.mden un solo comando. Función Pro. Ahora gratis.
33 herramientas MCP. Formato registrado en IANA (application/vnd.faf+yaml). 2,346 ejecuciones de prueba por cada push.
Las 3Ws — 3 Respuestas. Eso es todo.
Todo gran producto comenzó con 3 respuestas a las 3Ws — Quién (Who), Qué (What), Por qué (Why):
¿PARA QUIÉN es? | ¿QUÉ hace? | ¿POR QUÉ construirlo? | |
Uber | Personas que necesitan transporte | Toca un botón, llega un coche | Los taxis no funcionaban bien |
Airbnb | Viajeros que no pueden pagar hoteles | Hospédate en la habitación libre de alguien | Existen millones de habitaciones vacías |
Slack | Equipos ahogados en correos electrónicos | Mensajería grupal organizada | Decisiones enterradas en hilos |
Venmo | Amigos dividiendo cuentas | Envía dinero al instante | Alguien siempre olvida pagar |
El mismo patrón. Todo producto que funciona comienza aquí. .faf lo captura:
human_context:
who: "people who need a ride across town"
what: "tap a button, car arrives in minutes"
why: "taxis are slow, expensive, and hard to find"30 segundos. Claude construye tu project.faf a partir de esto. En cada sesión posterior, la IA comienza de forma inteligente.
Las 6Ws — Para una IA optimizada
Las 3Ws te ayudan a empezar. Para una IA totalmente optimizada, completa el conjunto — Dónde (Where), Cuándo (When), Cómo (How):
where: "mobile app, iOS and Android" # where does it live?
when: "launch in 3 months" # when is it shipping?
how: "GPS matching, real-time pricing" # how does it work?Las 3Ws inician el proyecto con la IA. Las 6Ws optimizan la IA al 100%. Mismo YAML, mismo archivo. Más ejemplos → faf.one/ideas
Related MCP server: gemini-faf-mcp
Inicio rápido
Copia y pega esto en Claude:
Instala el servidor FAF MCP:
npm install -g claude-faf-mcp, luego añade esto a mi claude_desktop_config.json:{"mcpServers": {"faf": {"command": "npx", "args": ["-y", "claude-faf-mcp"]}}}y reinicia Claude Desktop.
Luego dile a Claude tus 3Ws: "Estoy construyendo [qué] para [quién] porque [por qué]"
Cómo funciona
You → 3 answers → project.faf → AI reads it → every session → forever
project.faf ←── 8ms ──→ CLAUDE.md (bi-sync, free)
project.faf ←── 8ms ──→ MEMORY.md (tri-sync, Pro 🐘)Claude hace el resto. Cero esfuerzo, correcto a la primera, rápido, preciso, hecho. Lenguaje, framework, gestor de paquetes, herramientas de compilación: todo detectado automáticamente de tus archivos existentes. El contexto humano es la parte que solo tú puedes aportar.
Puntuación: De ciega a optimizada
Nivel | Puntuación | Qué significa |
🏆 Trofeo | 100% | Código de oro — IA optimizada |
🥇 Oro | 99%+ | Contexto casi perfecto |
🥈 Plata | 95%+ | Excelente |
🥉 Bronce | 85%+ | Listo para producción |
🟢 Verde | 70%+ | Base sólida |
🟡 Amarillo | 55%+ | IA lanzando monedas |
🔴 Rojo | <55% | IA trabajando a ciegas |
🤍 Blanco | 0% | Sin contexto alguno |
Al 55%, la IA adivina la mitad de las veces. Al 100%, la IA conoce tu proyecto. Mismo compilador que faf-cli — misma puntuación en todas partes.
33 Herramientas MCP
Todas las herramientas se ejecutan de forma independiente — cero dependencias de CLI, 19ms de ejecución promedio.
Crear y Detectar
Herramienta | Propósito |
| Inicializar el ADN del proyecto |
| Autodetectar stack y completar contexto |
| Creación ultrarrápida (3ms) |
| Extraer contexto del README (+25-35% de mejora) |
| Descubrir todos los formatos en tu proyecto |
| Extraer contexto de cualquier URL de repositorio de GitHub |
| Añadir contexto humano (las 6Ws) |
Validar y Puntuar
Herramienta | Propósito |
| Puntuación de preparación para IA (0-100%) con desglose |
| Validar estructura .faf |
| Diagnosticar y corregir problemas comunes |
| Entrevista guiada hacia el Código de Oro |
Sincronizar y Persistir
Herramienta | Propósito |
| Sincronizar .faf → CLAUDE.md |
| .faf ↔ CLAUDE.md bidireccional |
| Tri-sync .faf ↔ CLAUDE.md ↔ MEMORY.md — Función Pro, gratis para desarrolladores 🐘 |
| Mejora inteligente |
Exportar e Interoperar
Herramienta | Propósito |
| Importar/exportar AGENTS.md (OpenAI Codex) |
| Importar/exportar .cursorrules (Cursor IDE) |
| Importar/exportar GEMINI.md (Google Gemini) |
| Importar/exportar directorio Conductor |
Leer y Escribir
Herramienta | Propósito |
| Leer cualquier archivo |
| Escribir cualquier archivo |
| Resumen del estado del proyecto |
| Inspección del entorno |
| ¿Qué es .faf? |
Referencia completa de herramientas →
🐘 Nelly nunca olvida
bi-sync mantiene alineados .faf ↔ CLAUDE.md.
tri-sync añade MEMORY.md — tu IA recuerda tu proyecto en cada sesión.
bi-sync = .faf ↔ CLAUDE.md ← always in sync
tri-sync = .faf ↔ CLAUDE.md ↔ MEMORY.md ← Nelly never forgets 🐘Función Pro, gratis para desarrolladores. Equipos y Empresas: faf.one/pro (planes)
La posición de .FAF
Model Context Protocol
───── ─────── ────────
Claude → .faf → MCP
Gemini → .faf → MCP
Codex → .faf → MCP
Any LLM → .faf → MCPRegistrado en IANA (application/vnd.faf+yaml). Funciona con cualquier IA. Define una vez, usa en todas partes.
Ecosistema
Paquete | Plataforma | Registro |
claude-faf-mcp (este) | Claude | npm |
CLI Universal | npm + Homebrew | |
Google Gemini | PyPI | |
xAI Grok | npm | |
Rust | crates.io | |
Navegador/Edge | npm | |
Navegador | Chrome Web Store |
Mismo project.faf. Misma puntuación. Mismo resultado. Diferente capa de ejecución.
Calidad
391 pruebas · 12 suites · 6 plataformas (ubuntu/macos/windows × Node 18/20)
Privacidad
Todo se ejecuta localmente. Ningún dato sale de tu máquina. Sin analíticas, sin telemetría, sin seguimiento, sin cuentas. Política de privacidad →
Si claude-faf-mcp te ha sido útil, considera marcar el repositorio con una estrella — ayuda a otros a encontrarlo.
Licencia
MIT — Libre y de código abierto
Familia FAF
| |
Servidor MCP para Claude Desktop | |
Servidor MCP para Gemini CLI | |
Servidor MCP para Grok | |
Servidor MCP para Cursor, Windsurf, Cline, VS Code | |
Servidor MCP en Rust | |
17 habilidades de Claude Code | |
Blog, descargas, docs | |
|
formato | impulsado 🏎️⚡️ wolfejam.dev
Obtén la CLI
faf-cli — La CLI de contexto de IA original. Imprescindible para todo desarrollador.
npx faf-cli autoAnthropic MCP #2759 · Registrado en IANA: application/vnd.faf+yaml · faf.one · npm
Available Tools
14 toolsfaf_aboutAbout .fafARead-onlyIdempotentInspect
Explain what the .faf format is — project context for AI, IANA-registered as application/vnd.faf+yaml — and how this server uses it. Returns a short plain-text overview with this server's version. Reads nothing and writes nothing. Use it when someone asks what FAF is.
Inputs: no named parameters.
faf_autoFill from the RepoADestructiveIdempotentInspect
Create /project.faf, or fill the empty slots of the one there, with faf-cli's detection over the repo's own files (package.json, Cargo.toml, pyproject.toml, go.mod…) — no hardcoded defaults. A value already there is kept. A typed None or placeholder word is an empty slot: in a tech slot the app-type uses, only a repo fact replaces it (with no fact it stays as typed); in a tech slot the app-type leaves out, faf_auto writes slotignored; in a 6W it stays as typed (faf_go asks). Every value it changes is listed. Then writes CLAUDE.md's faf-managed block. Returns what was filled and faf-cli's score before and after. faf_go does the human 6Ws.
Inputs: path.
faf_benchGrounding BenchmarkARead-onlyIdempotentInspect
Prove the .faf earns its place — measure how much the context is worth, on THIS repo, falsifiably. Questions derive from the project.faf's own populated slots (the .faf is the answer key), so grading is mechanical — no judge, no rubric. action=questions returns the answer-key-safe question set; action=grade takes your answers WITHOUT the .faf (cold) and WITH it (faf), grades both, and returns the cold→with-faf lift with a receipt hash. The delta is the product; the cold number belongs to the absence of context, never to FAF. Reads only.
Inputs: faf, cold, path, model, +3 more. Returns: Question set (action=questions) or the cold→with-faf grading and its receipt (a…
faf_contextActive ProjectARead-onlyIdempotentInspect
Show the active project — the folder every faf_* call without a path uses — and the .faf there; pass path to make another folder the active project (your home folder and the filesystem root are refused). detail: true also returns the .faf's text. Writes no file. Call it once at the start of a session.
Inputs: path, detail. Returns: The active project context and whether a project.faf lives there.
faf_doctorDiagnose .fafARead-onlyIdempotentInspect
Diagnose the project's .faf: faf-cli's validateFaf errors, faf-cli's score with every empty slot and the tool that fills it (faf_auto from the repo, faf_go for the 6Ws), whether CLAUDE.md is there, and the formats faf-cli finds in the folder. Returns a checklist of findings, each with its fix. Reads only. Use it when faf_score is below 100%.
Inputs: path. Returns: Health check: an overall verdict plus per-check diagnostics with fixes.
faf_etchEtch MemoryADestructiveInspect
Remember a decision, gotcha, or win across sessions by writing it to the project soul (soul.fafm) with faf-cli's Soul. Returns the stored memory and the soul's size. Re-etching an id updates that memory in place. Use it to persist something an AI should recall later; faf_recall reads them back.
Inputs: text (required), id, path, tags, +2 more. Returns: The etched fact + soul state.
faf_goGuided InterviewADestructiveInspect
The human half of project.faf. Without answers it returns the Table-of-8 — project name, goal and the 6Ws (who, what, why, where, when, how) — each filled, seeded from the goal, or empty, with faf-cli's score and, for each slot still empty, whether it is a fact from repo (faf_auto writes it: its dry run, the one faf_formats shows) or needs an answer here. An empty goal or W carries faf-cli's suggestion from the repo with its source, for the user to confirm. With answers (slot path → the text the user confirmed, e.g. {"human_context.why": ""}) it writes them into /project.faf in place and returns the new score; a value already in a slot you answer is replaced. With no project.faf yet it runs faf_init and faf_auto first. faf_auto writes each fact from repo; a stack slot with no fact in repo is answered here.
Inputs: path, answers.
faf_initCreate project.fafADestructiveInspect
Create a new project.faf for a folder: faf-cli detects its name, language and stack, and the reply gives the file path, faf-cli's starting score and the birth .faf-dna. An existing project.faf is left as it is — use faf_auto to fill its empty slots from your manifests, or faf_go for the human 6Ws. force: true replaces an existing project.faf with a fresh one, after copying the old file to a backup beside it.
Inputs: path, force.
faf_recallRecall MemoryARead-onlyIdempotentInspect
Recall memories from the project soul (soul.fafm), ranked by priority then recency, filtered by query/tags/type. Returns the matching entries. Reads only. Use it to surface past decisions; faf_etch adds new ones.
Inputs: path, tags, type, limit, +2 more. Returns: Ranked memories from the soul.
faf_scoreScore .fafARead-onlyIdempotentInspect
Score the project's .faf with faf-cli's scorer — the one score every faf tool reports: 0–100%, the tier, populated/active slots, and a faf-parity/v1 hash of the result. details: true lists every slot as populated, empty or slotignored. Reads only. Use faf_doctor for what to fix.
Inputs: path, details. Returns: Structured AI-readiness score, single-sourced from faf-cli.
faf_setupSession Hook SetupAIdempotentInspect
Install the native SessionStart hook in the project settings (/.claude/settings.json) — every Claude Code session in this project starts with fresh .faf context. Shows the exact settings first (preview); writes only with confirm: true, install or remove. faf changes only its own hook entry; every other key and hook stays as written. remove: true takes out only the hook whose command is exactly the faf hook command. Never writes the user settings: the home folder is refused.
Inputs: path, remove, confirm. Returns: Setup result: what happened (or would happen) to .claude/settings.json.
faf_syncSync .faf to CLAUDE.mdAIdempotentInspect
Write project.faf into CLAUDE.md as a faf-managed block (faf-cli's render and injector), and on request into AGENTS.md (agents), .cursorrules (cursor), GEMINI.md (gemini) and .github/copilot-instructions.md (copilot) — or all of them (all) — with faf-cli's writers. Each file keeps every line outside faf's block. Returns the files written and any requested file that could not be written, with the reason (then isError). Use it after editing project.faf.
Inputs: all, path, agents, cursor, +2 more. Returns: The files faf_sync wrote, and each requested file it could not write.
faf_tri_syncTri-Sync to MEMORY.mdAIdempotentInspect
Write project.faf as a faf-managed block into the MEMORY.md Claude Code loads for this project (~/.claude/projects//memory/MEMORY.md, or under CLAUDE_CONFIG_DIR). Only the block changes; every note of Claude's is kept, and the reply says so only after reading the file back. action: status reads only. faf_sync writes CLAUDE.md.
Inputs: path, action.
faf_trustTrust ReceiptARead-onlyIdempotentInspect
Attest the project's .faf: faf-cli's validateFaf, faf-cli's score, and a faf-parity/v1 hash (claude-faf-mcp's own spec) of that score that anyone can check with sha256(projection) === parityHash. Returns a trust receipt whose subject is the project. An invalid .faf, or a score that is unknown, gets no receipt (isError). Reads only.
Inputs: path. Returns: Trust attestation: faf-cli's validity and score, and a faf-parity/v1 receipt.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have sharply distinct purposes (init=create, auto=fill from repo, go=human 6Ws, sync=CLAUDE.md, tri_sync=MEMORY.md, etch/recall=memory), and the descriptions explicitly cross-reference and disambiguate. The weak spot is the read-only score cluster — faf_score, faf_doctor, faf_trust, and faf_bench all report a score/hash, and an agent must parse dense prose to decide which to call.
Every tool follows the same faf_<short_verb_or_noun> snake_case pattern with no casing or prefix deviations. The suffixes (init, auto, go, score, sync, tri_sync, etch, recall) are readable and predictable.
14 tools sit comfortably in the ideal range for a CLI-backed project-context server. Each maps to a real, named step in the .faf lifecycle, and none look like filler.
The surface covers the full lifecycle: create, fill (machine and human), validate/score, attest, render to five target files, install a session hook, benchmark value, and persist/recall memory. Minor gaps: no way to delete a .faf or 'forget' an etched memory (etch updates but never removes), and no multi-project listing beyond faf_context.
Maintenance
Related MCP Connectors
Persistent project context for xAI Grok. IANA-registered .faf format.
Persistent project context — Rust-native MCP server. IANA-registered .faf format.
Share one project context across ChatGPT, Claude, Telegram and any MCP client.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIntegration project for Model Context Protocol (MCP) servers with Claude Desktop App, enabling filesystem operations, development support, and file management through natural language.MIT
- AlicenseAqualityBmaintenancePersistent project context for Google Gemini. 12 MCP tools for .faf Project DNA — auto-detect your stack, validate, score, and sync across CLAUDE.md, GEMINI.md, and AGENTS.md. Python/FastMCP. IANA-registered format (application/vnd.faf+yaml). 183 tests. One file, every AI platform.132MIT
- AlicenseNot gradedqualityBmaintenancePersistent project context in Rust. 8 MCP tools via rmcp SDK — parse, validate, score, compress, discover, and token analysis. Single binary, zero config. IANA-registered format (application/vnd.faf+yaml). One file, every AI platform.285 npm5MIT
- AlicenseBqualityBmaintenanceGrok asked for MCP on a URL. This is it. First MCP server built for Grok URL-based • Zero config • Just works12431 npm19MIT