grok-imagine-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RUNAPI_API_KEY | Yes | Your RunAPI API key. Get one at https://runapi.ai. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| loginA | Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json. |
| edit_imageB | Create a Grok Imagine task on RunAPI (edit image). Returns a task id, status, and output URLs. |
| extend_videoB | Create a Grok Imagine task on RunAPI (extend video). Returns a task id, status, and output URLs. |
| image_to_videoC | Create a Grok Imagine task on RunAPI (image to video). Returns a task id, status, and output URLs. |
| segment_mapC | Create a Grok Imagine task on RunAPI (segment map). Returns a task id, status, and output URLs. |
| text_to_imageC | Create a Grok Imagine task on RunAPI (text to image). Returns a task id, status, and output URLs. |
| text_to_videoC | Create a Grok Imagine task on RunAPI (text to video). Returns a task id, status, and output URLs. |
| upscale_imageB | Create a Grok Imagine task on RunAPI (upscale image). Returns a task id, status, and output URLs. |
| get_taskA | Fetch the current status and latest result payload for a grok-imagine task. |
| check_pricingA | Look up RunAPI pricing for the grok-imagine model line. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool targets a distinct operation or model mode, and names like text_to_image, image_to_video, and upscale_image clearly separate their purposes. However, several tools share the same generic 'Create a Grok Imagine task' description, and segment_map is somewhat ambiguous without more context.
The set mixes naming conventions: some tools use verb_noun (edit_image, get_task, check_pricing), some use source_to_target (text_to_image, image_to_video), and one is a bare verb (login). While readable, the lack of a uniform pattern or prefix makes the set feel inconsistent.
With 10 tools, the server is well-scoped for a task-generation MCP. Each tool covers a distinct capability, including authentication, task creation variants, status retrieval, and pricing lookup, without unnecessary bloat.
The core workflow of creating tasks, fetching results, logging in, and checking pricing is covered well. Minor gaps exist, such as no cancel_task or list_tasks endpoint, but agents can complete typical generation workflows without dead ends.