Model Context Protocol
Generate video with sound from Claude, ChatGPT or Cursor
The Magi-2.xyz MCP server lets your assistant start a clip with sound from a prompt or an image on any of the four models, check on it and hand you the MP4, all with your Magi-2.xyz credits and the same rules as the generator.
Server URL (Streamable HTTP)
https://magi-2.xyz/mcp
Tools
list_options- Lengths, frame shapes and credit prices.
make_video- Prompt (and an optional start image) → a clip with sound on the model you choose. From 8 credits.
get_task- Status and link for one video.
list_tasks- Your latest videos, filterable by status.
get_credits- Remaining balance and plan.
Credits are taken when a render starts and come back automatically if it fails. The prompt is screened before anything is charged.See credit prices
Add it to your client
Pick your app, paste the snippet, then sign in when the browser opens.
In claude.ai or Claude Desktop open Settings → Connectors → Add custom connector, name it Magi-2.xyz and paste the URL. Press Connect and approve access.
https://magi-2.xyz/mcp
Your browser opens Magi-2.xyz: sign in (or create a free account) and press Allow access. No password or API key is shared with the assistant.
How sign-in works
- Your client calls the server and receives a 401 that points to our OAuth metadata.
- It registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
- You sign in on Magi-2.xyz and approve that one app on the consent screen.
- The client gets a token for https://magi-2.xyz/mcp only, refreshed automatically and revocable at any time.
Scripts and headless agents
There are no API keys yet: every client signs in with OAuth, which works in Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf.
{
"mcpServers": {
"magi-2-xyz": {
"url": "https://magi-2.xyz/ mcp",
"headers": {
"Authorization": "Bearer sk_your_key"
}
}
}
}Questions and fixes
Does the MCP server cost extra?
No. Connecting is free; you only spend the credits each video costs, exactly as in the generator.
What can my assistant make?
Clips with sound from a prompt, optionally with one start image you link: it can pick any of the four models, a length, resolution and frame shape, then check on the render until the MP4 is ready.
What happens if a video fails or my balance is too low?
A render is charged when it starts and refunded automatically if it fails. If your balance is too low, the tool says so and nothing is charged.
Can my assistant use any image?
Only images you own or have permission to use, and no photos of real people who have not agreed. Prompts that depict celebrities or public figures are refused.
My client keeps asking me to sign in. What do I do?
Remove the server from the client and add it again so it starts a fresh sign-in.
Where do finished videos go, and how long do they take?
Most videos take one to three minutes. They are saved privately to your Creations page, and the assistant gets a direct link to the MP4.
Last updated: