Runway API
Generate images and videos using the Runway API.
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 |
---|---|---|
runway_generateVideo | Generates a video from an image and a text prompt | - promptImage - promptText (optional) - ratio - duration |
runway_generateImage | 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 |
runway_upscaleVideo | Upscale a video to a higher resolution | - videoUri |
runway_editVideo | Edits a video, optionally provide reference images. | - videoUri, referenceImages, promptText |
runway_getTask | Gets the details of a task | - taskId |
runway_cancelTask | Cancels or deletes a task | - taskId |
runway_getOrg | Get organization information | |
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 install
in the folder, thennpm run build
. You should now see a new folder calledbuild
with aindex.js
file inside.
Using the MCP with Claude Desktop
- 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.json
Windows
notepad %APPDATA%\Claude\claude_desktop_config.json
- Add the
runway-api-mcp-server
to 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-server
in Claude's tools:
- Now, try asking Claude to generate images or videos!
[!NOTE]
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.
Related Servers
Semgrep
Static code analysis using Semgrep for security vulnerability detection and code quality improvements.
302AI Custom MCP Server
A customizable MCP service with flexible tool selection and configuration. Requires a 302AI API key.
MCP Inspector
A developer tool for testing and debugging MCP servers with a web UI and proxy.
Vibe-Coder
A structured development workflow for LLM-based coding, including feature clarification, planning, phased development, and progress tracking.
Netmind Code Interpreter
Execute code using the Netmind API.
Starwind UI
Provides tools to help developers work with Starwind UI components.
Build-Scout
Interact with various build systems including Gradle, Maven, NPM/Yarn, Cargo, Python, Makefile, and CMake.
API Tester
This MCP Server accepts swagger/postman documents as input. It then generates API & Load test scenarios, executes the tests and generates the execution report.
Unstructured API MCP Server
Interact with the Unstructured API to manage data sources, destinations, workflows, and jobs.
Socket
Scan dependencies for vulnerabilities and security issues using the Socket API.