Shotstack MCP server
23 operations3 webhooks
Cloud video editing and rendering: build a timeline as JSON, render video, image, GIF or audio, manage templates, generate AI assets, ingest source files and serve hosted assets.
Try Shotstack with your agent
Connect Shotstack, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Shotstack on my account, then run one read-only example and show me the result.
Shotstack tools and triggers
Tools are what your agent can do in Shotstack through Corsair's MCP server. Triggers are the Shotstack events a routine can start from.
Templates
- CreateWrite
Save an edit (timeline and output) as a named template that can be rendered with placeholders.
templates.create
- DeleteDestructive
Permanently delete a saved template; there is no undo.
templates.delete
- GetRead-only
Read one saved template, including its full edit.
templates.get
- ListRead-only
List the saved templates with their ids and names.
templates.list
- RenderDestructive
Queue a render of a saved template with placeholder values merged in; spends credits. Poll renders.get for the result.
templates.render
- UpdateWrite
Overwrite a saved template with a new name or edit.
templates.update
Generations
- CreateDestructive
Generate an image, video or audio asset from a prompt with an AI model; spends generation credits. Follow it with generations.get until status is done or failed. Pass idempotencyKey to make retries safe.
generations.create
- GetRead-only
Where a generation job stands. Once done it returns the public URL of the generated asset.
generations.get
- Get ModelRead-only
Read one generation model, including the JSON Schema of the options it accepts.
generations.getModel
- List ModelsRead-only
List the generation models available to this account, each with the asset type it generates and whether the plan includes it. Pass expand: 'options' to include each model's option schema.
generations.listModels
- QuoteRead-only
Estimate the generation credits an asset would cost, without reserving credits or generating anything.
generations.quote
Assets
- DeleteDestructive
Permanently delete a hosted asset from Shotstack storage and its CDN; there is no undo.
assets.delete
- GetRead-only
Read one hosted asset: its durable CDN URL, filename, size and status.
assets.get
- Get By Render IdRead-only
List the assets a render produced (video, poster, thumbnail), including the durable CDN URL to serve them from.
assets.getByRenderId
- TransferDestructive
Copy a file to external destinations such as Shotstack hosting, S3, Google Cloud Storage, Mux, Vimeo or Google Drive (set up under Integrations in the dashboard). Answers queued; the copy runs afterwards. The hosted copy is listed by assets.getByRenderId with the id you passed.
assets.transfer
Sources
- DeleteDestructive
Permanently delete an ingested source file; there is no undo.
sources.delete
- FetchDestructive
Fetch a file from a URL into Shotstack storage so the Edit API can use it; renditions and transcriptions in outputs spend credits. Follow it with sources.get until status is ready, or pass a callback URL.
sources.fetch
- GetRead-only
Read one ingested source file: its hosted URL, status, dimensions and duration.
sources.get
- ListRead-only
List the ingested source files with their status and metadata.
sources.list
Renders
- CreateDestructive
Queue a video, image, GIF or audio render of a JSON timeline; spends credits on production (sandbox renders are watermarked). Follow it with renders.get until status is done or failed, or pass a callback URL.
renders.create
- GetRead-only
Where a render stands. Once done it returns the temporary download URL, which expires after 24 hours; serve the asset from its CDN URL via assets.getByRenderId instead.
renders.get
Media
- ProbeRead-only
Inspect a media file at a remote URL and return its FFprobe metadata: width, height, duration, fps and type.
media.probe
Uploads
- CreateWrite
Get a signed S3 URL to upload a file directly, so the Edit API can use it as a source. PUT the bytes to the returned url within one hour.
uploads.create
Connect Shotstack to Claude, ChatGPT or Cursor
- 1
Connect Shotstack in Corsair
Add your Shotstack API key once in Corsair. Corsair stores the credential encrypted and makes the Shotstack API calls for your agent, so it never goes into a prompt or a config file. Connect Shotstack
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Shotstack. On a ChatGPT personal plan, connect Shotstack here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Shotstack's read and write operations run right away and its 8 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/shotstack, add the Shotstack plugin, and connect with an API key. Then call methods like corsair.shotstack.api.assets.delete() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. Shotstack requires an API key from your Shotstack account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Shotstack, GitHub, Notion, Stripe, and the rest. Trigger Shotstack from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for cloud video editing and rendering: build a timeline as JSON, render video, image, GIF or audio, manage templates, generate AI assets, ingest source files and serve hosted assets. Common builds include sync jobs, admin tooling, and agents that call Shotstack APIs from your backend. Webhook handlers react to Shotstack events and fan out to Slack, email, or other plugins in the same tenant.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Shotstack API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/shotstack in the open repo. When Shotstack ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Shotstack data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Shotstack data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Shotstack on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 8 destructive Shotstack operations. You can change a link's mode at hub.corsair.dev/me.