Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (claude-faf-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
๐๏ธโก๏ธ Claude FAF MCP Server
F1-Inspired AI Context Management for Planet Claude
๐ OFFICIAL MCP REGISTRY MEMBER - The JPEG for AI is REAL! ๐
๐ TESTING CENTER:
/Users/wolfejam/faf-test-environment| View Dashboard ๐
Claude FAF MCP Server | AI-Context on-demand management with bi-sync for Claude Users of all levels, with C.O.R.E performance faf-engine-Mk1
Transform your projects into AI-optimized collaboration spaces with C.O.R.E (Comprehensive, Optimized, Relentless, Empirical) performance powered by the faf-engine-Mk1 architecture.
๐ ZERO FAF | FAFFLESS AI
We ARE the C in MCP. Vitamin Context for healthy AI. Iโก๐
๐ Quick Install (2 Commands!)
# Step 1: Install globally
npm install -g claude-faf-mcp
# Step 2: Add to Claude Desktop
echo '{"mcpServers":{"claude-faf-mcp":{"command":"claude-faf-mcp","args":[],"env":{}}}}' > ~/Library/Application\ Support/Claude/claude_desktop_config.jsonStep 3: Restart Claude Desktop - DONE! ๐
Test: Drop any package.json into Claude and watch the magic!
๐ค What is Claude FAF MCP?
The Claude FAF MCP Server provides 33 honest file operations for Claude Desktop. ENJOY this in Desktop - FAF CLI will be right behind it!
Currently delivers:
- โ Native file operations (read, write, list, etc.)
- โ <50ms performance guaranteed
- โ Works WITHOUT external dependencies
- ๐ Full FAF CLI integration coming soon for scoring & enhancement
๐ก PRO TIP: The Perfect Workflow
Drop a project file โ Instant context! Here's the flow:
- Drop your
package.json,requirements.txt, orREADME.mdinto Claude - Claude instantly knows what you're working on
- For new projects: Claude creates
claude.md, you create.faf - The AI-Context becomes permanent glue - your project understanding persists!
"Once you drop that first file, the context sticks. No more explaining your project every chat!"
Key Benefits
- ๐ง Intelligent Context: Automatically analyzes and optimizes your project for AI collaboration
- โก Real-time Sync: Bi-directional synchronization between
.fafcontext andclaude.md - ๐ AI Scoring: Get detailed metrics on your project's AI-readiness
- ๐ฏ Claude-Optimized: Specially tuned for optimal Claude performance
- ๐ Universal: Works with Claude Desktop, Claude Web, and Claude API
๐ญ The World's First AI-Validated Developer Tool?
What the BIG-3 AI's themselves Say:
| Platform | Score | Verdict |
|---|---|---|
| Claude (Anthropic) | 9.5/10 | "Should become the standard" |
| OpenAI Codex | 9/10 | "Every project should have one" |
| Google Gemini | 9.5/10 | "README evolution for AI era" |
"its so logical [.faf] if it didn't exist, AI would have built it itself" - Claude Code
"package.json gives me a list of dependencies, .faf shows me what to do with them" - Claude Code
"package.json wasn't built for this, .faf was" - .faf Inventor
๐ Testing & Development
๐ Testing Guide: TESTING_CENTER.md
๐งช Test Scripts: Available in /tests/scripts/
Quick Test Commands
# Test the MCP server
npm test
# Build the project
npm run build๐ Quick Start
Prerequisites
- Node.js 18+
Installation
npm install -g claude-faf-mcpConfiguration
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"claude-faf": {
"command": "claude-faf-mcp",
"args": ["--transport", "stdio"]
}
}
}Or for development with a local FAF build:
{
"mcpServers": {
"claude-faf": {
"command": "claude-faf-mcp",
"args": [
"--transport", "stdio",
"--faf-engine", "/path/to/your/faf/cli"
]
}
}
}๐ ๏ธ Available Tools
The server provides 9 powerful tools for AI-enhanced development:
Core Analysis
faf_status- Get comprehensive project status and AI readiness metricsfaf_score- Calculate AI collaboration score with detailed breakdownfaf_debug- Debug server environment and FAF CLI connectivity
Project Management
faf_init- Initialize FAF context with intelligent stack detectionfaf_trust- Validate context integrity and trust metricsfaf_clear- Clear caches and reset state
Context Optimization
faf_enhance- Claude-optimized AI enhancement with multi-model supportfaf_sync- Synchronize .faf context with claude.mdfaf_bi_sync- Bi-directional sync with real-time watching
๐ Usage Examples
Initialize a New Project
Use the faf_init tool to set up FAF context for your project.Check Project Health
Use faf_status to see your project's AI collaboration metrics:
- Context quality score
- AI readiness level
- Performance metrics
- Claude compatibility ratingOptimize for Claude
Use faf_enhance with model="claude" and focus="claude-optimal"
to get the best possible Claude collaboration experience.Sync with Claude.md
Use faf_bi_sync to maintain automatic synchronization between
your .faf context and claude.md file for seamless collaboration.โ๏ธ Configuration Options
The server accepts several command-line options:
--transport <stdio|http-sse>- Transport protocol (default: stdio)--port <number>- Port for HTTP-SSE transport (default: 3001)--faf-engine <path>- Path to FAF CLI (default: 'faf' global command)--debug- Enable debug logging
๐๏ธ Development Setup
Local Development
- Clone and install dependencies:
git clone https://github.com/faf-dev/claude-faf-mcp.git
cd claude-faf-mcp
npm install- Build the project:
npm run build- Test locally:
npm run dev:stdio- Add to Claude config with local path:
{
"mcpServers": {
"claude-faf-dev": {
"command": "npx",
"args": ["ts-node", "src/cli.ts", "--transport", "stdio"],
"cwd": "/path/to/claude-faf-mcp"
}
}
}Testing
Run the test suite:
npm testTest MCP protocol compliance:
npm run test:mcp๐ Requirements
- Node.js: Version 18 or higher
- FAF CLI: Installed and accessible in PATH
- Claude Desktop: Latest version with MCP support
- Operating System: macOS, Linux, or Windows
๐ Real Performance Metrics
๐ Project Status: CHAMPION
โโ ๐ Context Quality: 100%
โโ ๐ค AI Readiness: Universal
โโ โก Performance: 38ms average
โโ ๐งก Community: Growing daily
โโ ๐ Enterprise Ready: Day One๐ The F1-Inspired Philosophy
We build software with F1-Inspired principles:
- Precision Engineering - Every line purposeful
- Performance Obsession - Milliseconds matter
- Continuous Innovation - Always improving
- Championship Standards - Only the best survives
Created by ๐๏ธโก๏ธwolfejam, F1-fanatic and inventor of .faf
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
๐ License
MIT License - see the LICENSE file for details.
๐ Support
- GitHub Issues: Report bugs or request features
- Documentation: Full documentation
- Community: Join our Discord
๐ Related Projects
- FAF CLI - The core FAF engine
- Claude Desktop - Anthropic's desktop application
- MCP SDK - Model Context Protocol SDK
Made with โค๏ธ for the Claude community
Transform your projects into AI-collaboration powerhouses with Claude FAF MCP Server!