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-0.7.0.tar.gz (124.6 kB view details)

Uploaded Source

Built Distribution

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

vidmcp-0.7.0-py3-none-any.whl (172.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vidmcp-0.7.0.tar.gz
Algorithm Hash digest
SHA256 cb3ed45e2d13eba3d22d4870b8ccbb387321680d1521ccf2d4453f17be4a91ad
MD5 f7c8fa26f28f3e2d6c72067c33d5c092
BLAKE2b-256 d0b98c6a29da748d5ee1e2e30a116ee2f16cc3e2de654c6e932f6c375b25b1f4

See more details on using hashes here.

File details

Details for the file vidmcp-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: vidmcp-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 172.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for vidmcp-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abe22cba9ee38aa07020c1199f7cc8942476d49072fc2ff6046ea1c539a5bb83
MD5 949d08972bf557c3b036f3ef08ea0f7e
BLAKE2b-256 edc7e3a4c341b2ab67030a34fe4aed3a452f9a958b1505fa63578cde43183c34

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