Skip to main content

MCP server for Happy Horse AI video generation and editing via AceDataCloud

Project description

Happy Horse MCP Server

PyPI Python License

Model Context Protocol server for Happy Horse AI video generation and editing through the Ace Data Cloud API.

Capabilities

  • Text-to-video generation
  • First-frame image-to-video animation
  • Reference-to-video generation with 1-9 subject or style images
  • Video editing with up to 5 reference images
  • 720P and 1080P output
  • Single and batch task polling
  • Local stdio and hosted Streamable HTTP/SSE transports
  • Direct Bearer token and AceDataCloud OAuth authentication

Install

pip install mcp-happyhorse
export ACEDATACLOUD_API_TOKEN="your-token"
mcp-happyhorse

Get a token from platform.acedata.cloud.

Configure

Claude Desktop

{
  "mcpServers": {
    "happyhorse": {
      "command": "uvx",
      "args": ["mcp-happyhorse"],
      "env": {
        "ACEDATACLOUD_API_TOKEN": "your-token"
      }
    }
  }
}

Hosted MCP

{
  "mcpServers": {
    "happyhorse": {
      "url": "https://happyhorse.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer your-token"
      }
    }
  }
}

The hosted endpoint also supports OAuth-capable MCP clients.

Tools

Tool Purpose
happyhorse_generate_video Generate a video from text
happyhorse_generate_video_from_image Animate one first-frame image
happyhorse_generate_video_from_references Generate from 1-9 reference images
happyhorse_edit_video Edit a source video with up to 5 references
happyhorse_get_task Query one task
happyhorse_get_tasks_batch Query multiple tasks
happyhorse_list_models List valid models for each action

Generation tools submit asynchronously when no callback_url is supplied. Keep the returned task_id, wait about 15 seconds, then call happyhorse_get_task until the response contains a final video_url or terminal error.

Models

Action Models Default
Text-to-video happyhorse-1.0-t2v, happyhorse-1.1-t2v happyhorse-1.1-t2v
Image-to-video happyhorse-1.0-i2v, happyhorse-1.1-i2v happyhorse-1.1-i2v
Reference-to-video happyhorse-1.0-r2v, happyhorse-1.1-r2v happyhorse-1.1-r2v
Video edit happyhorse-1.0-video-edit happyhorse-1.0-video-edit

Generation duration is 3-15 seconds. Supported resolutions are 720P and 1080P. Text and reference generation support 16:9, 9:16, 1:1, 4:3, and 3:4. Image-to-video follows the input image ratio. Video-edit duration follows the source video.

Example Requests

Ask your MCP client:

Generate a 720P, 9:16 video of a white horse crossing a snowy ridge at sunrise.

Animate https://example.com/horse.jpg with a slow camera push and wind moving the mane.

Edit https://example.com/source.mp4 to preserve the camera motion but apply the costume style from https://example.com/reference.jpg. Keep the original audio.

Environment

Variable Default Purpose
ACEDATACLOUD_API_TOKEN none API token for local stdio mode
ACEDATACLOUD_API_BASE_URL https://api.acedata.cloud API origin
HAPPYHORSE_REQUEST_TIMEOUT 60 HTTP request timeout in seconds
MCP_TRANSPORT stdio stdio or http
MCP_SERVER_URL none Public URL that enables hosted OAuth
LOG_LEVEL INFO Logging level

Development

pip install -e ".[all]"
pytest --cov=core --cov=tools
ruff check .
mypy core tools main.py

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_happyhorse-2026.7.13.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_happyhorse-2026.7.13.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_happyhorse-2026.7.13.0.tar.gz.

File metadata

  • Download URL: mcp_happyhorse-2026.7.13.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for mcp_happyhorse-2026.7.13.0.tar.gz
Algorithm Hash digest
SHA256 be18a459285bf89f8ddc433292c9c01224fb464253806a8e088503ddbd9f8192
MD5 870077eac8e7dd77f4503b36ee7c87e1
BLAKE2b-256 34385b78b0c0fd7f4133adcbd11a400c9b9bfad03c08cd054157a6d1b155c9d3

See more details on using hashes here.

File details

Details for the file mcp_happyhorse-2026.7.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_happyhorse-2026.7.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c6fd1652f1f63c1a14de80a897461c23ae710026d8a9ec3dfd60644ddc3d9b
MD5 506275f5327516c5f5e38930b76190a7
BLAKE2b-256 cb4920ce237ae0989febdc68ad7a75fd6a89219c5631b0e5f6c8d69048e6d4f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page