# runapi-mcp

Connects coding assistants to the RunAPI catalog for generating images, video, music, and speech. Discovers models and checks pricing directly in chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 56
- Author: runapi-ai
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/runapi-ai/mcp
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/runapi-mcp

## What it does

This server bridges MCP-compatible developer tools with the RunAPI media platform. It gives your coding assistant access to a catalog covering text-to-speech, image synthesis, video rendering, and music creation. The assistant inspects schema parameters, checks live runtime pricing, and searches prompt templates before submitting any task.

Browsing the embedded model list needs no authentication. Generating media or fetching account balances requires credentials via `RUNAPI_API_KEY` or the login tool. The server acts as a thin client and never runs heavy AI workloads locally.

You can run it via stdio using `npx` or point directly to the remote hosted endpoint at `https://mcp.runapi.ai/mcp`. The hosted route skips local Node.js dependencies entirely.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.runapi.ai/mcp`
- Environment variables: `RUNAPI_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http runapi-mcp https://mcp.runapi.ai/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env RUNAPI_API_KEY=<RUNAPI_API_KEY> --transport stdio runapi-mcp -- npx -y @runapi.ai/mcp
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add runapi-mcp --url https://mcp.runapi.ai/mcp
```

2. **Platform CLI**
```bash
codex mcp add runapi-mcp --env RUNAPI_API_KEY=<RUNAPI_API_KEY> -- npx -y @runapi.ai/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "runapi-mcp": {
            "url": "https://mcp.runapi.ai/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "runapi-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@runapi.ai/mcp"
            ],
            "env": {
                "RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "runapi-mcp": {
            "type": "http",
            "url": "https://mcp.runapi.ai/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "runapi-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@runapi.ai/mcp"
            ],
            "env": {
                "RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http runapi-mcp https://mcp.runapi.ai/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e RUNAPI_API_KEY=<RUNAPI_API_KEY> runapi-mcp npx -y @runapi.ai/mcp
```
Replace <…> with your own values

## When to use it
- inspect input schemas and runtime pricing across media generation models
- search reusable prompt templates for creative tasks
- trigger image, video, voice, or music generation from the editor
- track task execution status and review account spending limits

## Example prompts
- List available RunAPI image generation models along with their parameter constraints.
- Find prompt examples for generating an app icon and inspect the recommended model.
- Check runtime pricing for video models and generate a five-second clip.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107423
- [Agent Skills Search Server](https://affpapa.org/en/nevibecode/mcp/agent-skills-search-server.md) — MCP server · ★ 26559
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23263
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [PraisonAI](https://affpapa.org/en/nevibecode/mcp/praisonai.md) — MCP server · ★ 9289

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
