Control Concat from a script
Anything the window can do to a project, a program can do through the API. Here is where that starts.
1 min read
Concat serves its API to scripts over JSON-RPC and to AI agents over MCP, so both can cut video
with it too. A build from source adds a command-line tool, concat-cli. The
developer docs are the reference. This page is the short version for people who have
never opened them.
The ways in
| Transport | How you reach it |
|---|---|
| JSON-RPC 2.0 lines | In every desktop release: the window's Settings › Automation page (the Scripts and apps switch) serves it over TCP while the editor is open. From source: concat-cli api and concat-cli serve |
| MCP over stdio | In every desktop release: an agent starts the app as concat --mcp. See MCP |
JSON-RPC carries the API's methods, payloads and errors as they are; the MCP server turns the same API into tools.
Connect an AI agent
Point the agent at the Concat program with the one argument --mcp. For Claude Code on a Mac:
claude mcp add concat -- /Applications/Concat.app/Contents/MacOS/concat --mcpThe agent works on projects of its own, never the one on your screen. With Scripts and apps on in Settings › Automation it goes through the open window; otherwise it runs Concat's engine with no window. The MCP page has the path on every system and the configuration for other clients.
Five things to know
- Call
versionfirst. Itscapabilitieslist says what this build serves. - Projects are folders. Every method names a project by its folder path, and the folder must be open first.
- Edits are commands.
edit.applycarries the window's own edit vocabulary, unchanged. - Exports are jobs.
export.runreturns at once; progress comes as events; one export runs at a time. - Errors have codes. Branch on
code; showmessageto a person.
Ready for more? Start with the quick start, then the API overview.
Keep reading
Reference
Report a problem
Every run writes a log. Settings has the buttons that get it, and your system information, into an issue.
2 min read
Reference
Update Concat
The app updates itself from Settings › Version, and can go back a release too.
1 min read
Reference
Concat on a phone
The Android app is its own editor, built for a thumb. Where everything moved to.
3 min read