Skip to main content
Glama

claude-faf-mcp

Расскажите ИИ, что вы создаете, для кого и почему это важно. 30 секунд. 🐘 Он никогда не забудет.

Anthropic MCP CI npm version NPM Downloads License: MIT

FAF определяет. MD инструктирует. ИИ пишет код.

🐘 tri-sync теперь бесплатен для всех разработчиков — .faf ↔ CLAUDE.md ↔ MEMORY.md одной командой. Pro-функция. Теперь бесплатно.

33 инструмента MCP. Формат, зарегистрированный в IANA (application/vnd.faf+yaml). 2346 выполнений тестов на каждый push.


3 «Что» (3Ws) — 3 ответа. И всё.

Каждый великий продукт начинался с 3 ответов на 3 вопроса — Кто (Who), Что (What), Почему (Why):

КТО это для?

ЧТО это делает?

ПОЧЕМУ это создано?

Uber

Людям, которым нужна поездка

Нажми кнопку, машина приедет

Такси работали плохо

Airbnb

Путешественникам, не имеющим денег на отели

Остановись в свободной комнате у кого-то

Существуют миллионы пустых комнат

Slack

Командам, утопающим в email

Организованный групповой чат

Решения теряются в цепочках писем

Venmo

Друзьям, делящим счета

Мгновенная отправка денег

Кто-то всегда забывает вернуть долг

Тот же шаблон. Каждый работающий продукт начинается здесь. .faf фиксирует это:

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 секунд. Claude создает ваш project.faf на основе этого. В каждой последующей сессии ИИ начинает работу «умно».

6 «Что» (6Ws) — для оптимизированного ИИ

3Ws помогут вам начать. Для полной оптимизации ИИ дополните набор — Где (Where), Когда (When), Как (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?

3Ws инициирует проект с ИИ. 6Ws оптимизирует ИИ на 100%. Тот же YAML, тот же файл. Больше примеров → faf.one/ideas


Related MCP server: gemini-faf-mcp

Быстрый старт

Скопируйте и вставьте это в Claude:

Установите сервер FAF MCP: npm install -g claude-faf-mcp, затем добавьте это в мой claude_desktop_config.json: {"mcpServers": {"faf": {"command": "npx", "args": ["-y", "claude-faf-mcp"]}}} и перезапустите Claude Desktop.

Затем расскажите Claude свои 3Ws: "Я создаю [что] для [кого], потому что [почему]"


Как это работает

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 сделает остальное. Минимум усилий, правильный результат с первого раза, быстро, точно, готово. Язык, фреймворк, менеджер пакетов, инструменты сборки — все автоматически определяется из ваших существующих файлов. Человеческий контекст — это та часть, которую можете дать только вы.


Оценка: от «вслепую» до оптимизированного

Уровень

Оценка

Что это значит

🏆 Трофей

100%

Золотой код — ИИ оптимизирован

🥇 Золото

99%+

Почти идеальный контекст

🥈 Серебро

95%+

Отлично

🥉 Бронза

85%+

Готов к продакшену

🟢 Зеленый

70%+

Прочный фундамент

🟡 Желтый

55%+

ИИ гадает на кофейной гуще

🔴 Красный

<55%

ИИ работает вслепую

🤍 Белый

0%

Контекст отсутствует

На 55% ИИ угадывает в половине случаев. На 100% ИИ знает ваш проект. Тот же компилятор, что и в faf-cli — та же оценка везде.


33 инструмента MCP

Все инструменты работают автономно — ноль зависимостей CLI, среднее время выполнения 19 мс.

Создание и обнаружение

Инструмент

Назначение

faf_init

Инициализация ДНК проекта

faf_auto

Автоматическое определение стека и заполнение контекста

faf_quick

Молниеносное создание (3 мс)

faf_readme

Извлечение контекста из README (+25-35% к эффективности)

faf_formats

Обнаружение всех форматов в проекте

faf_git

Извлечение контекста из любого URL репозитория GitHub

faf_human_add

Добавление человеческого контекста (6Ws)

Проверка и оценка

Инструмент

Назначение

faf_score

Оценка готовности ИИ (0-100%) с разбором

faf_check

Проверка структуры .faf

faf_doctor

Диагностика и исправление распространенных проблем

faf_go

Управляемое интервью для получения «Золотого кода»

Синхронизация и сохранение

Инструмент

Назначение

faf_sync

Синхронизация .faf → CLAUDE.md

faf_bi_sync

Двусторонняя синхронизация .faf ↔ CLAUDE.md

faf_tri_sync

Тройная синхронизация .faf ↔ CLAUDE.md ↔ MEMORY.md — Pro-функция, бесплатно для разработчиков 🐘

faf_enhance

Интеллектуальное улучшение

Экспорт и взаимодействие

Инструмент

Назначение

faf_agents

Импорт/экспорт AGENTS.md (OpenAI Codex)

faf_cursor

Импорт/экспорт .cursorrules (Cursor IDE)

faf_gemini

Импорт/экспорт GEMINI.md (Google Gemini)

faf_conductor

Импорт/экспорт директории Conductor

Чтение и запись

Инструмент

Назначение

faf_read

Чтение любого файла

faf_write

Запись любого файла

faf_status

Обзор состояния проекта

faf_debug

Инспекция окружения

faf_about

Что такое .faf?

Полный справочник инструментов →


🐘 Нелли никогда не забывает

bi-sync поддерживает соответствие .faf ↔ CLAUDE.md.

tri-sync добавляет MEMORY.md — ваш ИИ помнит ваш проект на протяжении всех сессий.

bi-sync  = .faf ↔ CLAUDE.md              ← always in sync
tri-sync = .faf ↔ CLAUDE.md ↔ MEMORY.md  ← Nelly never forgets 🐘

Pro-функция, бесплатно для разработчиков. Команды и Enterprise: faf.one/pro (тарифы)


Позиция .FAF

Model        Context          Protocol
─────        ───────          ────────
Claude    →   .faf        →    MCP
Gemini    →   .faf        →    MCP
Codex     →   .faf        →    MCP
Any LLM   →   .faf        →    MCP

Зарегистрировано в IANA (application/vnd.faf+yaml). Работает с любым ИИ. Определите один раз, используйте везде.


Экосистема

Пакет

Платформа

Реестр

claude-faf-mcp (этот)

Claude

npm

faf-cli

Универсальный CLI

npm + Homebrew

gemini-faf-mcp

Google Gemini

PyPI

grok-faf-mcp

xAI Grok

npm

rust-faf-mcp

Rust

crates.io

faf-wasm

Браузер/Edge

npm

Chrome Extension

Браузер

Chrome Web Store

Тот же project.faf. Та же оценка. Тот же результат. Разный уровень исполнения.


Качество

391 тест · 12 наборов · 6 платформ (ubuntu/macos/windows × Node 18/20)

Дашборд CI →


Конфиденциальность

Все работает локально. Никакие данные не покидают ваш компьютер. Никакой аналитики, никакой телеметрии, никакого отслеживания, никаких аккаунтов. Политика конфиденциальности →


Если claude-faf-mcp оказался полезен, подумайте о том, чтобы поставить звезду репозиторию — это помогает другим найти его.


Лицензия

MIT — бесплатно и с открытым исходным кодом


Семья FAF

faf-cli

npx faf-cli init — создание .faf для любого проекта

claude-faf-mcp

MCP-сервер для Claude Desktop

gemini-faf-mcp

MCP-сервер для Gemini CLI

grok-faf-mcp

MCP-сервер для Grok

faf-mcp

MCP-сервер для Cursor, Windsurf, Cline, VS Code

rust-faf-mcp

MCP-сервер на Rust

faf-skills

17 навыков Claude Code

faf.one

Блог, загрузки, документация

Регистрация IANA

application/vnd.faf+yaml

формат | управляемый 🏎️⚡️ wolfejam.dev


Получить CLI

faf-cli — оригинальный CLI для контекста ИИ. Обязателен для каждого разработчика.

npx faf-cli auto

Anthropic MCP #2759 · Зарегистрировано в IANA: application/vnd.faf+yaml · faf.one · npm

Available Tools

14 tools
faf_aboutAbout .fafA
Read-onlyIdempotent
Inspect

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 RepoA
DestructiveIdempotent
Inspect

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 BenchmarkA
Read-onlyIdempotent
Inspect

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 ProjectA
Read-onlyIdempotent
Inspect

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 .fafA
Read-onlyIdempotent
Inspect

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 MemoryA
Destructive
Inspect

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 InterviewA
Destructive
Inspect

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.fafA
Destructive
Inspect

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 MemoryA
Read-onlyIdempotent
Inspect

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 .fafA
Read-onlyIdempotent
Inspect

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 SetupA
Idempotent
Inspect

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.mdA
Idempotent
Inspect

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.mdA
Idempotent
Inspect

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 ReceiptA
Read-onlyIdempotent
Inspect

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

    A4.1/5.0

    Scored across 14 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers