# MiniMax MCP server: plan, shoot and narrate from your AI assistant

> The MiniMaxM4.ai MCP server lets your assistant write a shot plan, shoot it on MiniMax H3 or Hailuo, make stills and narrate the lines, check on each job and hand you the files, all with your MiniMaxM4.ai credits and the same rules as the studio.

Server URL (Streamable HTTP): `https://minimaxm4.ai/mcp`

## Add the server to your client

### Claude

Claude on the web or desktop: open Settings → Connectors → Add custom connector, name it MiniMaxM4.ai, paste the URL, then Connect and approve.

```
https://minimaxm4.ai/mcp
```

### Claude Code

Run this in a terminal, then type /mcp inside Claude Code and pick the server to sign in.

```
claude mcp add --transport http minimaxm4-ai https://minimaxm4.ai/mcp
```

### ChatGPT

In ChatGPT, open Settings → Apps & Connectors → Advanced, turn on developer mode, add a connector with this URL and pick OAuth.

```
https://minimaxm4.ai/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then sign in by running codex mcp login minimaxm4-ai.

```
[mcp_servers.minimaxm4-ai]
url = "https://minimaxm4.ai/mcp"
```

### Cursor

Drop it into ~/.cursor/mcp.json or add it under Settings → MCP → Add new server; a Login button shows up beside it.

```
{
  "mcpServers": {
    "minimaxm4-ai": {
      "url": "https://minimaxm4.ai/mcp"
    }
  }
}
```

### VS Code

Save it to .vscode/mcp.json in your workspace or run MCP: Add Server; you sign in on the first tool call.

```
{
  "servers": {
    "minimaxm4-ai": {
      "type": "http",
      "url": "https://minimaxm4.ai/mcp"
    }
  }
}
```

### Windsurf

Add it to ~/.codeium/windsurf/mcp_config.json and refresh the MCP panel inside Cascade.

```
{
  "mcpServers": {
    "minimaxm4-ai": {
      "serverUrl": "https://minimaxm4.ai/mcp"
    }
  }
}
```

A MiniMaxM4.ai tab opens where you sign in or sign up for free, then approve access. Your password stays with MiniMaxM4.ai, and no key needs copying.

## How the sign-in works

1. Your client's first request gets a 401, and its header tells the client where our OAuth metadata lives.
2. The client registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
3. You sign in to MiniMaxM4.ai and approve just that client on the consent page.
4. The client gets a token scoped to https://minimaxm4.ai/mcp; it renews itself, and you can revoke it at any time.

## OAuth instead of API keys

Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf all sign in with OAuth, so this site hands out no API keys at the moment.

## Tools the server exposes

- `list_options`: Every model with its resolutions, lengths, frame shapes, voices and credit rates.
- `plan_video`: Idea → a 1 to 6 shot plan with prompts, lengths and lines. 8 credits.
- `make_video`: Model, prompt and optional start-frame link → one shot. From 87 credits.
- `shoot_shots`: Several shots in one call: up to 3 on any account, up to 6 on the top plan.
- `make_image`: One MiniMax H3 Image still at 2K or 4K.
- `narrate`: Text → a Speech 2.8 narration in a preset voice.
- `get_task`: Status and link for one shot, still or narration.
- `list_tasks`: Your latest results, filtered by status on request.
- `get_credits`: Remaining balance and plan.

Credits are held when a job starts and returned if it fails; screening checks the prompt before anything is charged.

## Fixes for common snags

- Client shows “needs authentication”? Delete the server and add it again so OAuth starts over.
- Seeing “Not enough credits”? Call get_credits and top up on the pricing page; the failed attempt was free.
- Still “processing”? A 4-second shot usually takes a few minutes, longer and 2K shots more. Ask for get_task again a little later.
- A 401 mentioning an sk_ key means your client sent an API key, which this site does not accept. Remove that header and use OAuth.

## Assistant access: common questions

### Does connecting an assistant cost anything?

Connecting is free. A plan, shot, still or narration started from your assistant uses the same credits as one started in the studio.

### Which models can my assistant run?

Everything the studio runs: shot plans (made with MiniMax M3 today), MiniMax H3, Hailuo 2.3 and Hailuo 02 shots, MiniMax H3 Image stills and MiniMax Speech 2.8 narration. MiniMax M4 is a text model and is not served here yet.

### What happens if a job fails or my balance is too low?

A failed job refunds itself. If the balance is too low, the tool says so and nothing is charged.

### Can my assistant upload a start frame?

Yes, if you own it or may use it. A photo of a real person needs that person's consent, and requests about celebrities or public figures are refused.

### My client keeps asking me to sign in. Why?

The saved sign-in has gone stale. Remove the server from the client, add it back and sign in again.

### How long until a shot is ready, and where do I get it?

A plan takes under a minute, a 4-second shot a few minutes. Every result is kept privately in your Creations, and the assistant receives a link to it.


---

Source: https://minimaxm4.ai/mcp-server · Site index for AI agents: https://minimaxm4.ai/llms.txt · Full content: https://minimaxm4.ai/llms-full.txt
