Gemini FAF logo

Gemini FAF

MCP tools for reading, validating, scoring, generating, and migrating persistent project context in .faf files for Gemini.

Install Gemini FAF

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gemini-faf": {
      "command": "uvx",
      "args": [
        "gemini-faf-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Gemini FAF MCP server connects Google Gemini to structured `.faf` project-context files containing project details, stack information, preferences, and scoring data. Its 13 MCP tools can discover, read, validate, score, initialize, auto-detect, migrate, and rewrite FAF files, as well as generate `GEMINI.md` and `AGENTS.md`. Use it when Gemini needs repeatable project context across sessions or when one FAF source should produce guidance files for multiple coding agents. It runs locally over stdio through `uvx` or pip, with Streamable HTTP support for hosted deployments such as Cloud Run.

Use cases

  • Load project architecture and conventions into Gemini sessions
  • Validate and score a project.faf file
  • Detect a repository stack from manifests and build files
  • Generate GEMINI.md and AGENTS.md guidance
  • Migrate older FAF files to the current structure

Key features

  • Reads and discovers project.faf files
  • Validates and scores 33 FAF slots
  • Auto-detects stacks from repository files
  • Generates managed GEMINI.md and AGENTS.md blocks
  • Migrates FAF structure with dry-run support
  • Provides project-type reference templates

Tools13

What Gemini FAF lets your agent do. Expand a tool for its parameters.

Verified live~1.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 77d

What it can do

From the 13 tools this server returned when we ran it; 13 declare their own safety hints.

Can delete or modify data · 1Read-only tools · 12
Network at startup2 connections
Files written at startup11

Observed 2026-10-29 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · gemini-faf-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit9d agoMost recent push to the default branch.
Tools exposed13Callable tools this server registers over MCP.

How Gemini FAF works

What Gemini FAF MCP server does

Gemini FAF MCP server gives Google Gemini access to project context stored in a project.faf YAML file. The FAF format records project information, languages and frameworks, commands, human context, instructions, and other structured values used to describe a codebase. The server exposes this information through MCP rather than requiring the context to be re-entered in each conversation.

It also acts as a maintenance and export layer for FAF files. Gemini can create a starter file, inspect its quality score, identify validation problems, fill empty values from repository files, migrate older structure, and render agent-specific instruction files. Generated GEMINI.md and AGENTS.md content is inserted into managed blocks so existing hand-written content remains intact.

How it works

The server operates on files within the project root or configured allowed roots. faf_discover searches from a starting directory and walks toward parent directories to find project.faf; faf_read then returns the parsed structure. For a smaller session-start payload, faf_context returns the project, stack, instructions, and score sections instead of the complete document.

Validation reports a score, tier, errors, and warnings. faf_score provides a faster status check using the always-33 scoring engine. faf_auto examines repository manifests and supporting files such as Docker Compose definitions, Makefiles, justfiles, and GitHub workflow configuration to infer stack and command information. It creates a file when none exists or fills empty slots in an existing one.

The local command uses stdio transport. The project also supports Streamable HTTP for hosted operation, including Cloud Run deployments. The tools are annotated according to their behavior: reads do not modify files, while write operations either create, fill, preserve existing text, or deliberately reserialize a file during migration.

Setup and configuration

Install with either of these commands:

bash
uvx gemini-faf-mcp
pip3 install gemini-faf-mcp

For Gemini CLI, install the extension from the repository:

bash
gemini extensions install https://github.com/Wolfe-Jam/gemini-faf-mcp

After installation, run /faf:setup in Gemini CLI to create a starter project.faf and score it. You can then ask Gemini to populate the file from the repository, or invoke the auto-detection workflow directly. /faf:score reports remaining gaps.

The server accepts --version and --help options and exits after printing the requested information. File paths are confined to the project root or FAF_ALLOWED_ROOTS.

Tools and capabilities

  • faf_read, faf_discover, and faf_context locate and retrieve full or focused project context.
  • faf_validate and faf_score inspect quality, tiers, slot counts, and scoring status.
  • faf_init creates a valid starter FAF YAML file without overwriting an existing file.
  • faf_stringify parses and reserializes FAF data as clean YAML.
  • faf_auto detects repository technologies and commands, then creates or fills a FAF file.
  • faf_gemini and faf_agents generate managed GEMINI.md and AGENTS.md sections.
  • faf_migrate updates a file to format version 3.0 and can preview changes with dry_run.
  • faf_about returns FAF format and ecosystem metadata; faf_model supplies complete reference files for 15 project types.

Limitations and notes

Migration reserializes YAML, so comments and original formatting are not retained. faf_init will not replace an existing file, and faf_auto fills empty slots rather than replacing populated values. The server does not reach the network during tool operation. FAF is the source file; generated agent instructions are derived outputs that can retain separate hand-written content outside their managed blocks.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gemini FAF

Gemini FAF is an MCP server that connects Google Gemini to structured `.faf` project-context files. Its main tools read, discover, validate, score, initialize, auto-detect, migrate, and export project context, including generated `GEMINI.md` and `AGENTS.md` guidance files.

Install it with `uvx gemini-faf-mcp` or `pip3 install gemini-faf-mcp`. Gemini CLI users can also install the extension from the GitHub repository, then run `/faf:setup` to create an initial `project.faf`.

Gemini FAF uses `faf_auto` to inspect repository files such as package manifests, Docker Compose services, Makefiles, justfiles, and GitHub workflows. It uses those files to populate language, framework, database, build, test, lint, and CI-related FAF slots.

No, its export tools preserve hand-written content outside the FAF-managed block. `faf_init` also refuses to overwrite an existing FAF file, while `faf_auto` fills empty slots in an existing file rather than replacing populated values.

Use `faf_score` for a quick percentage, tier, and slot-count status check, or use `faf_validate` when you need specific errors and warnings. Gemini CLI also provides the `/faf:score` workflow after setup.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGemini FAF AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gemini-faf?style=directory)](https://allmcps.com/mcp/gemini-faf)
HTML Embed
<a href="https://allmcps.com/mcp/gemini-faf"><img src="https://allmcps.com/api/badge/gemini-faf?style=directory" alt="Gemini FAF on AllMCPs" /></a>