MetorialDocs

Set up Shotstack in Metorial for Claude, ChatGPT and Cursor

Share Shotstack with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 25 tools (13 read-only).

To give your team Shotstack in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Shotstack integration in a Metorial portal, and each person connects with an API key. Agents can programmatically edit and generate videos, images, and audio using a JSON-based timeline model. The integration has 25 tools, 13 read-only, 9 write and 3 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Shotstack in a portal and how each person connects
  • What Shotstack asks for when you connect, and where to find it
  • How to keep the 13 read-only tools and reject the other 12

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

API Key

To connect, a person enters:

  • apiKey: Your Shotstack API key from the dashboard. Use the sandbox key for testing or production key for live usage.

Setup settings

Setup also asks for:

  • environment (optional): API environment. Use "sandbox" for testing (watermarked output) or "production" for live usage. One of "production", "sandbox".

Admin: share Shotstack in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Shotstack. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Shotstack.

Choose who gets it

Add the access groups that should see Shotstack. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Shotstack integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search shotstack

Employee: connect Shotstack

In the portal

Open Shotstack in the catalog

Sign in to your portal and open Shotstack. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search shotstack
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Shotstack connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list shotstack
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 13 read-only tools, such as get_render and get_source, and lose the 9 write tools, such as render_video or ingest_source, and the 3 destructive tools, such as delete_source or delete_template.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list shotstack
metorial tools <integration-id>
metorial call <integration-id> list_sources -d '{}'

metorial tools lists the 25 tools, minus any you rejected. list_sources takes no input. It lists all ingested sources.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (13)

  • get_hosted_asset: Retrieve details of a hosted asset by its asset ID. Needs assetId.
  • get_assets_by_render: Look up all hosted assets for a render job (video, poster, thumbnail). Needs renderId.
  • probe_media: Inspect a media file at a given URL and retrieve its metadata. Needs url.
  • get_template: Retrieve a template's full details including the edit configuration. Needs templateId.
  • list_sources: List all ingested sources.
  • get_render: Check the status and details of a render job. Needs renderId.
  • get_generated_asset: Check the status of an AI-generated asset. Needs generatedAssetId.
  • list_templates: Retrieve a list of all saved templates.
  • get_source: Retrieve details of an ingested source including status, dimensions, duration, rendition outputs, and transcription results. Needs sourceId.
  • quote_generation: Estimate the credits for a media generation without creating a job or reserving credits.
  • list_generation_models: Discover current generation model IDs, media types, account availability, and optionally option schemas.
  • get_generation: Check an Edit API generation job and prepare its completed media for download.
  • get_generation_model: Get a model from list_generation_models, including its accepted settings as a JSON Schema.

Write tools (9)

  • render_template: Render a previously saved template. Needs templateId.
  • transfer_asset: Fetch a file from a public URL and distribute it to one or more hosting destinations. Needs url.
  • request_upload_url: Request a signed URL for direct file upload.
  • render_video: Submit a video, image, or audio edit for rendering. Needs timeline and output.
  • generate_ai_asset: Generate images, videos, speech, or text using built-in or third-party AI providers. **Built-in Shotstack providers:** - **text-to-speech**: Generate speech audio from text with multiple voices and languages. - **text-to-image**: Generate images from text prompts. - **image-to-video**: Convert still images into videos. - **text-generator**: Generate text content powered by GPT-4. **Third-party providers** (require API keys configured in the Shotstack dashboard): - **elevenlabs**: Realistic text-to-speech. - **d-id**: Talking avatar generation from text. - **stability-ai**: Image generation using Stable Diffusion engines. - **heygen**: Avatar video generation. Needs provider and options.
  • ingest_source: Fetch and ingest a media file from a URL. Needs url.
  • create_template: Save a reusable edit configuration as a template. Needs name and template.
  • update_template: Update an existing template's name and/or edit configuration. Needs templateId, name and template.
  • generate_media: Generate a single image, video, or audio asset with the current Edit API.

Destructive tools (3)

  • delete_hosted_asset: Permanently delete a hosted asset from the Shotstack CDN. Needs assetId.
  • delete_source: Permanently delete an ingested source and its stored files. Needs sourceId.
  • delete_template: Permanently delete a saved template. Needs templateId.

Triggers

Shotstack has 1 trigger, which fire on events in Shotstack:

  • shotstack_events: Receives webhook callbacks for render completion, asset hosting, and ingestion events.

Next steps