How to integrate MiniMax MCP with Atomic Agent

Connect Atomic Agent to MiniMax MCP. Generate a minimax voice narration, create a minimax image from text, and more using natural language, with authentication handled for you.

MiniMax logoMiniMax
Api Key

MiniMax is a multimodal AI platform for text, video, speech, image, music, and file workflows. Its unified APIs help developers build rich AI experiences from one service.

35 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including MiniMax.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a MiniMax account. See the Atomic Agent documentation for installation instructions.

Also integrate MiniMax with

How Atomic Agent connects to MiniMax

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect MiniMax to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in MiniMax. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your MiniMax account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the MiniMax MCP server, and what's possible with it?

The MiniMax MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your MiniMax account. It provides structured and secure access to text generation, image creation, video generation, speech synthesis, audio transcription, voice tools, and file workflows, so your agent can generate content, create and track videos, synthesize and transcribe audio, manage voices, and upload or retrieve files on your behalf.

  • Text and image creation: Have your agent generate text with MiniMax models, count or estimate input tokens, and create images from detailed prompts.
  • Video generation and tracking: Direct your agent to create videos from text or reference media, use templates, enhance video prompts, check task progress, and retrieve finished results.
  • Speech and audio workflows: Let the agent synthesize spoken audio, start and monitor long-form speech tasks, and transcribe uploaded audio with options for timestamps, speaker separation, subtitles, and language hints.
  • Custom voice management: Instruct your agent to list available voices, design a voice from a description, clone a voice from an uploaded sample, create preview audio, or remove voices you no longer need.
  • File and generated output management: Have your agent upload files for supported MiniMax workflows, review available files, retrieve file details, download generated content, or delete files.

Use MiniMax from Atomic Agent

With your account connected, ask Atomic Agent to work with MiniMax in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every MiniMax action and event your agent gets out of the box.

Clone Voice

Create a reusable MiniMax cloned voice from an uploaded voice sample, optionally generating paid preview audio.

Count Message Tokens

Count input tokens for an Anthropic-compatible message payload without generating content.

Create Async Speech

Start a long-form asynchronous MiniMax speech synthesis task from inline text or one uploaded text file.

Create Legacy Video

Start a MiniMax v1 Hailuo text, image, first-and-last-frame, or subject-reference video task with mode-specific validation.

Create OpenAI-Compatible Response

Call MiniMax through its OpenAI Responses compatibility contract and return one non-streaming response object.

Create Template Video

Start a MiniMax Video Agent task using an official template and its ordered text and media inputs.

Create Video

Start a MiniMax H3 video v2 generation task from text and optional reference media.

Create Video Prompt

Start a MiniMax H3 Context-IR task that converts multimodal context into an enhanced video prompt.

Delete File

Permanently delete one MiniMax file by its exact ID and storage-purpose category.

Cancel or Delete Video Task

Cancel a queued MiniMax video v2 task, or permanently delete a completed or failed task record.

Delete Voice

Permanently delete an eligible MiniMax cloned or designed voice.

Design Voice

Design a reusable MiniMax voice from a description and return its paid preview as a downloadable audio file.

Download File

Download the binary contents of one generated MiniMax file and return a managed file reference.

Estimate Responses Input Tokens

Estimate input tokens using MiniMax's OpenAI Responses compatibility contract without generating model output.

Generate Anthropic-Compatible Message

Call MiniMax through its Anthropic Messages compatibility contract and return one non-streaming message response.

Generate Image

Generate one or more images from a text prompt, optionally guided by a subject reference.

Generate Native Chat Completion

Call MiniMax's native chatcompletion_v2 contract and return one non-streaming completion, including native sensitivity metadata.

Generate Text

Generate one non-streaming OpenAI-compatible chat completion, including optional reasoning and tool calls.

Get Account Balance

Get the connected global pay-as-you-go MiniMax account's available, cash, voucher, credit, owed, and balance-alert amounts.

Get Anthropic-Compatible Model

Retrieve one MiniMax text model through the Anthropic Models compatibility contract.

Get Async Speech Task

Get the status and generated file reference for a MiniMax asynchronous speech synthesis task.

Get File

Retrieve metadata for one MiniMax file by its exact ID, including a temporary download URL when MiniMax provides one for a generated output.

Get Legacy Video Task

Get the status and output file metadata of a MiniMax v1 legacy video task.

Get Template Video Task

Get the status and temporary result URL of a MiniMax Video Agent template task.

Get OpenAI-Compatible Text Model

Retrieve one MiniMax text model through the OpenAI Models compatibility contract.

Get Video Task

Get the current state and output of one MiniMax video v2 task created within the last seven days.

List Anthropic-Compatible Models

List one page of MiniMax text models through the Anthropic Models compatibility contract, using its after_id or before_id cursors.

List Files

List MiniMax files for one upload-purpose category.

List Text Models

List text model IDs currently available to the connected MiniMax API key.

List Video Tasks

List one page of MiniMax video v2 tasks from the last seven days, optionally filtered by status, task ID, model, or task type.

List Voices

List system, cloned, generated, or all voices that can be used for speech synthesis.

Regenerate Video

Regenerate an eligible MiniMax-H3 768P source video as a 2K video, using either its task ID or the exact original inputs and source video.

Synthesize Speech

Synchronously synthesize up to 9,999 characters of text and return the decoded audio as a downloadable file.

Transcribe Audio

Transcribe an uploaded audio file with optional language hints, timestamps, speaker diarization, subtitle output, or assembled streaming output.

Upload File

Upload one file to MiniMax as multipart/form-data for voice cloning, async speech, video understanding, or video generation.

FAQ

Frequently asked questions

With a standalone MiniMax MCP server, the agents and LLMs can only access a fixed set of MiniMax tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from MiniMax and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right MiniMax tools.

Yes, absolutely. You can configure which MiniMax scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your MiniMax data and credentials are handled as safely as possible.

Start with MiniMax.It takes 30 seconds.

Managed auth, hosted MCP servers, and every MiniMax tool your agent needs.Free to start.

Start building