---
title: &quot;RunAPI MCPサーバー — Claude Code、Cursor、VS Code向けの130以上のAIモデル&quot;
url: &quot;https://runapi.ai/ja/mcp.md&quot;
canonical: &quot;https://runapi.ai/ja/mcp&quot;
locale: &quot;ja&quot;
---

# RunAPI MCP Server

Claude Code、Cursor、VS Code、Windsurf、その他のMCP対応ホストをRunAPIに接続し、エディターを離れずに画像、動画、音楽を生成してLLMを呼び出せます。

## What Is RunAPI MCP Server?

RunAPI MCPサーバーは、MCP対応のコーディングツールをRunAPIプラットフォームに接続します。AIアシスタントが18プロバイダーにわたる130以上のモデルを検索し、入力パラメーターを確認し、リアルタイム料金をチェックし、メディア生成タスクを作成し、タスクステータスをポーリングし、アカウント残高を確認し、LLMエンドポイントを呼び出せるようになります。すべてエディター内から実行できます。ディスカバリーツールはAPIキーなしで使用できます。認証が必要な操作にはRunAPI APIキーが必要です。

## Tools

| Tool | Auth | Purpose |
|---|---|---|
| list_models | No | Browse models by modality, service, or action. |
| get_model_info | No | Inspect input params, constraints, and pricing for a model. |
| list_actions | No | Group endpoint action names by output modality. |
| check_pricing | No | Return pricing snapshot for a service + action + model. |
| create_task | Yes | Create a media task and optionally poll until completion. |
| get_task | Yes | Fetch status and latest payload for an existing task. |
| check_balance | Yes | Return account balance and spending metrics. |
| chat | Yes | Send messages to a RunAPI LLM endpoint. |

## Quick Start

Choose the command for your MCP client.

### Claude Code

```bash
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
export RUNAPI_API_KEY="runapi_xxx"
claude
```

Use project scope when you want the repo to share `.mcp.json`:

```bash
claude mcp add runapi -s project -- npx -y @runapi.ai/mcp
```

### Codex

```bash
codex plugin install runapi-mcp@agents
export RUNAPI_API_KEY="runapi_xxx"
codex
```

### Cursor

```bash
npx @runapi.ai/mcp init cursor
export RUNAPI_API_KEY="runapi_xxx"
cursor .
```

### Windsurf

```bash
npx @runapi.ai/mcp init windsurf
export RUNAPI_API_KEY="runapi_xxx"
windsurf .
```

### VS Code

```bash
npx @runapi.ai/mcp init vscode
export RUNAPI_API_KEY="runapi_xxx"
code .
```

### Roo Code

```bash
npx @runapi.ai/mcp init roo
export RUNAPI_API_KEY="runapi_xxx"
code .
```

Free catalog tools work without a key.
Set `RUNAPI_API_KEY` for `create_task`, `check_balance`, and `chat`.
For GUI-launched clients, add the variable in the client's environment settings.

## Model Coverage

- **Image** — Flux Kontext, Nano Banana, GPT Image, Seedream, Ideogram, Qwen
- **Video** — Kling, Veo, Seedance, Hailuo, Wan, Runway, Luma
- **Music** — Suno v4 / v4.5 / v5 / v5.5
- **Audio** — ElevenLabs TTS, Sound Effects, STT, Isolation
- **LLM** — Claude, GPT, Gemini, DeepSeek

## FAQ

### RunAPI MCPサーバーを使うにはAPIキーが必要ですか？

list_models、get_model_info、list_actions、check_pricingなどのディスカバリーツールはAPIキーなしで使用できます。タスク作成、残高確認、LLMチャットにはダッシュボードで取得した無料のRunAPI APIキーが必要です。

### どのコーディングツールに対応していますか？

RunAPI MCPサーバーはMCP対応のすべてのホストで動作します：Claude Code、Codex、Cursor、VS Code（GitHub Copilot経由）、Windsurf、Roo Codeなど。MCPプロトコルをサポートするすべてのツールで設定可能です。

### MCPサーバーからどのAIモデルにアクセスできますか？

18プロバイダーにわたる130以上のモデルと5つのモダリティにアクセスできます：画像生成（Flux、Nano Banana、GPT Image）、動画生成（Kling、Veo、Seedance）、音楽制作（Suno）、音声（ElevenLabs）、LLM（Claude、GPT、Gemini、DeepSeek）。

### MCPサーバーのインストール方法を教えてください。

クライアントに応じたコマンドを使用してください。Claude Codeはclaude mcp add runapi -s user -- npx -y @runapi.ai/mcp。Codexはcodex plugin install runapi-mcp@agents。Cursor、Windsurf、VS Code、Roo Codeはnpx @runapi.ai/mcp init &lt;platform&gt;。グローバルなnpmインストールは不要です。

### MCPサーバーは無料ですか？

MCPサーバー自体は無料かつオープンソース（Apache 2.0）です。API使用量はRunAPIアカウントの従量課金制で請求されます。サブスクリプションや最低利用額はありません。

### CIやヘッドレス環境でMCPサーバーを使用できますか？

はい。RUNAPI_API_KEY環境変数を設定し、エージェントまたはCIパイプラインでMCPサーバーを設定してください。サーバーはstdioプロセスとして動作し、ブラウザやGUIは不要です。


## Links

- [Model catalog](https://runapi.ai/ja/models)
- [CLI](https://runapi.ai/ja/cli)
- [SDKs](https://runapi.ai/ja/sdk)
- [Skills](https://runapi.ai/ja/skills)
- [Pricing](https://runapi.ai/ja/pricing)
- [API docs](https://runapi.ai/ja/docs)
- [GitHub](https://github.com/runapi-ai/mcp)
- [npm](https://www.npmjs.com/package/@runapi.ai/mcp)
