Back to Home
Wolfe-Jam icon

grok-faf-mcp

Verified Safe

by 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

Run Command
npx -y grok-faf-mcp

Environment 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

Stats

Interest Score44
Security Score7
Cost ClassMedium
Avg Tokens300
Stars15
Forks0
Last Update2026-01-15

Tags

MCPGrokxAIFAFAI ContextServerlessVercelDeveloper Tools