MCP SERVER

One MCP Server.
130+ AI Models.

Connect Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible host to RunAPI — generate images, videos, music, and call LLMs without leaving your editor.

Works with Claude Code, Codex, Cursor, VS Code, Windsurf, and Roo Code
@runapi.ai/mcp
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
export RUNAPI_API_KEY="runapi_xxx"
claude
codex plugin install runapi-mcp@agents
export RUNAPI_API_KEY="runapi_xxx"
codex
npx @runapi.ai/mcp init cursor
export RUNAPI_API_KEY="runapi_xxx"
cursor .
npx @runapi.ai/mcp init windsurf
export RUNAPI_API_KEY="runapi_xxx"
windsurf .
npx @runapi.ai/mcp init vscode
export RUNAPI_API_KEY="runapi_xxx"
code .
npx @runapi.ai/mcp init roo
export RUNAPI_API_KEY="runapi_xxx"
code .
Free catalog tools work without a key stdio MCP
For GUI-launched clients, add RUNAPI_API_KEY in the client environment settings.
COMPATIBLE WITH
Claude Code Codex Cursor VS Code Windsurf Roo Code

What is RunAPI MCP Server?

RunAPI MCP Server connects MCP-compatible coding tools to the RunAPI platform. It lets your AI assistant browse 130+ models across 18 providers, inspect input parameters, check real-time pricing, create media generation tasks, poll task status, check your account balance, and call LLM endpoints — all from within your editor. Discovery tools work without an API key. Authenticated operations require a RunAPI API key.

TOOLS

8 Built-in Tools

Everything your AI assistant needs to discover, price, and run AI models.

FREE

list_models

Browse models by modality, service, or endpoint.

FREE

get_model_info

Inspect input params, constraints, and pricing for a model.

FREE

list_actions

Group endpoint names by output modality.

FREE

check_pricing

Return pricing snapshot for a service, endpoint, and model.

AUTH

create_task

Create a media task and optionally poll until completion.

AUTH

get_task

Fetch status and latest payload for an existing task.

AUTH

check_balance

Return account balance and spending metrics.

AUTH

chat

Send messages to a RunAPI LLM endpoint.

HOW IT WORKS

Get Started in 3 Steps

Install

Pick the command for your client: Claude Code, Codex, Cursor, Windsurf, VS Code, or Roo Code.

claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

Authenticate

Set RUNAPI_API_KEY in your shell, or add it to your client's environment settings for GUI-launched editors.

runapi login

Use

Ask your AI assistant to generate images, videos, music, or call LLMs. It handles the rest.

"Generate a sunset video with Kling"
MODEL COVERAGE

130+ Models, 5 Modalities

All models accessible through a single MCP server.

Modality Models Providers
Image Flux Kontext, Nano Banana, GPT Image, Seedream, Ideogram, Qwen Black Forest Labs, Google, OpenAI, Bytedance, Ideogram, Alibaba
Video Kling, Veo, Seedance, Hailuo, Wan, Runway, Luma Kuaishou, Google, Bytedance, MiniMax, Alibaba, Runway, Luma
Music Suno v4 / v4.5 / v5 / v5.5 Suno
Audio ElevenLabs TTS, Sound Effects, STT, Isolation ElevenLabs
LLM Claude, GPT, Gemini, DeepSeek Anthropic, OpenAI, Google, DeepSeek
FAQ

Frequently Asked Questions

RELATED

Explore More

Ready to connect your editor to 130+ AI models?

Install the MCP server and start generating in minutes.