🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

runway-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runway-mcp-server

MCP server for Runway ML video generation with Gen-4, Veo 3, Aleph video editing, and comprehensive AI video tools

pipPyPI
Version
0.1.0
Weekly downloads
65
Maintainers
1

🎬 Runway MCP Server

A Model Context Protocol (MCP) server for Runway AI - featuring Gen-4 models, Aleph video editing, and comprehensive video generation tools.

MCP Registry Name: io.github.sidart10/runway-mcp-server

✨ Features

  • 🎥 Aleph Video Editing - Add/remove objects, change camera angles, transform lighting
  • 🎨 Gen-4 Image Generation - High-fidelity images with reference support
  • 📹 Gen-4 Video Generation - Text-to-video, image-to-video, keyframe control
  • 🎭 Advanced Tools - Video extension, 4K upscaling, style transfer

📦 Installation

⚠️ Note: The root-level runway_mcp_server.py file is kept for backward compatibility. New installations should use the PyPI package below.

# Install with uvx (automatically manages dependencies)
uvx runway-mcp-server

# Or install globally with pip
pip install runway-mcp-server

Option 2: Install from Source

# Clone the repository
git clone https://github.com/sidart10/runway-mcp-server.git
cd runway-mcp-server

# Create virtual environment
python3 -m venv venv
source venv/bin/activate  # Mac/Linux (or venv\Scripts\activate on Windows)

# Install in development mode
pip install -e .

🚀 Quick Start

1. Configure API Key

Create a .env file in the project root:

# .env file
RUNWAY_API_KEY=your_api_key_here

Get your API key from dev.runwayml.com

2. Add to MCP Config

For Cursor: Edit ~/.cursor/mcp.json

For Claude Desktop: Edit ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "runway": {
      "command": "uvx",
      "args": ["runway-mcp-server"],
      "env": {
        "RUNWAY_API_KEY": "your_api_key_here"
      }
    }
  }
}

Note: Replace your_api_key_here with your actual Runway API key from dev.runwayml.com

3. Restart Your Client

Restart Cursor or Claude Desktop to load the server.

🛠️ Available Tools

ToolDescription
generate_image_gen4Create high-quality images with Gen-4
generate_video_text_to_videoGenerate videos from text descriptions
generate_video_image_to_videoAnimate images with motion
generate_video_first_last_framePrecise start/end frame control
edit_video_with_aleph⭐ Advanced video editing & transformation
restyle_videoApply artistic styles to videos
extend_videoExtend videos by 5-10 seconds
upscale_video_4kUpscale to 4K resolution
get_task_statusCheck generation progress
cancel_taskCancel running tasks
list_available_modelsList all available models
get_api_infoServer configuration info

📚 Documentation

📁 Project Structure

runway-mcp-server/
├── runway_mcp_server.py    # Main server code
├── requirements.txt         # Python dependencies
├── .env                     # API key (create this)
├── README.md               # This file
├── .gitignore              # Git ignore rules
├── venv/                   # Virtual environment
├── docs/                   # Documentation
│   ├── QUICKSTART.md
│   ├── ALEPH_GUIDE.md
│   ├── FEATURES.md
│   ├── ARCHITECTURE.md
│   └── ...
├── examples/               # Code examples
│   └── example_usage.py
└── config/                 # Configuration templates
    └── mcp_config_example.json

💡 Usage Examples

Generate a Video

"Generate a 10-second video of an eagle soaring over mountains at sunset"

Edit with Aleph

"Edit this video to remove the person in the background: [video URL]"

Create an Image

"Create a Gen-4 image of a futuristic cyberpunk city at night, 1920x1080"

🔒 Rate Limits

  • API calls are rate-limited based on your Runway plan
  • Gen-4 Turbo: ~5 credits per second
  • Aleph editing: ~15 credits per second
  • Check usage at dev.runwayml.com

🐛 Troubleshooting

API Key Not Loading:

# Verify .env file exists
ls -la .env

# Check if key loads
python -c "from dotenv import load_dotenv; import os; load_dotenv(); print('✅' if os.getenv('RUNWAY_API_KEY') else '❌')"

Server Won't Start:

  • Ensure Python 3.10+ is installed: python3 --version
  • Verify virtual environment is activated
  • Check all dependencies installed: pip list

Task Timeouts:

  • Video generation takes 2-10 minutes depending on length
  • Use get_task_status() to check progress
  • Increase wait time if needed

🤝 Contributing

This is an MCP server implementation following the Model Context Protocol specification.

📄 License

This MCP server is provided as-is for use with the Runway API. Runway API usage is subject to Runway's terms of service.

🔗 Resources

Built for the Runway AI community 🚀

For issues or questions, refer to the Runway Developer Portal or check the documentation.

Keywords

mcp

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts