RunAPI MCP server for HappyHorse: create tasks, poll status, check pricing.
RunAPI HappyHorse MCP Server (Model Context Protocol)
The io.github.runapi-builder/happyhorse-mcp server is a RunAPI MCP server for HappyHorse. It exposes operations to create tasks, poll asynchronous results, and check pricing for video generation via a single focused MCP server.
@runapi.ai/happyhorse-mcp is a focused Model Context Protocol server for the HappyHorse model line on RunAPI.
It gives MCP-compatible assistants direct access to 3 endpoints and 7 model variants without loading the full RunAPI catalog.
Use this per-model server when an agent should stay scoped to HappyHorse. Use @runapi.ai/mcp when one assistant should discover every RunAPI model line.
Install
Add it to Claude Code:
bash
claude mcp add happyhorse -s user -- npx -y @runapi.ai/happyhorse-mcp
Use project scope when the server should be shared with a repository:
bash
claude mcp add happyhorse -s project -- npx -y @runapi.ai/happyhorse-mcp
Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same stdio command:
check_pricing works before sign-in. For task creation and status polling, ask your assistant to call the login tool. It opens a browser login and saves credentials to ~/.config/runapi/config.json, the same file used by runapi login.
Headless and CI hosts can still set RUNAPI_API_KEY before starting the MCP host.
Ready-made examples are in examples/ for Claude, Cursor, Windsurf, VS Code, and Roo Code.
Tools
Tool
Auth
Purpose
edit_video
Yes
Create a HappyHorse edit video task and optionally wait for a terminal status. Returns the task id, status, and output URLs.
image_to_video
Yes
Create a HappyHorse image to video task and optionally wait for a terminal status. Returns the task id, status, and output URLs.
text_to_video
Yes
Create a HappyHorse text to video task and optionally wait for a terminal status. Returns the task id, status, and output URLs.
get_task
Yes
Fetch the current status and latest payload for an existing task.
check_pricing
No
Look up current pricing for a HappyHorse model and endpoint.
Models
HappyHorse covers 7 model variants across 3 endpoints. Each tool accepts the models listed for it: