Grok FAF MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add grok-faf-mcp -- npx -y grok-faf-mcp
README.md

First MCP server built for Grok

grok-faf-mcp | FAST⚡️AF

Grok asked for MCP on a URL. This is it.

First MCP server built for Grok URL-based • Zero config • Just works


📋 The 6 Ws - Quick Reference

Every README should answer these questions. Here's ours:

Question Answer
👥 WHO is this for? Grok/xAI developers and teams building with URL-based MCP
📦 WHAT is it? First MCP server built for Grok - URL-based AI context via IANA-registered .faf format
🌍 WHERE does it work? Vercel (production) • Local dev • Any MCP client supporting HTTP-SSE
🎯 WHY do you need it? Zero-config MCP on a URL - Grok asked for it, we built it first
⏰ WHEN should you use it? Grok integration testing, xAI projects, URL-based MCP deployments
🚀 HOW does it work? Point to https://grok-faf-mcp.vercel.app/sse - 21 tools instantly available

For AI: Read the detailed sections below for full context. For humans: Use this pattern in YOUR README. Answer these 6 questions clearly.


The Problem

Every Grok session starts from zero. You re-explain your stack, your goals, your architecture. Every time.

.faf fixes that. One file, your project DNA, persistent across every session.

Without .faf  →  "I'm building a REST API in Rust with Axum and PostgreSQL..."
With .faf     →  Grok already knows. Every session. Forever.

One Command, Done Forever

faf_auto detects your project, creates a .faf, and scores it — in one shot:

faf_auto
━━━━━━━━━━━━━━━━━
Score: 0% → 85% (+85) 🥉 Bronze
Steps:
  1. Created project.faf
  2. Detected stack from package.json
  3. Synced CLAUDE.md

Path: /home/user/my-project

What it produces:

# project.faf — your project, machine-readable
faf_version: "3.3"
project:
  name: my-api
  goal: REST API for user management
  main_language: TypeScript
stack:
  backend: Express
  database: PostgreSQL
  testing: Jest
  runtime: Node.js
human_context:
  who: Backend developers
  what: User CRUD with auth
  why: Replace legacy PHP service

Every AI agent reads this once and knows exactly what you're building.


⚡ What You Get

URL:     https://grok-faf-mcp.vercel.app/
Format:  IANA-registered .faf (application/vnd.faf+yaml)
Tools:   21 core MCP tools (55 total with advanced)
Engine:  Mk4 WASM scoring (faf-scoring-kernel)
Speed:   0.5ms average (was 19ms — 3,800% faster with Mk4)
Tests:   179 passing (7 suites)
Status:  FAST⚡️AF

MCP over HTTP-SSE. Point your Grok integration at the URL. That's it.


Scoring: From Blind to Optimized

Tier Score What it means
🏆 Trophy 100% Gold Code — AI is optimized
🥇 Gold 99%+ Near-perfect context
🥈 Silver 95%+ Excellent
🥉 Bronze 85%+ Production ready
🟢 Green 70%+ Solid foundation
🟡 Yellow 55%+ AI flipping coins
🔴 Red <55% AI working blind

At 55%, Grok guesses half the time. At 100%, Grok knows your project.


🚀 Three Ways to Deploy

1. Hosted (Instant)

https://grok-faf-mcp.vercel.app/sse

Point your MCP client to this endpoint. All 21 tools available instantly.

2. Self-Deploy (Your Own Vercel)

Click the Deploy with Vercel button above. Zero config — get your own instance in 30 seconds.

3. Local (npx)

npx grok-faf-mcp

Or add to your MCP config:

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

🛠️ MCP Tools (21 Core)

Create & Detect

Tool Purpose
faf_init Create project.faf from your project
faf_auto Auto-detect stack and populate context
faf_score AI-readiness score (0-100%) with breakdown
faf_status Check current AI-readability
faf_enhance Intelligent enhancement

Sync & Persist

| Tool |

Tools (5)

faf_initCreate project.faf from your project
faf_autoAuto-detect stack and populate context
faf_scoreAI-readiness score (0-100%) with breakdown
faf_statusCheck current AI-readability
faf_enhanceIntelligent enhancement

Configuration

claude_desktop_config.json
{"mcpServers": {"grok-faf": {"command": "npx", "args": ["-y", "grok-faf-mcp"]}}}

Try it

Initialize a new project.faf file for this repository.
Run faf_auto to detect my project stack and populate the context.
What is my current AI-readiness score using faf_score?
Check the status of my project's AI-readability.
Enhance my project context using faf_enhance.

Frequently Asked Questions

What are the key features of Grok FAF MCP?

Provides URL-based MCP context via IANA-registered .faf format. Zero-config deployment via Vercel or local npx. Includes 21 core MCP tools for project context management. Features Mk4 WASM scoring kernel for AI-readiness assessment. Persistent project DNA across different AI sessions.

What can I use Grok FAF MCP for?

Standardizing project context for Grok and other AI agents. Automating the creation of project documentation for AI consumption. Improving AI performance by providing persistent project architecture details. Scoring and optimizing existing codebases for better AI-readiness.

How do I install Grok FAF MCP?

Install Grok FAF MCP by running: npx grok-faf-mcp

What MCP clients work with Grok FAF MCP?

Grok FAF MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Grok FAF MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare