.FAF Context
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
| experimental | {
"io.modelcontextprotocol/skills": {}
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| faf_aboutA | Explain what the .faf format is — the IANA-registered, portable context file (application/vnd.faf+yaml) that gives any AI instant project understanding. Returns a plain-language overview of the format and its purpose. Use this when you or the user are new to FAF and want the concept before running other tools. |
| faf_scoreA | Calculate a project.faf AI-readiness score (0-100%) from the populated context slots. Returns the percentage and tier, and with details a slot-by-slot breakdown with improvement suggestions. Use this to measure how complete the AI context is and what to fill next. |
| faf_initA | Create a project.faf for a project, making it instantly AI-readable. Returns the new file location and starting score. Accepts a path or bare project name (e.g. ~/Projects/my-app, my-app) and omitting it uses the current directory. |
| faf_trustB | Validate a project.faf's required fields (faf_version, project.name) and about.* block with faf-cli's validator, and report its real score. |
| faf_syncA | Reconcile project.faf with what the repo manifests say now (package.json name, description, framework dependencies). Dry-run by default: reports the fields that would change. Pass apply:true to write them into project.faf. Does not touch CLAUDE.md — use faf_claude for CLAUDE.md, AGENTS.md, .cursorrules and GEMINI.md. |
| faf_claudeA | Write CLAUDE.md from project.faf (one direction: .faf → CLAUDE.md) and, with the format flags or all, also AGENTS.md, .cursorrules and GEMINI.md. Content outside the faf-managed block is preserved. Returns the files written. Use this to keep every AI tool's context file current from one source. (Named faf_bi_sync before 3.0.1; that name still works.) |
| faf_checkA | Inspect the human_context fields and rate each empty/generic/good. Returns the ratings; with protect it records the good fields in _protected_fields as an advisory list (other tools do not enforce it), with unlock it clears that list. Use this to gauge context quality. |
| faf_contextA | Set or show the active project path that later faf_ project tools resolve against (faf_read and faf_write resolve relative paths against the server's working directory instead). Returns the current context path. Call this once at the start of a session so the project tools target the right project. |
| faf_goA | Drive a project.faf to 100% through a guided interview — returns the next questions for the missing human-context and goal fields, then applies the answers passed back. Returns the updated score after each round. Use this to close the gap to a complete context when auto-detection cannot fill the human slots. |
| faf_autoA | Run the setup pipeline in one call — init or merge, stack detection, CLAUDE.md, and score — taking a project from no context to a scored project.faf plus CLAUDE.md; faf_go closes the human slots. Returns the final AI-readiness score and what was created. Use this as the fast path on a fresh project; use the individual tools when you need finer control. |
| faf_doctorA | Diagnose a project.faf setup — report missing files, the real score with populated/active slot counts, and common configuration issues, each with a fix. Returns a checklist. Use this when your score is low and you need to know why. |
| faf_agentsA | Import AGENTS.md (the OpenAI/Codex convention) into project.faf, or write it from project.faf. Returns the merged or written result for the chosen action. Use this to keep a Codex/OpenAI-style AGENTS.md and your .faf in agreement from one source. |
| faf_cursorA | Import .cursorrules (the Cursor IDE convention) into project.faf, or write it from project.faf. Returns the merged or written result for the chosen action. Use this to keep Cursor rules and your .faf in agreement from one source. |
| faf_geminiA | Import GEMINI.md (the Google Gemini CLI convention) into project.faf, or write it from project.faf. Returns the merged or written result for the chosen action. Use this to keep a Gemini context file and your .faf in agreement from one source. |
| faf_gitA | Author a project.faf from any public GitHub repository URL — fetches the repo and extracts its stack and context. Returns the authored .faf. Use this to bootstrap context for a project you have the URL for but not cloned locally. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Current FAF Context | Current project FAF context and metadata |
| FAF Status Summary | Project health and AI readiness status |
| Current FAF Context (legacy alias) | Alias for faf://context — kept for one release, prefer faf://context. |
| FAF Status Summary (legacy alias) | Alias for faf://status — kept for one release, prefer faf://status. |
| FAF Working Directory | File system access for FAF operations |
| SKILL.md | Agent Skill document (FAF IDE product context) |
TDQS
Scored across 15 tools
Several tools overlap in function: faf_score, faf_check, faf_doctor, and faf_trust all inspect the .faf and report status, so an agent could misselect among them. Worse, faf_claude (with format flags/all) writes AGENTS.md, .cursorrules, and GEMINI.md — duplicating the write direction of faf_agents, faf_cursor, and faf_gemini. The detailed cross-referencing descriptions mitigate this, but the boundaries are genuinely fuzzy.
Every tool uses a consistent faf_ snake_case prefix, which is highly predictable. The suffixes mix verbs (init, score, check, sync) with target-resource nouns (claude, cursor, gemini, agents, git), a minor stylistic deviation but still readable and coherent.
15 tools is within the reasonable upper range for a multi-format context manager. However, the four platform-specific tools (claude, cursor, gemini, agents) are near-duplicates of one parameterized operation, suggesting the set is slightly heavier than necessary.
Coverage spans creation (init, auto, git), evaluation (score, check, doctor, trust), updating (sync, go), and import/export across AI formats, which is solid lifecycle coverage. The gap is that faf_context's description references faf_read and faf_write tools that are absent from the surface, leaving no direct raw read/write operation.