Skip to main content
Glama

Transcodely MCP Server

A video pipeline for AI agents, over the Model Context Protocol — with nothing on it that can delete your work.

transcodely/mcp MCP server

Hand your agent a video URL and it comes back a playable link: transcoded into an ABR ladder, hosted, captioned if you ask. Then let it read back what it actually produced, what it cost, and why an upload did not become a job. No delete, no cancel, no key material. Connect with one OAuth click — no API key to create or paste.

This is the public home of the hosted server: connect instructions, the tool surface, and the registry manifest. The server itself is a hosted service — there is nothing to install or run.

Connect

Claude Code

claude mcp add --transport http transcodely https://mcp.transcodely.com/mcp

Then run /mcp inside Claude Code and pick Authenticate — your browser opens, you approve, and the tools are live. No Transcodely account yet? One is created for you during authorization.

claude.ai / Claude desktop — Settings → Connectors → Add custom connector → https://mcp.transcodely.com/mcp.

Cursor — add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "transcodely": { "type": "http", "url": "https://mcp.transcodely.com/mcp" }
  }
}

Any other client that supports remote MCP servers over streamable HTTP works the same way. For headless use (CI, server-side agents), attach a Transcodely API key as a bearer token instead — see the connect guide.

Related MCP server: @ffmpeg-micro/mcp-server

Tools (20)

Twenty tools: twelve only read, six create something — five of those start work you are billed for, and saving a preset is free — and two overwrite a setting that only affects work created after it. No tool on this surface deletes, cancels, removes or rotates anything.

Tool

Effect

What it does

create_job

creates work · billable

Create a transcoding job.

create_preset

creates · free

Create a custom encoding preset for this app: a named, reusable bundle of encoding settings that create_job can reference by slug.

create_video_from_url

creates work · billable

Ingest a remote https:// video and host it in one call — this is the tool for "transcode and host this, give me a link".

generate_captions

creates work · billable

Generate AI captions (subtitles) for a hosted video by id (vid_...).

generate_highlights

creates work · billable

Cut short highlight clips (MP4) from a hosted video by id (vid_...) around the quotable moments its ready AI insights picked.

generate_insights

creates work · billable

Generate AI insights (title suggestions, summary, key points, chapters, questions, key terms, quotable highlights, topics) for a hosted video by id (vid_...) from its existing AI captions; nothing is re-transcribed.

get_ingest_rule

read

Fetch one ingest rule by id (ing_...): its origin, enabled state, filters, the job it submits, and its event/job counts.

get_job_status

read

Get a concise status snapshot for a transcoding job by id (job_...): overall status and progress, any error code/message, and per-output status/progress with errors.

get_output_report

read

Get the full measurement report for one job output (job_... plus out_...): what the produced file turned out to BE, measured from the written file, and the verdict of comparing that against what the job asked for.

get_pricing

read

Return the prices this app pays, in EUR: every chargeable item (encoding per codec, the resolution, quality and feature multipliers, the captions, insights and processing fees, hosting storage and delivery) with its rate and unit, custom: true where this account has a custom rate, and the public list price beside it.

get_seo_markup

read

Get ready-to-paste SEO markup for showing a hosted video (vid_..., ready, public or unlisted) on your own web page at watch_url: schema.org VideoObject JSON-LD (with chapter key moments when the video has insights), a video sitemap entry, and an escaped HTML fragment with the summary, chapter links and full transcript. watch_url is only embedded in the output, never fetched.

get_transcript

read

Get the transcript of a hosted video (vid_...) produced by its AI captions, as txt (plain text, the default), md (Markdown with timestamp links) or json (paragraphs, sentences and words with timings).

get_usage

read

Return hosting usage and cost for a billing month: videos encoded, encoding minutes, average storage, egress, request counts, and per-line and total cost in EUR.

get_video

read

Fetch a hosted video by id (vid_...): status, visibility, title, duration, poster image, encoded renditions (resolution, codec, bitrate, dimensions), and — once status is "ready" — a playback block.

list_ingest_events

read

List the storage deliveries this app's ingest rules received, newest first, with what became of each: the bucket and object key, the outcome (received, matched, created, skipped or failed), the REASON for a skip or failure, and the job id when one was created.

list_ingest_rules

read

List this app's ingest rules: the standing instructions that turn an object landing in a storage origin into a transcoding job.

list_jobs

read

List transcoding jobs for the authenticated app, newest first.

list_presets

read

List the encoding presets available to this app: the read-only ones the platform ships and the app's own custom ones.

set_spend_limit

overwrites a setting

Set or clear this app's monthly transcoding spend limit, in EUR.

update_preset

overwrites a setting

Update a custom preset's settings by id (pst_...).

Generated from tools.json by npm run readme:gen — do not edit by hand. Read-only: 12. Writing: 8. Billable: 5.

What the surface cannot do

The promise is narrow and literal, and it is checked rather than asserted: test/vendored.mjs re-derives it from tools.json on every CI run and fails if a future release adds a tool whose name begins with delete, cancel, remove, purge, rotate or destroy.

  • Nothing is deleted or cancelled. No tool removes a video, a job, an output, a preset or a rule, and none stops work that is already queued or running. An agent that decides mid-task to "clean up" has no instrument for it.

  • Nothing reads key or secret material. There is no tool for API keys, and the ingest tools deliberately withhold even the prefix-and-last-four hint the REST API exposes: a rule's inbound secret is shown once, at creation, and never by this server. A tool result lands in an agent transcript, so anything a transcript should not carry is not on the surface at all.

  • Nothing reaches your organization. Members, plans, invoices, team settings and the admin surface have no tools.

  • The overwriting pair only ever reaches forward. update_preset and set_spend_limit carry destructiveHint: true, which in the protocol means "replaces a value" rather than "additive" — not that anything is removed. A preset is read and expanded when a job is created, so editing one never reaches a job that already exists; lowering a spend limit blocks the next job and never stops one in flight.

Who can change the spend limit

set_spend_limit is the only tool with an authorization rule of its own, because it is the only one that moves money policy.

  • It requires an organization owner or admin, signed in through the browser OAuth flow. That is the same membership check the REST API applies, plus one rule REST does not have.

  • API-key sessions are refused outright — including the stdio bridge below, which authenticates with ak_…. The refusal says so in words rather than failing as a generic permission error. This surface is deliberately stricter than REST here: over REST, a key can manage its own app's limit.

  • It reads the limit back instead of echoing what it was given: a limit set above a plan or platform ceiling stores fine and changes nothing, because the lower ceiling still binds. The result carries the previous and the new effective limit and the rung it comes from.

Auth and guardrails

  • OAuth 2.1 with PKCE via browser consent; the server implements RFC 9728 Protected Resource Metadata and RFC 8707 resource indicators.

  • Every tool call is scoped to one Transcodely app, resolved from the session, never from a tool argument. An agent cannot widen its own scope by passing a different id: a job, video, preset or rule belonging to another app reads back as not found rather than as a permission error, which would confirm it exists. Connect to https://mcp.transcodely.com/mcp/app_… to pin a specific app; the bare URL resolves to your organization's oldest active app.

  • An ak_… key presented at a different app's URL is rejected outright.

  • Every call writes the same audit trail as the equivalent REST call.

  • The MCP server is free to connect. Five tools start billable work — create_job, create_video_from_url, generate_captions, generate_insights and generate_highlights — charged at the ordinary Transcodely rates. Every other tool is free to call, including the ones that write: saving a preset or setting a spend limit costs nothing. create_video_from_url deletes the original source file 7 days after the video is ready unless you pass retain_source; a retained source is billed as storage and appears on the invoice as "Retained source videos".

Try it

  1. "Transcode and host this video and give me a link: https://www.transcodely.com/videos/bbb-30s.mp4"

  2. "Generate English captions for that video."

  3. "Generate insights for that video, then cut highlight clips from it."

  4. "What's the status of my last job?"

  5. "Did that 1080p output actually come out as 1080p h264? Show me the measured report."

  6. "I uploaded a file to my bucket and no job appeared — what happened?"

  7. "How much have I spent on video this month, and which day cost the most?"

Run locally (stdio bridge)

Remote-capable clients should connect straight to the hosted endpoint above — that's the one-click OAuth path. For stdio-only clients, sandboxes, and headless use, this repo is also a runnable bridge that serves the same tools over stdio and forwards calls to the hosted server:

# with an API key (create one in the Transcodely dashboard):
TRANSCODELY_API_KEY=ak_... npx github:transcodely/mcp

# or via Docker:
docker build -t transcodely-mcp .
docker run -i --rm -e TRANSCODELY_API_KEY=ak_... transcodely-mcp

Without TRANSCODELY_API_KEY the bridge still starts and answers introspection (initialize, tools/list); tool calls return an error pointing at the two auth paths. set_spend_limit is listed but always refused over this path — see the rule above.

How tools.json is kept honest

tools.json is generated, not written: it is the byte-exact stdout of the Transcodely API's own export, go run ./cmd/mcp --dump-tools, run in a checkout of the release pinned in api-pin.json. The README table above is generated from it in turn. Two checks hold that chain:

Check

Command

Runs

Vendored consistency — counts, annotations, the "nothing deletes" promise, manifest versions, the README naming every tool

node test/vendored.mjs

every push and PR

The bridge serves exactly the vendored surface, keyless calls guide

node test/introspect.mjs

every push and PR

The README table is regenerated from tools.json

node scripts/gen-readme.mjs --check

every push and PR

tools.json is byte-exact with the pinned api release

npm run tools:check

when a token is available — see below

To land a tool-surface change:

# 1. point api-pin.json's "ref" at the release you are vendoring
# 2. read a DETACHED WORKTREE at that tag — never the shared api checkout,
#    which other sessions commit to and which sits on master
git -C ~/git/transcodely/api worktree add --detach /tmp/api-pin v5.X.0
TRANSCODELY_API_PATH=/tmp/api-pin npm run tools:sync
npm run readme:gen
git -C ~/git/transcodely/api worktree remove /tmp/api-pin
# 3. bump the version in server.json + package.json, in the same commit
npm test

Or skip step 2 entirely: with API_REPO_TOKEN set and no TRANSCODELY_API_PATH, the script clones the pinned tag itself. That is the only mode that verifies the pin, so prefer it.

The honest limitation: transcodely/api is a private repository, so the parity job needs a read token in API_REPO_TOKEN and cannot run on a pull request from a fork. When the token is absent the script exits 78 and the job reports not armed rather than passing — it never claims a parity it did not check. The always-on checks above still catch the drift that has actually bitten here: an export that moved while the README, the manifest and the bridge kept the old numbers.

Manifest

server.json is the manifest published to the official MCP registry. Its version must be bumped for a republish to take effect — the registry serves the last published version's description, so a description edit with an unchanged version is invisible.

Available Tools

7 tools
create_jobAInspect

Create a transcoding job. Reads a source video from a URL (gs://, s3://, or https://) and produces one or more output renditions. Outputs are written to a storage origin you own (pass output_origin_id); to produce a hosted, playable video instead, use create_video_from_url. Returns the job id, status, and a per-output pricing/status summary. Validation (codec x container compatibility, limits, required fields) is performed server-side and surfaced as a machine-readable error.

Inputs: outputs (required), input_url (required), preset, metadata, +3 more. Returns: id, object, status, outputs, +4 more

create_video_from_urlAInspect

Ingest a remote https:// video and host it in one call — this is the tool for "transcode and host this, give me a link". Downloads the URL, transcodes it into an adaptive streaming ladder, and returns a hosted video (vid_...) with status "processing". The URL must be publicly reachable over http(s); private/internal targets are rejected (SSRF protection). Visibility follows the app's hosting default, "unlisted" when the app has not set one (playable by anyone with the link, not listed publicly). Enables managed hosting for the app on first use — a one-way change, after which hosted storage and egress bill at the standard rates. To finish the job: poll get_video with the returned id every ~10s until status is "ready" (typically under a few minutes for a short clip), then give the user playback.player_url — that is the durable, clickable link.

Inputs: url (required), tags, title, preset, +2 more. Returns: id, tags, title, job_id, +12 more

generate_captionsA
Idempotent
Inspect

Generate AI captions (subtitles) for a hosted video by id (vid_...). Creates a billable captions job: speech is transcribed into a WebVTT subtitle track in the given language (default "auto" to detect the spoken language), attached to the video when the job completes. Billed per source minute; the fee is only charged when a caption track is actually delivered. Idempotent per video+language: repeating the call returns the existing job instead of creating and billing a new one.

Inputs: video_id (required), language. Returns: job_id, status, language, video_id

get_job_statusA
Read-only
Inspect

Get a concise status snapshot for a transcoding job by id (job_...): overall status and progress, any error code/message, and per-output status/progress with errors. Lighter than the full job record — use it to poll a job to completion.

Inputs: id (required). Returns: id, status, outputs, progress, +5 more

get_usageA
Read-only
Inspect

Return hosting usage and cost for a billing month: videos encoded, encoding minutes, average storage, egress, request counts, and per-line and total cost in EUR. Defaults to the current month; pass month as "YYYY-MM" for a specific period.

Inputs: month. Returns: daily, currency, egress_gb, total_cost, +9 more

get_videoA
Read-only
Inspect

Fetch a hosted video by id (vid_...): status, visibility, title, duration, poster image, encoded renditions (resolution, codec, bitrate, dimensions), and — once status is "ready" — a playback block. Poll this until status is "ready" (statuses: uploading, processing, ready, error); no playback block is present before then. playback.player_url is the durable player page to hand a human, and is issued for public and unlisted videos only — private videos are not served by the player page and get playback.hls_url instead, a signed manifest for your own player that stops working at playback.expires_at (re-fetch with get_video rather than storing it).

Inputs: id (required). Returns: id, tags, title, job_id, +12 more

list_jobsA
Read-only
Inspect

List transcoding jobs for the authenticated app, newest first. Optionally filter by status. Returns compact rows (id, status, progress, input_url, cost, timestamps) plus next_cursor for pagination; pass it back as cursor to fetch the next page.

Inputs: limit, cursor, status. Returns: jobs, next_cursor, total_count

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: transcoding jobs, hosted videos, captions, and usage. create_job and create_video_from_url are explicitly cross-referenced to disambiguate output-to-own-storage from hosted playback, and get_job_status vs get_video cleanly separate job and video concerns.

    Naming Consistency5/5

    All tools use a consistent snake_case imperative verb_noun pattern: create_, get_, list_, generate_. Even create_video_from_url reads as create_video with a modifier, so the naming is predictable and easy to navigate.

    Tool Count5/5

    Seven tools is well-scoped for a video transcoding and hosting server. Each tool earns its place, covering job creation/status/listing, hosted video retrieval, captions, and usage without redundant or overlapping operations.

    Completeness3/5

    The core create-and-retrieve workflows are covered, plus captions and usage reporting. However, there is no way to delete or update hosted videos, cancel jobs, or remove captions, leaving notable lifecycle gaps for the managed resources.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers