Grok Imagine MCP Server
by runapi-aiio.github.runapi-builder/grok-imagine-mcpv0.2.0
RunAPI Grok Imagine MCP server for image and video generation: create tasks, poll results, and check pricing across 7 model variants from Claude Code, Codex, Cursor, and VS Code.
context tax
queued
security
queued
cold start
queued
freshness
Active10d ago
Install Grok Imagine MCP server
Install in Claude Code
claude mcp add grok-imagine -e RUNAPI_API_KEY='<runapi-api-key>' -- npx -y @runapi.ai/grok-imagine-mcpInstall in Cursor
{
"mcpServers": {
"grok-imagine": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/grok-imagine-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"grok-imagine": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/grok-imagine-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"grok-imagine": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@runapi.ai/grok-imagine-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"grok-imagine": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/grok-imagine-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| RUNAPI_API_KEY | — | yes | Optional RunAPI API key for headless hosts. Interactive MCP hosts can use the login tool, which writes shared RunAPI config. |
Freshness
Active — last maintenance signal 10d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-30 · 10d ago · GitHub
Latest release
2026-09-30 · 10d ago · GitHub · v0.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-30 · 10d ago · official registry · v0.2.0
FAQ
›How do I install the Grok Imagine MCP server in Claude Code?
Run: claude mcp add grok-imagine -e RUNAPI_API_KEY='<runapi-api-key>' -- npx -y @runapi.ai/grok-imagine-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Grok Imagine require an API key?
Yes. It expects RUNAPI_API_KEY, of which 1 is a secret.
›Can I use Grok Imagine as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Grok Imagine in the official MCP registry?
Yes, as io.github.runapi-builder/grok-imagine-mcp.
Alternatives to Grok Imagine
Other ai & llm tools MCP servers.