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.2.tar.gz (127.5 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.2-py3-none-any.whl (177.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vidmcp-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 56496eb37d7dadc6a7656d7c2949d645341f908c122bb00aa83b8e4a0fd1eb75
MD5 8a55337cdc30ea446b851286a9d0e7a4
BLAKE2b-256 a4ffb3d520aa71000d11ad86d148d63f7286d678ce6765777c30ceb620e44c3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vidmcp-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 177.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0005aa92bd1e83cf608fd4f7f7b48f7917b6a508d062e8fc70568fe2b3ffc6cf
MD5 ec0ba3f6965ed4f2549d06f2961c9e70
BLAKE2b-256 bfdccde0d90f5cbaf5bfc1770e4745a47cfc3a4f9699ba6eb3af0e01ab935ed4

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