# Runapi MCP

> Runapi MCP is an MCP server for design and media. Browse and run 130+ image, video, music and audio models through one RunAPI account. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** CLI, API, Web
- **Repository:** https://github.com/runapi-ai/mcp
- **MCP Registry name:** io.github.runapi-builder/runapi-mcp
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media), [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-23

## About

RunAPI MCP is a client for RunAPI's media-generation catalogue. Discovery tools work without a key from an embedded catalogue: list_models, get_model_info, list_actions, check_pricing and search_prompts, the last returning reusable prompt examples with approved example images. Task tools need sign-in: create_task, get_task and check_balance.

Task creation requires a caller-generated idempotency key, so a retry after a dropped connection can reuse the same key safely, and reusing it with different input returns a conflict. By default create_task waits for completion; with wait false it returns an ID to poll. The hosted version streams progress for up to 300 seconds.

It runs locally over stdio (npx @runapi.ai/mcp) or as a hosted endpoint at mcp.runapi.ai, with OAuth or a bearer API key. A login tool opens a browser sign-in and saves credentials; headless hosts can set RUNAPI_API_KEY.

## Features

- **Embedded catalogue:** Browse models and pricing without a key.
- **Model inspection:** get_model_info shows inputs, constraints and runtime price.
- **Prompt search:** Finds reusable prompts with example images.
- **Idempotent tasks:** Safe retries through a caller-supplied key.
- **Wait or poll:** Block until done or return a task ID.
- **Local or hosted:** Run via npx or the hosted endpoint.

## Good for

- Find which image models are available
- Check the price before generating a video
- Generate a product image from an editor
- Look up prompt examples for a logo

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http runapi-mcp https://mcp.runapi.ai/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "type": "http",
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.runapi.ai/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "type": "http",
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.runapi.ai/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add runapi-mcp --url https://mcp.runapi.ai/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.runapi-mcp]
url = "https://mcp.runapi.ai/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "httpUrl": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http runapi-mcp https://mcp.runapi.ai/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "serverUrl": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "url": "https://mcp.runapi.ai/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "runapi-mcp": {
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.runapi.ai/mcp
```

Enter a Name (for example "Runapi MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "runapi-mcp": {
      "type": "http",
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 9 tools changes data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `list_models` (name suggests: reads): Lists RunAPI models, filterable by modality, service and action.
- `get_model_info` (name suggests: reads): Returns inputs, constraints and current pricing for a model.
- `list_actions` (name suggests: reads): Groups endpoint actions by modality.
- `check_pricing` (name suggests: reads): Returns runtime pricing for a service, action and model.
- `search_prompts` (name suggests: reads): Searches reusable prompt examples.
- `login`: Starts a browser login and saves credentials.
- `create_task` (name suggests: changes): Creates a media task with an idempotency key.
- `get_task` (name suggests: reads): Fetches status and payload of a task.
- `check_balance` (name suggests: reads): Returns account balance and spending.

## FAQ

### Do I need a key to browse models?

No. Catalogue and pricing tools work before sign-in.

### How do I authenticate?

Use the login tool, runapi login, RUNAPI_API_KEY, or OAuth on the hosted server.

### What if a task call times out?

Retry with the same idempotency key and input; do not create a new task automatically.

### How do I add Runapi MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http runapi-mcp https://mcp.runapi.ai/mcp

### What are the best alternatives to Runapi MCP?

The closest alternatives to Runapi MCP are HyperFrames by HeyGen, headroom, omniget, ffmpeg-skill and next-ai-draw-io.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [headroom](https://ai-powered.com/mcp/headroom-3): headroom is an open-source MCP server for ai models and llm tooling.
- [omniget](https://ai-powered.com/mcp/omniget): omniget is an open-source MCP server for ai models and llm tooling.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [next-ai-draw-io](https://ai-powered.com/mcp/next-ai-draw-io-2): next-ai-draw-io is an open-source MCP server for ai models and llm tooling.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [mcp-for-blender](https://ai-powered.com/mcp/mcp-for-blender): mcp-for-blender is an open-source MCP server for design and media.
- [unity-mcp](https://ai-powered.com/mcp/unity-mcp-2): unity-mcp is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/runapi-mcp
