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
The seven task-creation tools share identical boilerplate descriptions ("Create a Grok Imagine task on RunAPI (...)") and identical return shapes, so the agent must rely almost entirely on the tool names to distinguish them. The names themselves are modality-specific (text_to_image vs edit_image vs upscale_image vs image_to_video vs extend_video), which is mostly clear, though 'segment_map' is opaque and edit_image/upscale_image overlap conceptually.
Conventions are mixed: login, get_task, check_pricing, edit_image, extend_video, upscale_image follow a verb_noun style, while text_to_image, image_to_video, text_to_video, and segment_map are noun-phrase/operation names with no verb. It's readable but not a single predictable pattern, and the '_to_' forms sit awkwardly next to the verb-first ones.
Ten tools is well-scoped for an async generation service: one auth tool, one pricing lookup, one status poller, and one tool per generation mode. Each tool earns its place and there is no filler.
Auth, pricing, task polling, and seven generation modes are covered, but the async task lifecycle has notable gaps: there is no list_tasks, cancel_task, or delete, so an agent that loses a task id or needs to cancel a runaway job is stuck. Result retrieval is only via get_task, with no download/save helper.