MiniMax MCP server for AI agents

Live

BEARER TOKEN

GENERATIVE MEDIA

AI

MiniMax gives your agent MiniMax models: generate Hailuo and H3 videos, convert text to speech, design voices, write lyrics and generate music, create images, and chat with M3 language models.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
MiniMax
agent · Acme Q3
Run
Is the H3 product teaser video done?
S
minimax_get_h3_video_task
101ms
Media agent
Yes. The task succeeded 4 minutes ago, and the video URL is ready to download.
Sources: 1 video task
minimax
1 task
18:29
Message Claude...

Tools your media agent reaches for on MiniMax, scoped per user.

CALL ANY TOOL
19 tools for generative media in MiniMax: start Hailuo and H3 video tasks, convert text to speech, design voices, write lyrics and generate music, create images, chat with M3 models, and retrieve files.
minimax_cancel_h3_video_task
Cancel h3 video task
Cancel a queued MiniMax H3 video task, or delete the record of a succeeded or failed one. Returns task_id and action: cancelled (the task was queued) or deleted (the record was removed). Use this to stop a task you no longer need before it runs, or to clean up finished tasks. A running task cannot be cancelled. Find task IDs with minimax_list_h3_video_tasks.
Parameters
Name
Type
Required
Description
task_id
string
Required
ID of the H3 task to cancel or delete. Example: 424010985738629
minimax_create_chat_completion
Create chat completion
minimax_create_h3_video_task
Create h3 video task
minimax_create_speech_task
Create speech task
minimax_create_video_task
Create video task
minimax_delete_voice
Delete voice
minimax_design_voice
Design voice
minimax_generate_image
Generate image
minimax_generate_lyrics
Generate lyrics
minimax_generate_music
Generate music
minimax_get_h3_video_task
Get h3 video task
minimax_get_speech_task
Get speech task
minimax_get_video_task
Get video task
minimax_list_files
List files
minimax_list_h3_video_tasks
List h3 video tasks
minimax_list_models
List models
minimax_list_voices
List voices
minimax_retrieve_file
Retrieve file
minimax_text_to_speech
Text to speech
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// MiniMax tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["minimax"], toolNames: [
    "minimax_create_h3_video_task",
    "minimax_get_h3_video_task",
    "minimax_text_to_speech"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Generate an H3 video of a rainy city street and narrate it" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["minimax"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Generate an H3 video of a rainy city street and narrate it" }],
  tools,
});

// Execute the tool call with the user's vaulted MiniMax access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["minimax"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Generate an H3 video of a rainy city street and narrate it" }],
  tools,
});

// Tool call runs with the user's vaulted MiniMax access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["minimax"] }, pageSize: 100,
});

const agent = new Agent({
  name: "media_agent",
  model: "gemini-2.5-pro",
  instruction: "MiniMax tools scoped to this user",
  tools,
});

await agent.run("Generate an H3 video of a rainy city street and narrate it");
Try these prompts
Copy any prompt into your agent. Each maps directly to a MiniMax tool. Click to copy, paste into your agent, done.
Video
Copy the prompt
Copied
Generate an H3 video of a city street at night in the rain.
Copy the prompt
Copied
Animate this product photo into a Hailuo video using it as the first frame.
Copy the prompt
Copied
List my H3 video tasks from the last 7 days.
Speech and music
Copy the prompt
Copied
Convert this 2-paragraph intro to speech with a calm voice.
Copy the prompt
Copied
Write lyrics for an upbeat song about a product launch.
Copy the prompt
Copied
Generate an instrumental track for our launch video.
Images, voices, and chat
Copy the prompt
Copied
Generate 4 images of a minimalist coffee shop logo.
Copy the prompt
Copied
Design a new voice that sounds like a friendly radio host.
Copy the prompt
Copied
Ask the M3 model to draft 3 taglines for our app.
SEE HOW AUTH WORKS
Each user connects their own MiniMax access token once, and Scalekit sends it with every call. Access tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
MiniMax
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
MiniMax
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
MiniMax
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
MiniMax
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI and media connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other AI and media connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared MiniMax access token looks fine in a demo. In production every generation task looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
MiniMax today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access MiniMax as the user or through a shared access token?
As the user. Each user connects their own MiniMax access token once, and Scalekit sends it with every call. Audit logs attribute every generation task to that user, not a shared service account.
Where is the MiniMax access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in MiniMax?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example video, speech, and image generation without minimax_delete_voice, which permanently deletes a cloned or designed voice, or minimax_cancel_h3_video_task. Scalekit also enforces scope checks before every API call.
What happens when a user revokes MiniMax access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How long are generated files available?
Speech and image outputs come back as URLs valid for 24 hours, and H3 video tasks can be read for 7 days. minimax_retrieve_file returns a temporary download URL for a stored file by its ID.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""minimax"": {
""url"": ""https://mcp.scalekit.com/minimax"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.minimax]
url = ""https://mcp.scalekit.com/minimax""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""minimax"": {
""url"": ""https://mcp.scalekit.com/minimax"",
""type"": ""http""
}
}
}