kairouter-mcp
kairouter-mcp
MCP サーバーは、KaiRouter の動画生成 API(BytePlus Seedance ファミリー(Seedance 2.0、2.0 Fast、2.0 Mini、1.5 Pro、1.0 Pro、...)および KaiRouter 上で有効な他の動画モデル)を、MCP 互換のエージェントハーネス(Claude Code、Codex、Antigravity、...)が呼び出せるツールとして公開します。
これはスタンドアロンのリポジトリです。KaiRouter のバックエンドソースは一切含まれておらず、公開/ユーザースコープの HTTP API に対するシンクライアントのみを提供します。まだ npm には公開されていません。今のところはローカルビルドから実行してください(下記参照)。
ツール
ツール | 説明 |
| KaiRouter で現在有効な動画モデルを、価格とプロバイダーの稼働状況とともに一覧表示します。API キーは不要です。 |
| 非同期の動画生成ジョブ(テキストから動画、または画像から動画)を開始します。ジョブ ID をすぐに返し、動画ができるまでブロックしません。実際のクレジットを消費します。 |
| ID でジョブをポーリングします。 |
| 呼び出し元の最近のジョブ(最大 50 件)を新しい順に一覧表示します。 |
generate_video は設計上非同期です。BytePlus の動画生成には数十秒から数分かかることがあります。エージェントは generate_video を一度呼び出し、その後ジョブが完了するまで数秒ごとに check_video_status をポーリングすることが想定されています。
Related MCP server: mcp-litmedia
セットアップ
git clone https://github.com/X-OR-Cloud/kairouter-mcp.git
cd kairouter-mcp
npm install
npm run buildこれにより dist/index.js が生成されます。KaiRouter の API キーが必要です。https://kairouter.com/dashboard/api-keys で作成してください。
Claude Code
claude mcp add kairouter -e KAIROUTER_API_KEY=sk-xor-your-key-here -- node /absolute/path/to/kairouter-mcp/dist/index.jsまたは、.mcp.json(プロジェクト) / ~/.claude.json(ユーザー)に直接追加します:
{
"mcpServers": {
"kairouter": {
"command": "node",
"args": ["/absolute/path/to/kairouter-mcp/dist/index.js"],
"env": { "KAIROUTER_API_KEY": "sk-xor-your-key-here" }
}
}
}Codex CLI
~/.codex/config.toml に追加します:
[mcp_servers.kairouter]
command = "node"
args = ["/absolute/path/to/kairouter-mcp/dist/index.js"]
env = { KAIROUTER_API_KEY = "sk-xor-your-key-here" }Antigravity / その他の MCP 互換ハーネス
ほとんどのハーネスは、上記の Claude Code の項で示したものと同じ mcpServers JSON ブロックを受け入れます。正確な設定ファイルのパス/UI はハーネスごとに異なり、ここでは Antigravity について特に検証していないため、各ハーネスの MCP 設定を確認してください。
設定
環境変数 | 必須 | デフォルト | 備考 |
|
| — | https://kairouter.com/dashboard/api-keys から取得。公開エンドポイントである |
| 不要 |
| ステージング/ローカルの KaiRouter インスタンスを指すように上書きします。 |
開発
npm run dev # tsc --watch
npm start # run the built server directly over stdio (for manual testing with an MCP client)Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to Vidu's video generation models for creating high-quality videos from text, images, and reference content. It enables users to generate creative video content directly within MCP-compatible applications like Claude and Cursor.55MIT
- AlicenseNot gradedqualityDmaintenanceExposes litmedia.ai text-to-image and image-to-video generation tools via MCP, enabling AI agents to generate images and videos directly from prompts.1MIT
- FlicenseAqualityCmaintenanceEnables video generation using the Seedance 2.0 model through MCP, supporting both OpenAI and Volcengine API formats with tools for creating, monitoring, and downloading videos.6
- FlicenseNot gradedqualityDmaintenanceProvides a audio/video creation toolbox via MCP protocol, enabling natural language-based video editing tasks such as image-to-video, video merging, subtitle extraction, and more.3
Related MCP Connectors
Create and manage cinematic AI video renders through the Future Video Studio Agent API.
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/X-OR-Cloud/kairouter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server