API & MCP
Everything a person can do on Video Cutter & Merger, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://videocuttermerger.usefulweb.site/api/v1/calculate– run Video Cutter & MergerGET https://videocuttermerger.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Video Cutter & Merger
Cuts a video to a start and end time, removes a section from the middle, or joins up to 5 clips in order. Copy mode is fast and lossless but cuts on keyframes; exact mode re-encodes (H.264/AAC) for frame-accurate cuts. Clips with identical settings are joined losslessly with the concat demuxer, others are normalised to a common size and frame rate first.
| Field | Type | Default | Description |
|---|---|---|---|
mode | select (cut, remove, merge) | "cut" | What to do |
file (required) | file | — | Video file (clip 1). MP4, MOV, MKV, WebM, AVI, MPEG-TS; max 250 MB and 20 minutes (in total when merging). |
file2 | file | — | Clip 2 (merge mode) |
file3 | file | — | Clip 3 (merge mode) |
file4 | file | — | Clip 4 (merge mode) |
file5 | file | — | Clip 5 (merge mode) |
start | text | — | Start time. Seconds, mm:ss or hh:mm:ss.mmm. |
end | text | — | End time. Empty = to the end. |
accuracy | select (copy, exact) | "copy" | Cut accuracy |
forceReencode | boolean | false | Merge: always normalise and re-encode (use if a lossless merge plays badly) |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://videocuttermerger.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
video_cutter_merger - Local stdio connector:
node src/mcp-stdio.ts --tool=video-cutter-merger
{
"mcpServers": {
"video-cutter-merger": { "type": "http", "url": "https://videocuttermerger.usefulweb.site/mcp" }
}
}