runway-mcp
This server enables AI agents to generate and manage videos using Runway models on RunAPI, with the following capabilities:
Generate videos from text (
text_to_video): Create a Runway text-to-video task by providing a prompt, duration (5 or 10 seconds), output resolution (720p or 1080p), aspect ratio (16:9, 9:16, 1:1, 4:3, 3:4), and optionally a first frame image URL.Extend existing videos (
extend_video): Create a Runway extend-video task referencing an existing task, with configurable output resolution (720p or 1080p).Poll task status (
get_task): Fetch the current status and latest result payload (including output URLs) for a previously created task using its task ID.Check pricing (
check_pricing): Look up the current pricing snapshot for a specific endpoint (extend_videoortext_to_video) — no API key required.Flexible execution control: All creation tools support a
waitflag to block until the task completes or return immediately with a task ID, plus configurabletimeout_msandpoll_interval_msfor fine-tuned polling behavior.
All task creation tools require a RunAPI API key; check_pricing does not.
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-mcp create a 5-second video of a cat dancing"
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.
Why This Package?
@runapi.ai/runway-mcp is a focused Model Context Protocol server for the Runway model line on RunAPI.
It gives MCP-compatible assistants direct access to 2 endpoints and 1 model variant without loading the full RunAPI catalog.
Use this per-model server when an agent should stay scoped to Runway. Use @runapi.ai/mcp when one assistant should discover every RunAPI model line.
Related MCP server: kling-mcp
Install
Add it to Claude Code:
claude mcp add runway -s user -- npx -y @runapi.ai/runway-mcpUse project scope when the server should be shared with a repository:
claude mcp add runway -s project -- npx -y @runapi.ai/runway-mcpCodex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same stdio command:
{
"mcpServers": {
"runway": {
"command": "npx",
"args": ["-y", "@runapi.ai/runway-mcp"]
}
}
}check_pricing works before sign-in. For task creation and status polling, ask your assistant to call the login tool. It opens a browser login and saves credentials to ~/.config/runapi/config.json, the same file used by runapi login.
Headless and CI hosts can still set RUNAPI_API_KEY before starting the MCP host.
Ready-made examples are in examples/ for Claude, Cursor, Windsurf, VS Code, and Roo Code.
Tools
Tool | Auth | Purpose |
| Yes | Create a Runway extend video task and optionally wait for a terminal status. Returns the task id, status, and output URLs. |
| Yes | Create a Runway text to video task and optionally wait for a terminal status. Returns the task id, status, and output URLs. |
| Yes | Fetch the current status and latest payload for an existing task. |
| No | Look up current pricing for a Runway model and endpoint. |
Models
Runway covers 1 model variant across 2 endpoints. Each tool accepts the models listed for it:
Tool | Models |
|
|
|
|
Model availability can change between releases. Use check_pricing or the Runway model page for the current catalog view.
Agent Prompts
Ask your assistant in natural language; it can inspect pricing, create the task, and return the task id plus output URLs.
Create a task
Run a Runway extend video task with RunAPI.The assistant can call check_pricing, then extend_video, and return the task id, status, and output URLs.
Submit without waiting
Create the task but don't wait for it to finish.The assistant calls the create tool with wait: false and returns the task id. Check on it later with get_task.
Check pricing before creating
Check current Runway pricing, then create the task if it matches my request.The assistant calls check_pricing and can link to the Runway model page for the canonical catalog entry.
Configuration
The server resolves auth in this order:
RUNAPI_API_KEYenvironment variable, useful for headless and CI hosts~/.config/runapi/config.json, created by the MCPlogintool orrunapi loginNo key, which still allows
check_pricing
The config file is normally managed by login. A pre-provisioned headless config can use:
{
"apiKey": "your_runapi_key"
}Do not commit real API keys.
Links
Resource | URL |
Runway model page | |
npm package | |
GitHub repository | |
RunAPI MCP overview | |
RunAPI docs |
License
Licensed under the Apache License, Version 2.0.
Available Tools
5 toolscheck_pricingB
Look up RunAPI pricing for the runway model line.
Inputs: model, action.
extend_videoC
Create a Runway task on RunAPI (extend video). Returns a task id, status, and output URLs.
Inputs: prompt (required), source_task_id (required), output_resolution (required), wait, +5 more.
get_taskB
Fetch the current status and latest result payload for a runway task.
Inputs: action (required), task_id (required).
loginA
Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.
Inputs: force.
text_to_videoB
Create a Runway task on RunAPI (text to video). Returns a task id, status, and output URLs.
Inputs: prompt (required), duration_seconds (required), output_resolution (required), wait, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct action and target: extend_video and text_to_video are separate generation modes, while get_task, check_pricing, and login serve unique supporting roles. No overlap in purpose is apparent from the descriptions.
Four of the five tools follow a verb_noun or verb_object pattern (extend_video, text_to_video, get_task, check_pricing). The lone login tool is a single verb, which is a minor but understandable deviation for an auth action.
Five tools is a well-scoped set for a focused Runway video-task integration, covering generation, status retrieval, pricing, and authentication without bloat. Each tool has a clear place in the workflow.
The surface covers task creation (two modes), status polling, pricing, and auth, but lacks obvious lifecycle operations such as cancel/delete task, list tasks, and other Runway generation modes like image-to-video. These are notable gaps for a server named after the broader Runway API.
Maintenance
Related MCP Connectors
130+ AI models for image, video, music, and audio — 18 model families, one RunAPI account.
Run multi-step AI pipelines for video, image, audio and text: upload media, run, poll results.
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
Create and manage cinematic AI video renders through the Future Video Studio Agent API.
Related MCP Servers
AlicenseAqualityFmaintenanceEnables AI video and image generation through the Runway API. Supports video generation from images and text prompts, image creation, video upscaling and editing, and task management.716 npm23MIT- AlicenseBqualityBmaintenanceEnables interaction with Kling AI models for video generation and avatar tasks via RunAPI, including task creation, status polling, and pricing checks.982 npmApache 2.0
- AlicenseBqualityBmaintenanceEnables AI image and video generation tasks (text-to-image, image-to-video, edit, upscale, etc.) via RunAPI, with support for polling and pricing lookups.10107 npm1Apache 2.0
- AlicenseAqualityBmaintenanceEnables creating and managing HappyHorse video generation tasks (edit, image-to-video, text-to-video) via RunAPI, with optional polling for completion and pricing lookup.654 npmApache 2.0