kairouter-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kairouter-mcpGenerate a 5-second clip of a futuristic city at sunset using Seedance 2.0"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kairouter-mcp
MCP server exposing KaiRouter's video generation API — BytePlus Seedance family (Seedance 2.0, 2.0 Fast, 2.0 Mini, 1.5 Pro, 1.0 Pro, ...) and any other video model active on KaiRouter — as tools any MCP-compatible agent harness (Claude Code, Codex, Antigravity, ...) can call.
This is a standalone repo — it does not contain any of KaiRouter's backend source, only a thin client for its public/user-scoped HTTP API. Not yet published to npm — run it from a local build for now (see below).
Tools
Tool | Description |
| List currently active video models on KaiRouter, with pricing and live provider health. No API key required. |
| Start an async video generation job (text-to-video or image-to-video). Returns a job id immediately — does not block until the video is ready. Spends real credits. |
| Poll a job by id. |
| List the caller's most recent jobs (up to 50), most recent first. |
generate_video is async by design — BytePlus video generation can take
tens of seconds to a few minutes. The agent is expected to call
generate_video once, then poll check_video_status every few seconds
until the job finishes.
Related MCP server: mcp-litmedia
Setup
git clone https://github.com/X-OR-Cloud/kairouter-mcp.git
cd kairouter-mcp
npm install
npm run buildThis produces dist/index.js. You'll need a KaiRouter API key —
create one at 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.jsOr add directly to .mcp.json (project) / ~/.claude.json (user):
{
"mcpServers": {
"kairouter": {
"command": "node",
"args": ["/absolute/path/to/kairouter-mcp/dist/index.js"],
"env": { "KAIROUTER_API_KEY": "sk-xor-your-key-here" }
}
}
}Codex CLI
Add to ~/.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 / other MCP-compatible harnesses
Most harnesses accept the same mcpServers JSON block shown above under
Claude Code — check the harness's own MCP settings for the exact config
file path/UI, since this varies and wasn't verified here for Antigravity
specifically.
Configuration
Env var | Required | Default | Notes |
| For | — | From https://kairouter.com/dashboard/api-keys. Not needed for |
| No |
| Override to point at a staging/local KaiRouter instance. |
Development
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