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.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-1.0.0-py3-none-any.whl (172.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vidmcp-1.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d1e526cd54c6b7bd34b46f77d7c9e510da1dccec86e63dcf0656bcec391d72d7
MD5 87182bc9bf2cf43800032549bb5c3643
BLAKE2b-256 d87bb641d0e165e6f6b9af7f23ca53470c1200aea18246550dd9c1b1645917b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vidmcp-1.0.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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6001487402d466cd8422512b5825e1350199b5451eaec9921af77f8077eb1efb
MD5 3dbe5cfa351e3296fb5542f47e6fc3b9
BLAKE2b-256 5b291146baa997c1c6ebe5d7316691dc70ddd8c10c78459d7ed5af6f966813a9

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