Back to Browse

Magi2aivideo Cli MCP Server

Developer ToolsLow Risk10.0MCP RegistryRemote
Free

Server data from the Official MCP Registry

Generate 1080p MAGI-2 AI videos with native audio from text, frames or reference images.

About

Generate 1080p MAGI-2 AI videos with native audio from text, frames or reference images.

Remote endpoints: streamable-http: https://magi2aivideo.net/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

5 tools verified · Open access · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

file_system

Applies to the server that hosts this plugin, not to your machine.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "net-magi2aivideo-magi2": {
      "url": "https://magi2aivideo.net/mcp",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

This server needs this header. Replace each <YOUR_...> placeholder with your own value:

  • X-API-Key (required): Your MAGI-2 AI Video API key (m2v_…). Create one at https://magi2aivideo.net/settings/api-keys

Documentation

View on GitHub

From the project's GitHub README.

magi2aivideo

Command-line client and MCP setup helper for MAGI-2 AI Video — generate cinematic 1080p MAGI-2 videos with native audio (up to 30 seconds) from your terminal, your scripts or your AI agent.

  • Text to video, image to video (first + last frame) and reference to video
  • Paid with your magi2aivideo.net Credits: 20 Credits per second, charged only on success
  • Zero dependencies, Node.js 18.17+

Quick start

# 1. Create an API key: https://magi2aivideo.net/settings/api-keys
npx magi2aivideo login

# 2. Generate and download a video
npx magi2aivideo generate "A red fox runs through fresh snow, low tracking shot. Sound: crunching snow." \
  --duration 8 --ratio 16:9 --wait --out fox.mp4

Use it often? Install once and use the short magi2 command:

npm install -g magi2aivideo
magi2 generate "Fast rooftop parkour at golden hour. Sound: footsteps, wind." --wait --out parkour.mp4

Commands

CommandWhat it does
login [key]Save your API key to ~/.config/magi2/config.json
generate "<prompt>" [options]Start a video (add --wait --out file.mp4 to download it)
status <id>Show status
wait <id> [--out file]Wait until it finishes
download <id> [--out file]Download a finished video
listRecent videos
creditsAvailable Credits
estimate <seconds>Credits for a given length
mcpPrint ready-to-paste MCP setup for Claude Code, Cursor and Claude Desktop

Generate options: --duration 4-30, --ratio 16:9|9:16|1:1|4:3|3:4|21:9, --no-audio, --first-frame, --last-frame, --image (×10), --video (×5), --audio (×5), --mode, --wait, --out, --json. Media can be local files (uploaded automatically) or https:// URLs. In reference mode, mention them in the prompt as @Image1, @Video1, @Audio1.

MAGI2_API_KEY overrides the saved key.

Use MAGI-2 from AI agents (MCP)

MAGI-2 AI Video runs a remote MCP server at https://magi2aivideo.net/mcp with the tools generate_video, get_video, list_videos, get_credits and estimate_cost. For Claude Code:

claude mcp add --transport http magi2 https://magi2aivideo.net/mcp \
  --header "Authorization: Bearer m2v_your_key"

Run npx magi2aivideo mcp to print the setup for every client with your key filled in.

Links

MAGI-2 AI Video is an independent service and is not affiliated with Sand.ai.

License

MIT

Reviews

No reviews yet

Be the first to review this server!