LOCAL MCP · CODEX
Connect Clipcraft to Codex
Codex can discover templates and read their local instructions through MCP. It runs the template scripts on your computer, where your footage and output files live.
Install in Codex CLI
- Download and unzip the MCP package. Keep the
clipcraft-mcpfolder in a stable location. - Open Terminal and register the server. Replace the example with the full path to
server.pyon your computer.
codex mcp add clipcraft -- python3 "/absolute/path/clipcraft-mcp/server.py"
codex mcp get clipcraft- Restart Codex. Open a local project that can access your footage and output folder.
- Ask:
List the Clipcraft templates.The agent should calllist_templates. - Give it a local video path and say:
Check the Time Tunnel guide, then render this clip with the local template. Keep the default music.
If Codex cannot find python3, use the absolute path to your Python executable. To inspect the connection in Codex CLI, run /mcp.
Requirements and local rendering
- Python 3.10 or later and FFmpeg.
- Install the requirements listed in the selected template’s
requirements.txt. For Time Tunnel:
python -m pip install -r "/absolute/path/clipcraft-mcp/templates/time-tunnel/requirements.txt"The MCP server itself uses Python’s standard library. MCP provides the template catalog and guides; Codex uses local file and terminal access to render. Your footage is not sent to Clipcraft.
One-time test without changing Codex settings
For a temporary test from a folder containing sample.mp4, use the example command below. Replace both paths with real paths on your computer.
codex exec --ignore-user-config --ephemeral --skip-git-repo-check --sandbox workspace-write \
-c 'mcp_servers.clipcraft.command="/absolute/path/python3"' \
-c 'mcp_servers.clipcraft.args=["/absolute/path/clipcraft-mcp/server.py"]' \
-c 'mcp_servers.clipcraft.required=true' \
'Call list_templates, read the time-tunnel guide, then render sample.mp4 with the default music.'You can reproduce the verified example with examples/sample.mp4 from the separate Time Tunnel template ZIP. The combined MCP package is intended for your own footage and does not include sample videos.