MiniMax H3 MCP Integration Guide
MiniMax H3 accepts text, image, video, and audio references to generate a video. Choose the appropriate tool based on the materials available, then use a task query tool to retrieve the finished video.
¶ Connect to the Hosted Service
In a client that supports remote MCP, add a Streamable HTTP server with the address https://minimax.mcp.acedata.cloud/mcp. When using OAuth, choose to sign in to AI 聚合 and confirm authorization in your browser.
| Client | How to connect |
|---|---|
| Claude / Claude Desktop | Add a custom connector under “Customize → Connectors,” enter the hosted address, and sign in. |
| Claude Code | Run claude mcp add --transport http --scope user minimax https://minimax.mcp.acedata.cloud/mcp, open /mcp in the session, select the server, and complete authorization. |
| Cursor | Create a new HTTP server in MCP settings, enter the hosted address, and sign in as prompted when connecting. |
| VS Code | Run MCP: Add Server from the command palette, select HTTP and enter the hosted address, then use MCP: List Servers to check the status. |
In Codex CLI, you can run the following commands, then enter /mcp in the session to view the server.
codex mcp add minimax --url https://minimax.mcp.acedata.cloud/mcp
codex mcp login minimax
To use fixed credentials, add the request header Authorization: Bearer <application API Key> in the client’s private settings, and confirm that the application is authorized to call the selected API. You can create or copy a key in the console under “Applications → General Applications → Key Management.” Application Console
¶ Use an Application Key in Gemini CLI and OpenCode
First, save the application API Key as the client environment variable ACEDATACLOUD_API_TOKEN. The following commands use macOS or Linux shell quoting.
| Client | How to connect |
|---|---|
| Gemini CLI | Run gemini mcp add --scope user --transport http minimax https://minimax.mcp.acedata.cloud/mcp --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}', and check with gemini mcp list. |
| OpenCode 2.x | Run opencode mcp add minimax --global --url https://minimax.mcp.acedata.cloud/mcp --header 'Authorization=Bearer {env:ACEDATACLOUD_API_TOKEN}', then run opencode reload and opencode mcp list. |
In OpenCode 1.x, you can set type: "remote", the hosted URL, and oauth: false for this service in the mcp object of your personal opencode.json, and set the Authorization request header to Bearer {env:ACEDATACLOUD_API_TOKEN}. OpenCode 1.x Configuration
¶ Local stdio Connection
After installing uv, local clients can start an MCP process using standard input and output, and MiniMax H3 requests are sent to AI 聚合 by that process.
Claude Desktop users can open the local MCP configuration from the developer settings, merge the server entry below, replace the placeholder with the application API Key itself in their personal configuration, and then restart the client. Clients that support private environment variables can also inject ACEDATACLOUD_API_TOKEN from a credential manager.
{
"mcpServers": {
"minimax": {
"command": "uvx",
"args": [
"mcp-minimax"
],
"env": {
"ACEDATACLOUD_API_TOKEN": "YOUR_API_KEY"
}
}
}
}
¶ Initial Verification
After connecting, say to the assistant: “Please call only minimax_list_models and minimax_list_actions to list the input methods supported by H3.”
¶ Tools and Usage Examples
| Operation | Tools and parameters |
|---|---|
| Generate video from text | minimax_generate_video_from_text, passing prompt to describe the subject, action, and camera shot. |
| Use reference materials | minimax_generate_video_from_images accepts image URLs. minimax_generate_video_from_audio requires both audio and an image. For video references or mixed content, use content with minimax_generate_video. |
| Query tasks | minimax_get_task accepts a single task_id; minimax_get_tasks_batch can query multiple tasks at once. |
| Manage tasks | minimax_list_tasks displays the task list. minimax_delete_task deletes a specified task by task_id; confirm the target before executing. |
When making a four-second nighttime short, you can ask the assistant to use minimax_generate_video_from_text, set duration to 4, and use the prompt “A fixed camera shot, with reflections on a rain-soaked street disturbed by a passing bicycle.” A task_id is returned asynchronously by default. Ask the assistant to save this ID and provide the video link once minimax_get_task returns succeeded. If the task is still queued or running, continue querying the same ID.
For parameter and result formats, see the API documentation. Video Generation, Task Queries.

