Skip to main content

AI video editing MCP server — SAM 3.1 segmentation, behind-the-subject VFX, education scenes

Project description

VidMCP flow field

VidMCP

Agents don’t describe video. They cut it.

Website Author GitHub Python License

MCP server for text-prompt mattes · behind-the-subject VFX · education scenes
Built by Dhiraj Lochib · Site vidmcp.com


Gallery

Behind the subject
Behind the subject — particles under the matte

Tesseract
Tesseract · 4D with trails
Kinetic
Kinetic · agent edit language
Unit circle
Unit circle · live sin / cos
Pipeline
Pipeline · import → render
Sample GIF MP4
Flow field gif mp4
Tesseract gif mp4
Behind the subject gif mp4
Kinetic gif mp4
Unit circle gif mp4
Pipeline gif mp4
python scripts/generate_samples.py

Install

Needs: Python 3.11+, ffmpeg

git clone https://github.com/dhirajlochib/VidMcp.git
cd VidMcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e .

export VIDMCP_SAM_BACKEND=mock
export VIDMCP_WORKSPACE_ROOT=./workspaces
vidmcp --doctor
vidmcp

Optional

pip install -e ".[mlx]"   # Apple Silicon SAM 3.1
pip install -e ".[sam]"   # CUDA
pip install -e ".[dev]"   # tests

MCP (Claude Desktop)

{
  "mcpServers": {
    "vidmcp": {
      "command": "/ABS/PATH/VidMcp/.venv/bin/vidmcp",
      "env": {
        "VIDMCP_SAM_BACKEND": "mock",
        "VIDMCP_WORKSPACE_ROOT": "/ABS/PATH/VidMcp/workspaces"
      }
    }
  }
}
claude mcp add vidmcp -s user -- /ABS/PATH/VidMcp/.venv/bin/vidmcp

What it does

Segment Text-prompt subject matte (SAM / MLX / mock)
Compose Effects behind the subject
Educate Math plates + narration hooks
Harness Plan → perceive → critic gates
create_project → import_video → segment_subject
  → apply_background_effects → composite_and_render

Project

src/vidmcp/       MCP server + tools
demos/samples/    GIFs · MP4s · stills
site/             vidmcp.com (Hostinger)
configs/          Claude / Cursor
scripts/          generate_samples.py

Author

Dhiraj Lochib — Full-Stack, Blockchain, AI
dhirajlochib.com · GitHub · LinkedIn · dhirajch145@gmail.com


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

vidmcp-1.0.1.tar.gz (127.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for vidmcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 435834382ea1ba4c19893ed3e27e92c799eb7ed0e1e8261c244ee30a526b839a
MD5 18ef685304642549985b6cbd1b648247
BLAKE2b-256 1f6f5da6e9721316f9fb215535d4fac1d4f8ddef8acfa1a43142cbdf2d020efb

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