Connect Claude Code or Codex to ClipMill with MCP.
Connect Claude Code or Codex to the local ClipMill MCP server. Search podcast transcripts, review suggested moments, and create editable video clips on your computer.
By ClipMill · Updated
Prepare ClipMill
The ClipMill Model Context Protocol (MCP) server lets a local session in Claude Code or Codex use ClipMill to search recordings, review clip suggestions and create editable clips. ClipMill 0.5 introduced the connected-agent workflow. Download the latest ClipMill to get the 0.5.1 patch or newer, including the fix that restores the bundled ClipMill command on affected Windows upgrades.
- Open ClipMill and finish setting up the processing components and models. Keep the desktop app open on the computer running your MCP client.
- In Settings → Connected agents, name the client and choose its permissions. Enable Read to search analyzed recordings. Add Edit to analyze a new file or make an editable clip. Enable Render if you want that client to export files. Then choose Connect an agent.
- Save the token when ClipMill displays it. The app shows it once. Copy the executable path from the configuration that ClipMill displays. On Linux AppImage builds, keep the AppImage at the path shown.
Use a separate token per client and give it the permissions you want that client to have. Make the token available as CLIPMILL_TOKEN in the private environment of the client you start. Keep the value out of the chat, shell history, and shared project files.
Connect Claude Code
Run this in the directory where you start Claude Code. Replace the path with the absolute path from ClipMill. The connection will be available to you in that directory. Claude Code reads the token from your session when it connects. Use the PowerShell form on Windows.
claude mcp add --env 'CLIPMILL_TOKEN=${CLIPMILL_TOKEN}' --transport stdio --scope local clipmill -- "/absolute/path/to/clipmill" mcp
claude mcp add --env 'CLIPMILL_TOKEN=${CLIPMILL_TOKEN}' --transport stdio --scope local clipmill -- "C:\path\to\clipmill.exe" mcp
Start Claude Code from the local environment containing CLIPMILL_TOKEN. Open /mcp and look for clipmill. The tool check below confirms ClipMill is running and the token works.
Connect Codex
Add this to your user-level ~/.codex/config.toml. Use the executable path ClipMill gives you. TOML single quotes preserve backslashes in Windows paths.
[mcp_servers.clipmill]
command = '/absolute/path/to/clipmill'
args = ["mcp"]
env_vars = ["CLIPMILL_TOKEN"]
Start a fresh local Codex session with CLIPMILL_TOKEN available to Codex. In the CLI, use /mcp to check that clipmill is listed, then try the tool check below.
Try a recording search
Analyze a recording in Studio, then start with Read access. Give the agent a project name, a recording name, and a phrase you remember. Replace the bracketed text in this example.
Use the ClipMill MCP server. First check clipmill_status.
Search my analyzed [recording] in [project] for "[phrase]".
Show up to three matches with their timestamps and a short quote.
A successful run reports that ClipMill is reachable and returns timestamped passages when there are matches. If you find a useful moment, ask the agent to shortlist existing clip suggestions. With Edit access, it can create an editable clip from a suggestion you choose. Open the edit in ClipMill Studio to review captions and framing. For agent-initiated export, grant Render, give a local destination, and confirm that you have permission to use the footage.
For a worked example of ranking exact quotes and paraphrases, read hybrid transcript search with SQLite.
If the connection fails, keep Studio open and check the executable path, the token in the client’s environment, and the scopes in ClipMill. If there’s no transcript yet, analyze the recording in Studio first.
Let your agent handle clip selection
If you want your agent to handle the editorial review, grant Read and Edit and ask it to call clipmill_analyze with editorial: "none" for a recording. ClipMill still transcribes and generates built-in clip suggestions. The agent can read the timed transcript and shortlist those suggestions without running ClipMill Mind’s editorial inference.
You can see a client’s activity and revoke its token in Settings → Connected agents. ClipMill runs the video processing on your computer. Your MCP client receives the transcript excerpts and project information it requests, which may go to the client’s model provider under its own settings.
ClipMill 0.5.1 connection reference · ClipMill privacy and local processing
Download ClipMill and try the workflow with a recording you know well.
More clipping guides