Runway API MCP Server
OfficialBased on the provided schema, this MCP server lets you generate/edit Runway media and manage tasks and organization info.
Generate a video from an image and optional text prompt (requires promptImage, ratio, duration; defaults: 1280:720, 5s).
Generate an image from a text prompt and optional tagged reference images (requires promptText, ratio; default 1920:1080).
Upscale a video to higher resolution (requires videoUri).
Edit a video with a text prompt and optional tagged reference images (requires promptText, videoUri, ratio; default 1280:720).
Get details/status of a task by taskId.
Cancel or delete a task by taskId.
Get organization info such as credit balance and usage.
Note: README also lists
runway_listModelsandrunway_generateAudio, but they are not present in the provided server schema.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Runway API MCP Server generate a video of a cat flying through space from this image"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This repository has been archived.
If you're a developer looking to integrate with the Runway API, see: https://dev.runwayml.com/agents
For other use cases, see: https://runway.com/mcp

Video sped up for demo purposes
Runway API MCP Server
This repository holds the code for a MCP server that calls the Runway API.
Tools
The following tools are available in this MCP:
Tool Name | Description | Parameters |
| Lists available models per capability and the recommended default for each | (none) |
| Generates a video from an image and a text prompt | - promptImage - promptText (optional) - ratio - duration - model (optional) |
| Generates an image from a text prompt, and reference images | - promptText - referenceImages (note that uploaded images won't work as references, only previously generated ones, or URLs to images will work.) - ratio - model (optional) |
| Upscale a video to a higher resolution | - videoUri - model (optional) |
| Edits a video, optionally provide reference images. | - videoUri, referenceImages, promptText - model (optional) |
| Generates spoken audio (text-to-speech) from text | - promptText - voice (optional) - model (optional) |
| Gets the details of a task | - taskId |
| Cancels or deletes a task | - taskId |
| Get organization information | |
Generation tools accept an optional model parameter to override the recommended
default. Recommended models: Nano Banana Pro (gemini_image3_pro) for images, Seedance
(seedance2) for video, and Aleph (aleph2) for video editing. Valid ratio,
duration, and other parameter values are model-specific, so runway_listModels returns
the exact valid values and required parameters for every model — call it before choosing a
ratio/duration.
Before any generation request is sent to the Runway API, the server validates the payload against OpenAPI-derived per-model constraints (allowed enums, numeric ranges, string lengths, required fields). Invalid payloads fail locally with a readable error and never hit the network.
Related MCP server: Runware MCP Server
Prerequisites
Before starting, you'll need to have setup your Developer account on the Runway API, setup Billing, and also created an API Key.
You'll also need Node.js setup.
Setup
Clone this repository and save it to a folder on your computer. Remember where you saved this folder because you'll need it in a later step.
Run
npm installin the folder, thennpm run build. You should now see a new folder calledbuildwith aindex.jsfile inside. If you later modify any source files, runnpm run buildagain to pick up the changes.
Using the MCP as a Claude Desktop extension (recommended)
This installs the server as an unpacked Claude Desktop extension, so you don't have to edit any config files by hand.
Launch Claude Desktop and open Settings.
Go to Extensions, then Advanced Settings.
Click Install Unpacked Extension and select the folder you cloned in step 1 (for example
/Users/edwin/runway-api-mcp-server). Click Install on the prompt.Get your API key from https://dev.runwayml.com, paste it into the installed extension's settings, then Enable the extension.
Now, try asking Claude to generate an image!
Using the MCP with Claude Desktop (config file)
Alternatively, register the server manually through Claude's config file.
Follow the MCP quickstart instructions to setup a config file for Claude. If you already have it, open it by running:
MacOS
open ~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows
notepad %APPDATA%\Claude\claude_desktop_config.jsonAdd the
runway-api-mcp-serverto the config, make sure to replace the file path and Runway API key.
{
"mcpServers": {
"runway-api-mcp-server": {
"command": "node",
"args": [
"<ABSOLUTE_PATH_TO_YOUR_CLONED_REPO_FROM_STEP_1>/build/index.js"
],
"env": {
"RUNWAYML_API_SECRET": "<YOUR_RUNWAY_API_KEY_HERE>",
"MCP_TOOL_TIMEOUT": "1000000"
}
}
}
}Now restart Claude Desktop, and you should see the
runway-api-mcp-serverin Claude's tools:

Now, try asking Claude to generate images or videos!
Images generated by the Runway API lives only for 24 hours at the generated link. There is no way to recover them after this link expires. Make sure to download the images before they expire.
Deploy as a remote MCP server
The same code can run as an HTTP MCP server, which lets clients like claude.ai web, Cursor, Zed, and Windsurf connect to a single hosted URL instead of installing the extension locally.
Local HTTP development
RUNWAYML_API_SECRET=key_xxx npm run start:http
# server listens on http://0.0.0.0:3000/mcp
curl http://127.0.0.1:3000/healthz # → {"ok":true}To test from web clients (claude.ai) without deploying, use a tunnel that
returns HTTPS. Cloudflared works; ngrok is currently blocked by Anthropic's
connector backend:
cloudflared tunnel --url http://127.0.0.1:3000Use the printed https://<random>.trycloudflare.com/mcp as the connector URL.
Deploying to Railway
Railway deploys the HTTP server with zero config.
npm i -g @railway/cli # one-time
railway login
railway init # create a new project, link this folder
railway up # builds & deploys
railway domain # provisions https://<your-app>.up.railway.appSet environment variables in the Railway dashboard (or railway variables):
Variable | Required | Purpose |
| optional | Server-side API key. Used as fallback when |
| yes | Set to |
| auto | Injected by Railway. The server reads |
Connect from claude.ai web:
Settings → Connectors → Add custom connector
URL:
https://<your-app>.up.railway.app/mcpLeave OAuth fields blank (Bearer-key flow)
Public deployment auth model
For public, multi-tenant hosting, every user supplies their own Runway API key:
curl -X POST https://<your-app>.up.railway.app/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer <user_runway_key>" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'When REQUIRE_AUTH=true, requests without a Bearer header receive a 401.
Bearer keys take priority over RUNWAYML_API_SECRET even when both are set.
Available Tools
7 toolsrunway_cancelTaskC
Deletes or cancels a given task.
Inputs: taskId (required).
runway_editVideoB
Edit a video using Runway Aleph. promptText is a prompt for the video. videoUri takes in a url of a video or a data uri of a video. Accepted Ratio values are 1280:720, 720:1280, 1104:832, 960:960, 832:1104, 1584:672, 848:480, 640:480. Use 1280:720 by default. It also accepts reference images, in the form of either a url or a base64 encoded image. Each reference image has a tag, which is a string that refers to the image from the user prompt. For example, if the user prompt is "IMG_1 on a red background", and the reference image has the tag "IMG_1", the model will use that reference image to generate the image.
Inputs: promptText (required), ratio (required), videoUri (required), referenceImages.
runway_generateImageA
Generate an image from a text prompt and optional reference images. Available ratios are 1920:1080, 1080:1920, 1024:1024, 1360:768, 1080:1080, 1168:880, 1440:1080, 1080:1440, 1808:768, 2112:912, 1280:720, 720:1280, 720:720, 960:720, 720:960, 1680:720. Use 1920:1080 by default. It also accepts reference images, in the form of either a url or a base64 encoded image. Each reference image has a tag, which is a string that refers to the image from the user prompt. For example, if the user prompt is "IMG_1 on a red background", and the reference image has the tag "IMG_1", the model will use that reference image to generate the image. The return of this function will contain a url to the generated image.
Inputs: promptText (required), ratio (required), referenceImages.
runway_generateVideoA
Generate a video from an image and a text prompt. Accepted ratios are 1280:720, 720:1280, 1104:832, 832:1104, 960:960, 1584:672. Use 1280:720 by default. For duration, there are only either 5 or 10 seconds. Use 5 seconds by default. If the user asks to generate a video, always first use generateImage to generate an image first, then use the image to generate a video.
Inputs: duration (required), promptImage (required), ratio (required), promptText.
runway_getOrgB
Returns details like credit balance, usage details, and organization information.
Inputs: no named parameters.
runway_getTaskA
Get the details of a task, if the task status is 'SUCCEEDED', there will be a 'url' field in the response. If the task status is 'FAILED', there will be a 'error' field in the response. If the task status is 'PENDING' or 'RUNNING', you can call this tool again in 5 seconds to get the task details.
Inputs: taskId (required).
runway_upscaleVideoC
Upscale a video to a higher resolution. videoUri takes in a url of a video or a data uri of a video.
Inputs: videoUri (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: cancelTask, editVideo, generateImage, generateVideo, getOrg, getTask, and upscaleVideo. There is no overlap in functionality; for example, generateImage and generateVideo serve different media types, and getTask and cancelTask manage tasks distinctly. The descriptions reinforce these distinctions, making misselection unlikely.
All tools follow a consistent snake_case naming pattern with the prefix 'runway_' followed by a verb_noun structure (e.g., runway_cancelTask, runway_generateImage). This uniformity makes the tool set predictable and easy to navigate, with no deviations in style or convention.
With 7 tools, the server is well-scoped for a video and image generation API. Each tool serves a specific, necessary function—covering task management, media generation, editing, upscaling, and organization details—without being overly sparse or bloated. The count aligns perfectly with the domain's typical operations.
The tool set covers core workflows for video and image generation, including create (generateImage/generateVideo), read (getTask/getOrg), update (editVideo/upscaleVideo), and delete (cancelTask). A minor gap is the lack of a tool for deleting or managing generated media files, but agents can work around this using existing tools for task cancellation and retrieval.
Maintenance
Related MCP Connectors
Runway video and images on your own plan: video-to-video, character animation, lip-sync, 4K upscale
Create AI images and videos, manage projects and credits, and use workspace campaign context.
Image and video AI tools and your own pipelines, run from any AI assistant.
Create and manage cinematic AI video renders through the Future Video Studio Agent API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides tools to interact with RunwayML and Luma AI APIs for video and image generation, including text-to-video, image-to-video, prompt enhancement, and management of generations.18ISC
- AlicenseNot gradedqualityDmaintenanceEnables lightning-fast AI image and video generation, upscaling, background removal, captioning, and masking through the Runware API with automatic model selection and comprehensive validation.MIT
- FlicenseNot gradedqualityDmaintenanceEnables generation of AI videos and images using RunComfy APIs. Supports multiple models for text-to-video, image-to-video, text-to-image, and image-to-image workflows with customizable parameters like aspect ratio, duration, and seed.-

Runware MCP Serverofficial
AlicenseNot gradedqualityFmaintenanceEnables lightning fast image and video generation using the Runware API, with tools for inference, upscaling, background removal, and more.9MIT