Skip to content
MCP server

Grok Imagine MCP

RunAPI MCP server for Grok Imagine: create tasks, poll status, check pricing.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.2
Listing updated
6 days ago

About Grok Imagine MCP

Grok Imagine MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add grok-imagine-mcp --env RUNAPI_API_KEY='<RUNAPI_API_KEY>' -- npx -y @runapi.ai/grok-imagine-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "grok-imagine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/grok-imagine-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "grok-imagine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/grok-imagine-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "grok-imagine-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/grok-imagine-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "grok-imagine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/grok-imagine-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "grok-imagine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/grok-imagine-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • RUNAPI_API_KEYOptional RunAPI API key for headless hosts. Interactive MCP hosts can use the login tool, which writes shared RunAPI config.

Pricing

Open source

Grok Imagine MCP FAQ

Is Grok Imagine MCP free?

Yes. Grok Imagine MCP is open source, so you can use and self-host it for free.

How do I add Grok Imagine MCP to Claude Code?

Run this command in your terminal: claude mcp add grok-imagine-mcp --env RUNAPI_API_KEY='<RUNAPI_API_KEY>' -- npx -y @runapi.ai/grok-imagine-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers