Back to MCP Servers

Grok

MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.

aggregatorsapiaiagent

Installation

npx -y Grok-MCP

Configuration

{
  "mcpServers": {
    "Grok-MCP": {
      "command": "npx",
      "args": ["-y", "Grok-MCP"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub