MCP server for Grok Imagine AI video generation
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A Model Context Protocol (MCP) server for Grok (xAI) β chat/reasoning/vision and Grok Imagine video generation, powered by the AceDataCloud API.
Chat with Grok models, or generate short AI videos from a text prompt or a still image β directly from any MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.).
| Tool | Description |
|---|---|
grok_chat_completions | Chat completion (reasoning / vision / tool calling) with Grok chat models. |
grok_text_to_video | Generate a video from a text prompt (any model except grok-imagine-video-1.5:official). |
grok_image_to_video | Generate a video from an input image (+ optional motion prompt). |
grok_get_task | Query the status/result of a single generation task. |
grok_get_tasks_batch | Query the status/result of multiple tasks at once. |
grok_list_models | List available models and their capabilities. |
grok_list_actions | List all tools and example workflows. |
grok_get_prompt_guide | Tips for writing effective video prompts. |
grok_chat_completions)| Model | Notes |
|---|---|
grok-4.5 | Default β latest flagship reasoning model |
grok-4 | Previous flagship reasoning model |
grok-3 | Earlier-generation model |
| Model | TextβVideo | ImageβVideo | Notes |
|---|---|---|---|
grok-imagine-video-1.5-fast:reverse | β | β | Default. Fastest & cheapest. 6-30s, duration-banded billing. |
grok-imagine-video:reverse | β | β | Standard. 1-15s, billed per output second. |
grok-imagine-video:official | β | β | Official endpoint, higher fidelity. 1-15s, per second. |
grok-imagine-video-1.5:official | β | β | Official image-to-video only (requires image_url). Up to 1080p, per second. |
| Parameter | Applies to | Values |
|---|---|---|
prompt | both | Text description (required for text-to-video) |
image_url | image-to-video | Input image URL (required for -1.5-preview) |
reference_image_urls | image-to-video | Optional list of style/content reference images |
aspect_ratio | both | 1:1, 16:9 (default), 9:16, 4:3, 3:4, 3:2, 2:3 |
resolution | both | 480p (default), 720p, 1080p |
duration | both | grok-imagine-video-1.5-fast:reverse: 6β30s; other models: 1β15s (default 6) |
callback_url | both | Optional async webhook |
Set your AceDataCloud API token (get one at https://platform.acedata.cloud):
Add to your MCP config (claude_desktop_config.json or .mcp.json):
A hosted Streamable HTTP endpoint is available at:
| Variable | Description | Default |
|---|---|---|
ACEDATACLOUD_API_TOKEN | API token (required) | β |
ACEDATACLOUD_API_BASE_URL | API base URL | https://api.acedata.cloud |
GROK_DEFAULT_MODEL | Default model | grok-imagine-video-1.5-fast:reverse |
GROK_REQUEST_TIMEOUT | Request timeout (seconds) | 180 |
MCP_SERVER_NAME | MCP server name | grok |
MCP_TRANSPORT | Transport mode (stdio/http) | stdio |
LOG_LEVEL | Logging level | INFO |
task_id quickly. Poll with grok_get_task(task_id) until the state is succeeded and the video_url is available.resolution at 480p and duration short for faster, cheaper iterations.MIT β see LICENSE.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-grok)<a href="https://allmcps.com/mcp/mcp-grok"><img src="https://allmcps.com/api/badge/mcp-grok?style=directory" alt="Mcp Grok on AllMCPs" /></a>