Skip to main content
Glama

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 には公開されていません。今のところはローカルビルドから実行してください(下記参照)。

ツール

ツール

説明

list_video_models

KaiRouter で現在有効な動画モデルを、価格とプロバイダーの稼働状況とともに一覧表示します。API キーは不要です。

generate_video

非同期の動画生成ジョブ(テキストから動画、または画像から動画)を開始します。ジョブ ID をすぐに返し、動画ができるまでブロックしません。実際のクレジットを消費します。

check_video_status

ID でジョブをポーリングします。statusqueued | processing | succeeded | failed のいずれかで、succeeded になると video_url が設定されます。

list_video_jobs

呼び出し元の最近のジョブ(最大 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 設定を確認してください。

設定

環境変数

必須

デフォルト

備考

KAIROUTER_API_KEY

generate_videocheck_video_statuslist_video_jobs に必要

https://kairouter.com/dashboard/api-keys から取得。公開エンドポイントである list_video_models には不要です。

KAIROUTER_API_URL

不要

https://kairouter.com

ステージング/ローカルの KaiRouter インスタンスを指すように上書きします。

開発

npm run dev    # tsc --watch
npm start      # run the built server directly over stdio (for manual testing with an MCP client)
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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