grok-video-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_API_KEY | Yes | xAI API key | |
| GROK_VIDEO_MODEL | No | Model (grok-imagine-video-1.5 = 1080p) | grok-imagine-video |
| GROK_VIDEO_OUTPUT_DIR | No | Where clips are saved | ~/.grok-video-mcp/output |
| GROK_VIDEO_TIMEOUT_MS | No | Max wait for a generation | 900000 |
| GROK_VIDEO_POLL_MAX_MS | No | Max poll interval (×1.5 backoff) | 30000 |
| GROK_VIDEO_POLL_BASE_MS | No | Initial poll interval | 5000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_videoA | Submit a Grok video generation from a text prompt. Returns a requestId to poll with get_generation and download with get_video. Generation takes 1-5 minutes. ~$0.005/sec. |
| get_generationA | Poll the status of a Grok video generation by requestId. Returns PENDING, COMPLETED, or FAILED with progress when available. |
| get_videoA | Download a completed Grok video generation to disk. Returns the file path. Requires the generation to be COMPLETED. |
| generate_and_waitA | Submit a Grok video generation, poll until complete (up to timeoutSeconds), and return the downloaded file path. The one-call convenience for agents. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pongsakornp/grok-video-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server