npm · grok-build-mcp-server
$npx -y grok-build-mcp-server@0.2.5 GROK_BINARY — Path to the grok executable. Only needed when grok is not on PATH.
GROK_MCP_PERMISSION_CEILING — Highest permission level any call may request. Granted once at registration and never prompts again.
GROK_MCP_DEFAULT_PERMISSION — Permission level used when a call specifies none. Must be at or below the ceiling.
GROK_MCP_DEFAULT_MODEL — Model used when a call omits one.
GROK_MCP_DEFAULT_EFFORT — Reasoning effort used when a call omits one.
GROK_MCP_TIMEOUT_MS — Wall-clock kill for a single run, in milliseconds.
GROK_MCP_STATE_DIR — Directory for background job records. Defaults to $XDG_STATE_HOME/grok-mcp.
GROK_MCP_MAX_CONCURRENT_RUNS — Background runs alive at once. Use off, none, or unlimited for no cap.
STRUCTURED_CONTENT_ENABLED — Emit structuredContent alongside _meta. Off by default because some clients mishandle it.