grok-faf-mcp
Verified Safeby Wolfe-Jam
Overview
Provides a URL-based, zero-configuration Model Context Protocol (MCP) server for Grok/xAI, enabling AI systems to access persistent project context via IANA-registered .faf format and a suite of tools for project analysis and enhancement.
Installation
npx -y grok-faf-mcpEnvironment Variables
- XAI_API_KEY
- XAI_COLLECTION_ID
- FAF_MCP_SHOW_ADVANCED
- FAF_WORKING_DIR
- MCP_WORKING_DIR
- NO_COLOR
- HOME
- PORT
- HOST
Security Notes
The server includes robust `PathValidator` checks to prevent path traversal and limit file sizes for read/write operations, enhancing filesystem security. However, it relies on `child_process.exec` for some FAF CLI commands not natively bundled, which, despite argument sanitization, introduces a dependency on external CLI security and could be a vector for command injection if not perfectly hardened. No obvious hardcoded secrets or malicious patterns were found in the truncated code. Network calls are made to the legitimate xAI API.
Similar Servers
context-portal
Manages structured project context for AI assistants and developer tools, enabling Retrieval Augmented Generation (RAG) and prompt caching within IDEs.
jinni
A tool to efficiently provide Large Language Models with structured project context for code comprehension and generation tasks.
mcp-github-project-manager
AI-powered GitHub Project Management, including automated roadmap generation, sprint planning, issue triaging, task breakdown, and comprehensive project workflow automation.
claude-faf-mcp
Optimizes AI understanding of software projects by providing persistent context, fixing context-drift, and enabling bi-directional synchronization between project metadata and AI documentation.