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_videoC | Create a Grok Imagine task on RunAPI (extend video). Returns a task id, status, and output URLs. |
| image_to_videoB | 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_imageB | Create a Grok Imagine task on RunAPI (text to image). Returns a task id, status, and output URLs. |
| text_to_videoB | 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_taskB | 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 generation tool targets a distinct modality/operation (text_to_image, image_to_video, extend_video, upscale_image, segment_map, edit_image), all clearly separated. The auxiliary tools (login, check_pricing, get_task) are likewise unambiguous. No overlapping purposes exist across the set.
All names follow a consistent snake_case verb_noun or noun_action pattern: text_to_image, extend_video, check_pricing, get_task, etc. No camelCase or stylistic mixing. The convention is predictable throughout.
10 tools is well-scoped for a media-generation service: six generation operations, plus auth, pricing, and task polling. Every tool earns its place with no redundancy.
The lifecycle is well covered: authenticate (login), price check, create tasks across image/video operations, and poll results (get_task). A minor gap is the lack of task cancellation or listing of prior tasks, but core workflows are fully supported.