openscreen-tmcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
openscreen-tmcp
A tiny MCP server that sits in front of OpenScreen's own MCP server and collapses its 25 tools into 6 — so any AI agent can edit video for far fewer tokens, with the house action-enum style and a bundled Agent Skill carrying the workflow knowledge.
graph LR
A["Agent<br/>VS Code · Claude Code · Codex · Cursor"] -->|"stdio: 6 tools"| B["openscreen-tmcp<br/>tmcp + Valibot"]
B -->|"fetch + Bearer token"| C["OpenScreen app<br/>127.0.0.1:47821/mcp<br/>25 tools"]
C --> D["live editor document"]
B -.->|"skills/openscreen/SKILL.md"| AIt is a proxy: every mutation is executed by OpenScreen. No editing logic is reimplemented, no session state is kept, and upstream's error wording is passed through verbatim.
Install
bunx --package openscreen-tmcp openscreen-tmcpConfiguration (e.g. VS Code mcp.json, Claude Code, Codex):
"openscreen-tmcp": {
"command": "bunx",
"args": ["--package", "openscreen-tmcp", "openscreen-tmcp"],
"env": {
"OPENSCREEN_MCP_URL": "http://127.0.0.1:47821/mcp",
// paste the header value verbatim, "Bearer " included:
"OPENSCREEN_MCP_AUTHORIZATION": "Bearer <token from OpenScreen>",
// or just the bare token — the env var OpenScreen's own Codex setup uses:
// "OPENSCREEN_MCP_TOKEN": "<token from OpenScreen>"
}
}Get the URL and token from the OpenScreen app: AI settings → MCP server → copy the shown command. The agent never sees the token. OPENSCREEN_MCP_AUTHORIZATION wins if both are set.
Optional: OPENSCREEN_TMCP_TIMEOUT_MS (default 15000) and OPENSCREEN_TMCP_DEBUG=true (verbose stderr logging).
Related MCP server: Lazynext MCP Server
The 6 tools
Tool | Actions | Absorbs upstream |
|
| getCurrentDocument, getCursorTrack, getTranscript, getTranscriptWords + a local coverage report + local ffmpeg frame rendering |
|
| addTrim, addTrims, setTrim, removeTrim |
|
| setClipRange, moveClip, removeClip, replaceTimeline |
|
| 11 effect ops + removeModifier |
|
| setWordText |
| ordered batch of the above | — |
Coverage is exact: 4 + 4 + 4 + 12 + 1 = 25, proved by test/coverage.test.ts — if OpenScreen ever renames a tool, that test fails with the unmapped name.
Annotations stay honest after consolidation: read is the only readOnlyHint: true tool (that's why the single transcript write lives alone in caption), every edit tool carries destructiveHint: true.
read with action: "frames" is local: ffmpeg renders the recording as an image, a contact sheet of evenly spaced frames or one still at an exact second, with timestamps burned in when a caption font is found (a false burnIn in the reply means none were drawn). It is how an agent sees the video before it edits.
The rule that matters
Two time bases — never mix them. trim and clip sourceStartSec/sourceEndSec are SOURCE seconds (inside the original file); everything in effect is VIRTUAL seconds (on the edited timeline, after cuts). So: cut first, then decorate. The full workflow lives in the bundled skill.
apply is ordered, not atomic — OpenScreen has no transaction, so it stops at the first failure and reports exactly which ops landed.
Development
bun install # dependencies
bun test # 77 tests: apply, client, config, coverage, dispatch, frames, resolve
bunx tsc --noEmit
bun run dev # watch modeThe upstream endpoint is hand-rolled (fetch + JSON-RPC, ~150 lines) because tmcp ships no client package and @modelcontextprotocol/sdk is out of bounds for this repo — see plan/client-leg.md.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
The agentic video editor for ChatGPT and Claude. Ask in your chat and it cuts, captions, adds music, titles and motion graphics on a real timeline you can open and adjust.
AI video editor for agents and humans: timeline, captions, color, audio and generation as MCP tools.
Agentic AI video editor: edit a real timeline, generate clips, music and voice, then render.
Orccut: a real timeline video editor for AI agents - journaled edits, FFmpeg/MLT rendering
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control video editing software (剪映/CapCut and Adobe Premiere Pro) through a unified interface, supporting operations like material import, clip splitting, subtitle addition, effects, transitions, audio mixing, and export.10MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to read, edit, and export real video projects with a full multitrack timeline, effects, captions, and export capabilities.2-
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to generate cinematic video and image assets and perform autonomous timeline assembly, multi-track audio editing, chroma-key compositing, and local draft manipulation from conversational prompts.3MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to see, hear, and edit video projects in the Lumen editor, using tools for timeline edits, transcription, contact sheets, loudness analysis, and more.55 npm16MIT