MiniMax H3 MCP integration guide

MiniMax H3 generates a video from text, image, video, and audio references. Choose the appropriate tool for your available materials, then use the 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 at https://minimax.mcp.acedata.cloud/mcp. If 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 service address, and sign in.
Claude Code Run claude mcp add --transport http --scope user minimax https://minimax.mcp.acedata.cloud/mcp, open /mcp in your session, select the server, and complete authorization.
Cursor Create an HTTP server in the MCP settings, enter the hosted service address, and sign in when prompted.
VS Code Run MCP: Add Server from the Command Palette, select HTTP, and enter the hosted service address. You can then use MCP: List Servers to check its status.

In Codex CLI, you can run the following command. Once it completes, enter /mcp in your 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 <应用 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}', then check using 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, configure type: "remote", the hosted URL, and oauth: false for this service in the mcp object of your personal opencode.json, and set the request header Authorization to Bearer {env:ACEDATACLOUD_API_TOKEN}. OpenCode 1.x configuration

Local stdio connection

After installing uv, a local client can launch the MCP process using standard input and output. The process sends MiniMax H3 requests to AI 聚合.

Claude Desktop users can open the local MCP configuration from the developer settings, merge in the server entry below, replace the placeholder in their personal configuration with the raw application API key, and 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"
      }
    }
  }
}

mcp-minimax package

Initial verification

After connecting, tell 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 Use minimax_generate_video_from_text, passing prompt to describe the subject, action, and camera shot.
Use reference media 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 in 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 Use minimax_list_tasks to view the task list. minimax_delete_task deletes a specified task by task_id; confirm the target before executing.

To create a four-second nighttime clip, ask the assistant to use minimax_generate_video_from_text, set duration to 4, and use the prompt: "A fixed camera shot of reflections on a rain-soaked street disturbed by a passing bicycle." By default, task_id is returned asynchronously. 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.

See the API documentation for parameter and result formats: Video generation, Task query.