Skip to main content

AI-powered video editing MCP server with Submagic API integration

Project description

Submagic MCP Server

mcp-name: io.github.sidart10/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.2.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.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: submagic_mcp_server-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e226264bc68d0d3b6dc10748d5a09630e883903a514a92ea63a5fc3629ea62a2
MD5 d9e0e672fb4d395a42675c7a2e05adfb
BLAKE2b-256 c59948d3b0e94ca10b230ff7bf11362b36cfb1e6f82ae679fd28150dad591ac8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for submagic_mcp_server-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6e430d105ead05bb2d572733d04b3c55a978c08793e129f98f07c3bdce2558
MD5 ad2c7262bf7e3b74313d36da97790495
BLAKE2b-256 3576547bda4deb1b83adb8e0ae2a818f5720ab99e326e4edc930635294b9149e

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