Cloudinary Video MCP Server
Stream live video, generate video from images, get visual transcripts, and build video pipelines.
Cloudinary Video scores 63 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Media. GitHub shows 0 stars. Package registries report about 263 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudinary-video-mcp": { "command": "npx", "args": [ "-y", "@cloudinary/video-mcp@0.2.0" ], "env": { "CLOUDINARY_CLOUD_NAME": "", "CLOUDINARY_API_KEY": "", "CLOUDINARY_API_SECRET": "YOUR_CLOUDINARY_API_SECRET" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CLOUDINARY_CLOUD_NAME | Required | Your Cloudinary cloud name. Find it in your Cloudinary Dashboard. |
CLOUDINARY_API_KEY | Required | Your Cloudinary API key. Found in Dashboard > Settings > Access Keys. |
CLOUDINARY_API_SECRETSecret | Required | Your Cloudinary API secret. Found in Dashboard > Settings > Access Keys. |
CLOUDINARY_CLOUD_NAME | Required | Your Cloudinary cloud name. Find it in your Cloudinary Dashboard. |
CLOUDINARY_API_KEY | Required | Your Cloudinary API key. Found in Dashboard > Settings > Access Keys. |
CLOUDINARY_API_SECRETSecret | Required | Your Cloudinary API secret. Found in Dashboard > Settings > Access Keys. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Cloudinary Video MCP Server
Summary
Cloudinary Video API: The Video API enables you to stream, generate, analyze, and transform video in your product environment. Broadcast live streams over RTMP, generate videos from images with Image to Video, produce timestamped visual transcripts with AI Video Analysis, build node-based transformation pipelines as Video Canvas applets, and manage the posters, transcripts, and chapters attached to a video as Video Elements.
The API uses Basic Authentication over HTTPS with your API Key and API Secret from the Cloudinary Console, or OAuth 2.0 with the video scope.
Key capabilities:
- Create and manage RTMP live streams and their outputs, start or stop a stream manually, and monitor a stream's input health and viewers. See the live streaming guide.
- Generate a video from a source image and a text prompt describing the motion or scene, and manage reusable prompts. See the Image to Video add-on guide.
- Generate a visual transcript of a stored video: timestamped, natural-language descriptions of what's visible on screen, optionally guided by a prompt. See the AI Video Analysis guide.
- Create applets that Cloudinary compiles into a named transformation you can deliver like any other transformation. See the Video Canvas guide.
- List, upload, and delete a video's elements: its poster, transcripts and their translations, visual transcript, and chapters. See Managing video elements via the API.
Image to Video and AI Video Analysis requests run as asynchronous jobs: you submit a request, then poll the job until the result is ready.
Note: Image to Video and AI Video Analysis are currently in Beta. There may be minor changes to parameter names or other implementation details before the general access release. We invite you to try them out, and would appreciate any feedback via our support team.
Table of Contents
Installation
The MCP server requires Node.js 20.19.0 or later.
Install the MCP server as a Desktop Extension using the pre-built mcp-server.mcpb file:
Simply drag and drop the mcp-server.mcpb file onto Claude Desktop to install the extension.
The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.
[!NOTE] MCP bundles provide a streamlined way to package and distribute MCP servers. Learn more about Desktop Extensions.
Or manually:
- Open Cursor Settings
- Select Tools and Integrations
- Select New MCP Server
- If the configuration file is empty paste the following JSON into the MCP Server Configuration:
{
"command": "npx",
"args": [
"@cloudinary/video-mcp",
"start",
"--api-key",
"",
"--api-secret",
"",
"--cloud-name",
""
]
}
claude mcp add CloudinaryVideo -- npx -y @cloudinary/video-mcp start --api-key --api-secret --cloud-name
gemini mcp add CloudinaryVideo -- npx -y @cloudinary/video-mcp start --api-key --api-secret --cloud-name
Refer to Official Windsurf documentation for latest information
- Open Windsurf Settings
- Select Cascade on left side menu
- Click on
Manage MCPs. (To Manage MCPs you should be signed in with a Windsurf Account) - Click on
View raw configto open up the mcp configuration file. - If the configuration file is empty paste the full json
{
"command": "npx",
"args": [
"@cloudinary/video-mcp",
"start",
"--api-key",
"",
"--api-secret",
"",
"--cloud-name",
""
]
}
Or manually:
Refer to Official VS Code documentation for latest information
- Open Command Palette
- Search and open
MCP: Open User Configuration. This should open mcp.json file - If the configuration file is empty paste the full json
{
"command": "npx",
"args": [
"@cloudinary/video-mcp",
"start",
"--api-key",
"",
"--api-secret",
"",
"--cloud-name",
""
]
}
npx @cloudinary/video-mcp start --api-key --api-secret --cloud-name
For a full list of server arguments, run:
npx @cloudinary/video-mcp --help
Configuration
Environment Variables
The MCP server supports the following environment variables:
| Variable | Description | Required |
|---|---|---|
CLOUDINARY_CLOUD_NAME | Your Cloudinary cloud name | Yes |
CLOUDINARY_API_KEY | Your Cloudinary API key | Yes |
CLOUDINARY_API_SECRET | Your Cloudinary API secret | Yes |
CLOUDINARY_URL | Complete Cloudinary URL (alternative to individual vars) | No |
CLOUDINARY_COLLECT_HEADERS | Collect API response headers (see below) | No |
CLOUDINARY_URL Format
You can use a single CLOUDINARY_URL instead of individual variables:
CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME
Response Header Collection
You can configure the server to include Cloudinary API response headers (such as x-request-id) in tool output. This is useful for debugging and monitoring.
Set CLOUDINARY_COLLECT_HEADERS to control which headers are collected:
# Collect all response headers
CLOUDINARY_COLLECT_HEADERS=true
# Collect specific headers by exact name (comma-separated)
CLOUDINARY_COLLECT_HEADERS=x-request-id,x-featureratelimit-limit,x-featureratelimit-remaining
# Mix exact names, prefix matching, and regex matching
CLOUDINARY_COLLECT_HEADERS=x-request-id,prefix:x-featureratelimit-
Header matching specs
Each entry in the comma-separated list is matched against response header names:
| Format | Example | Behaviour |
|---|---|---|
| exact name | x-request-id | matches only x-request-id |
prefix:<value> | prefix:x-featureratelimit- | matches any header starting with x-featureratelimit- |
regex:<pattern> | regex:ratelimit | matches any header whose name contains ratelimit |
You can also set this via the CLOUDINARY_URL query parameter:
CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME?collect_headers=true
When enabled, collected headers appear in an _headers field in the tool response. When not set, no headers are collected and responses are unchanged.
Region and API Host
By default, requests go to https://api.cloudinary.com. Use --region api-eu or --region api-ap to target a regional endpoint, or --server-index 1 --api-host <host> to target a custom host.
Authentication
The MCP server uses your Cloudinary API key and secret for authentication:
{
"env": {
"CLOUDINARY_CLOUD_NAME": "demo",
"CLOUDINARY_API_KEY": "123456789012345",
"CLOUDINARY_API_SECRET": "abcdefghijklmnopqrstuvwxyz12"
}
}
Available Tools
The MCP server exposes Cloudinary's Video API as tools. Use your AI application to discover and invoke the available tools for live streaming, video generation, video analysis, and Video Canvas.
- Live streams: create, update, and delete RTMP live streams, and activate or idle them manually
- Live stream outputs: add, update, and remove a stream's outputs: HLS, archive, or simulcast to YouTube or Facebook
- Video generation (Beta): generate a video from an image in your account and a prompt describing the motion or scene
- Image to Video prompts: save, update, and reuse prompts for video generation
- AI Video Analysis (Beta): produce a timestamped visual transcript of a stored video, optionally guided by a prompt
- Video Canvas: create, inspect, replace, and delete applets that compile into named transformations
Video generation and AI Video Analysis run as asynchronous jobs: start the job, then poll it until the result is ready.
Usage Examples
Example 1: Set Up a Live Stream
1. Create a stream: "Create a live stream called 'product-launch'"
2. Add an output: "Add an RTMP output to live stream [live-stream-id] that restreams to rtmp://a.rtmp.youtube.com/live2 with stream key [key]"
3. Start it: "Activate live stream [live-stream-id]"
Example 2: Generate a Video from an Image
1. Save a prompt: "Create an image to video prompt named 'slow-pan' with the text 'slow camera pan from left to right'"
2. Generate: "Generate a video from image 'products/shoe' using the 'slow-pan' prompt"
3. Poll: "Check the status of video generation job [job-id]"
Example 3: Analyze a Video
1. Submit: "Run AI video analysis on video 'marketing/intro'"
2. Poll: "Check the status of AI video analysis job [job-id]"
Example 4: Manage Video Canvas Applets
1. List: "List my Video Canvas applets"
2. Inspect: "Show the full content of applet [applet-id]"
3. Delete: "Delete applet [applet-id]"
Progressive Discovery
MCP servers with many tools can bloat LLM context windows, leading to increased token usage and tool confusion. Dynamic mode solves this by exposing only a small set of meta-tools that let agents progressively discover and invoke tools on demand.
To enable dynamic mode, pass the --mode dynamic flag when starting your server:
{
"mcpServers": {
"CloudinaryVideo": {
"command": "npx",
"args": ["@cloudinary/video-mcp", "start", "--mode", "dynamic"],
// ... other server arguments
}
}
}
In dynamic mode, the server registers only the following meta-tools instead of every individual tool:
list_tools: Lists all available tools with their names and descriptions.describe_tool_input: Returns the input schema for one or more tools by name.execute_tool: Executes a tool by name with its arguments.
This approach significantly reduces the number of tokens sent to the LLM on each request, which is especially useful for servers with a large number of tools.
Development
Building from Source
Prerequisites
- Node.js v20 or higher
- npm, pnpm, bun, or yarn
Build Steps
# Clone the repository
git clone https://github.com/cloudinary/video-mcp.git
cd video-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run locally
node ./bin/mcp-server.js start --cloud-name <cloud_name> --api-key <api_key> --api-secret <api_secret>
To debug the MCP server locally, use the official MCP Inspector:
npx @modelcontextprotocol/inspector node ./bin/mcp-server.js start --cloud-name <cloud_name> --api-key <api_key> --api-secret <api_secret>
Project Structure
video-mcp/
├── src/
│ ├── hooks/ # SDK hooks (manual)
│ │ ├── cloudConfig.ts # CLOUDINARY_URL / env parsing
│ │ ├── cloudinaryAuthHook.ts # OAuth2 / Basic auth
│ │ ├── customHeadersHook.ts # Inject custom request headers
│ │ ├── responseHeadersHook.ts # Collect response headers
│ │ ├── userAgentHook.ts # Build User-Agent string
│ │ └── registration.ts # Hook registration
│ ├── mcp-server/ # MCP server implementation
│ │ ├── server.ts # Main server (auto-generated)
│ │ └── tools/ # Generated tool wrappers
│ ├── funcs/ # API function implementations
│ └── models/ # Type definitions
├── .github/
│ └── workflows/ # CI/CD workflows
└── .speakeasy/ # Speakeasy configuration
Contributions
While we value contributions to this MCP Server, most of the code is generated programmatically from the Cloudinary API spec. Any manual changes to generated files will be overwritten on the next generation — please direct your changes to the manual extension points below.
What you can contribute:
- SDK hooks in
src/hooks/(auth, custom headers, response headers, user agent) - Documentation improvements (this README, JSDoc on manual files)
- Bug reports and feature requests
Generated files (do not edit):
src/mcp-server/server.tssrc/mcp-server/tools/*.tssrc/funcs/*.tssrc/models/*.ts
When touching generated files is unavoidable, prefer updating the upstream spec or Speakeasy configuration in .speakeasy/ so the change survives regeneration.
We look forward to hearing your feedback. Feel free to open a PR or issue with a proof of concept and we'll do our best to include it in a future release.
MCP Server Created by Speakeasy
Frequently asked questions
What is Cloudinary Video MCP Server?
Stream live video, generate video from images, get visual transcripts, and build video pipelines.
How do I install Cloudinary Video MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Cloudinary Video MCP Server runs locally from the npm package @cloudinary/video-mcp with the command npx -y @cloudinary/video-mcp@0.2.0.
Is Cloudinary Video MCP Server free and open source?
Yes. Cloudinary Video MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Cloudinary Video MCP Server support remote (HTTP) connections?
Yes. Cloudinary Video MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Cloudinary Video MCP Server's trust score calculated?
Cloudinary Video MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.