Skip to main content

AI-powered video editing MCP server with Submagic API integration

Project description

Submagic MCP Server

AI-powered video editing MCP server for automatic captions, magic zooms, B-rolls, and viral clip generation. Process videos in 107 languages with professional templates and advanced editing features.

Status: Production-Ready | API Coverage: 100% | Rating: 9.5/10


Quick Start

Installation

# 1. Create virtual environment
python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

# 2. Install dependencies
pip install -r requirements.txt

# 3. Configure API key
echo 'SUBMAGIC_API_KEY="sk-your-key-here"' > .env

# 4. Test the server
python tests/test_server.py

Get your API key at: https://app.submagic.co/signup

Claude Desktop Setup

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "submagic": {
      "command": "/absolute/path/to/venv/bin/python",
      "args": ["/absolute/path/to/submagic_mcp.py"],
      "env": {
        "SUBMAGIC_API_KEY": "sk-your-api-key"
      }
    }
  }
}

Restart Claude Desktop - done!


Features

AI Video Processing

  • AI Captions - 107 languages, 98%+ accuracy
  • Magic Zooms - AI-powered dynamic zoom effects
  • Magic B-rolls - Auto-insert stock footage (0-100% coverage)
  • Silence Removal - 3 speeds: natural (0.6+s), fast (0.2-0.6s), extra-fast (0.1-0.2s)
  • Bad Takes Removal - AI removes "um", "uh", "like" filler words
  • Custom B-rolls - Insert your own videos at exact timestamps

Social Media Optimization

  • 30+ Templates - Hormozi series, Beast, Sara, professional styles
  • Magic Clips - Auto-generate viral clips from YouTube (15-300s duration)
  • Platform Presets - TikTok (15-30s), Reels (30s), Shorts (45-60s)
  • Custom Themes - Apply your branded styling
  • Aspect Ratios - 9:16, 1:1, 16:9, 4:5 via export dimensions

Professional Workflow

  • Post-Creation Editing - Update silence removal, add filler word cleanup, insert B-rolls
  • Iterative Refinement - Update and re-export multiple times
  • Webhook Notifications - Get notified when processing completes
  • Custom Dictionary - Improve transcription accuracy

Usage Examples

Basic: Create Video with AI Captions

submagic_create_project(
    title="Product Demo",
    language="en",
    video_url="https://example.com/video.mp4",
    template_name="Hormozi 2",
    magic_zooms=True,
    magic_brolls=True,
    remove_silence_pace="fast"
)

Advanced: Professional Editing Workflow

# 1. Create project
project_id = submagic_create_project(...)

# 2. Wait for processing (2-10 min)
submagic_get_project(project_id)

# 3. Fine-tune after reviewing
submagic_update_project(
    project_id=project_id,
    remove_silence_pace="extra-fast",  # Tighten pacing
    remove_bad_takes=True               # Clean filler words
)

# 4. Export for TikTok (9:16 vertical)
submagic_export_project(
    project_id=project_id,
    width=1080,
    height=1920,
    fps=30
)

# 5. Get download URL
submagic_get_project(project_id)  # Check for downloadUrl

Magic Clips: YouTube to TikTok

# Generate 15-second TikTok clips from YouTube video
submagic_create_magic_clips(
    title="TikTok Highlights",
    youtube_url="https://youtube.com/watch?v=abc123",
    language="en",
    min_clip_length=15,
    max_clip_length=30,
    user_theme_id="your-brand-uuid"  # Optional branding
)

Insert Custom B-Roll

# Replace boring section with product demo
submagic_update_project(
    project_id=project_id,
    custom_broll_items=[
        {
            "startTime": 30.0,
            "endTime": 45.0,
            "userMediaId": "your-broll-uuid"  # From Submagic editor
        }
    ]
)

Tools Reference

Tool Purpose Rate Limit
submagic_list_languages Get 107 language codes 1000/hour
submagic_list_templates List 30+ templates 1000/hour
submagic_create_project Create video with AI features 500/hour
submagic_get_project Check status, get download URLs 100/hour
submagic_update_project Edit after creation 100/hour
submagic_export_project Export with custom settings 500/hour
submagic_create_magic_clips Generate clips from YouTube 500/hour

Platform-Specific Exports

TikTok (9:16 Vertical)

submagic_export_project(project_id, width=1080, height=1920)

Instagram Reels (9:16)

submagic_export_project(project_id, width=1080, height=1920)

Instagram Feed (1:1 Square)

submagic_export_project(project_id, width=1080, height=1080)

YouTube (16:9 Landscape)

submagic_export_project(project_id, width=1920, height=1080)

Instagram Feed Optimized (4:5)

submagic_export_project(project_id, width=1080, height=1350)

Important Notes

Workflow

  • Create → Wait 2-10 min → (Optional) Update → Re-export → Download
  • After updating, MUST re-export to apply changes
  • Can iterate multiple times for refinement

Limitations

  • Videos must be publicly accessible URLs (no local files yet)
  • Max: 2GB file size, 2 hours duration
  • Formats: MP4, MOV input | MP4, MOV output
  • remove_bad_takes adds 1-2 minutes processing time

Dashboard vs API

Some dashboard features are NOT available via API:

  • Correct Eye Contact (AI)
  • Clean Audio enhancement
  • Generate Hook Title (AI)
  • Explicit aspect ratio parameter (use export dimensions instead)

See docs/API_LIMITATIONS_DISCOVERED.md for full analysis.


Troubleshooting

Server won't start:

pip install -r requirements.txt
python -c "from submagic_mcp import app; print('OK')"

Authentication failed:

  • Check .env file has correct API key
  • Key must start with sk-

Project stuck processing:

  • Normal: 2-10 minutes
  • Large videos: up to 15 minutes
  • Check every 30-60 seconds

Pricing

  • Free Trial: 3 videos with watermark
  • Starter: $14/month - 20 videos
  • Growth: $40/month - Unlimited
  • Business: $60/month - Unlimited + features

https://www.submagic.co/pricing


Resources


License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

submagic_mcp_server-1.0.1.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

submagic_mcp_server-1.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file submagic_mcp_server-1.0.1.tar.gz.

File metadata

  • Download URL: submagic_mcp_server-1.0.1.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for submagic_mcp_server-1.0.1.tar.gz
Algorithm Hash digest
SHA256 176ea5be804773f9d9c60e3ca0fbc3e1c5973bc81820c73e5024bc1d6f367264
MD5 a736a9a4b2b0e8af32f11e102c1c60b6
BLAKE2b-256 a66eb4582c66bbdffeb2e1c66190428c1d4eabb50c2fda224183f1f7357d345f

See more details on using hashes here.

File details

Details for the file submagic_mcp_server-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for submagic_mcp_server-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 334485a667e8059d495f193c7ccb4478108665a78679e3a7e1e8cdffb2385390
MD5 42cb04e257eb871e5338315a452b7ef2
BLAKE2b-256 a9eca135b68830faf9285fb37c1dcc37e5e37296b6cb221aa6db899d4735f57c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page