Create and edit AI videos, images, GIFs, and audio through 44 MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
OpenAPI-backed MCP server for Magic Hour image, video, and audio generation.
At startup, this server reads docs/openapi.json and builds MCP tools with
FastMCP.from_openapi(). The OpenAPI spec supplies endpoint coverage, while
Magic Hour MCP policies add agent-facing guidance for async polling, uploads,
and project downloads.
Docs:
user.md - hosted endpoint user guideintegration-handoff.md - FastAPI mount checklistdocs/detailed-step-by-step-integration.md - full backend integration guidedocs/api-reference.md - generated API referenceLocal MCP endpoint:
This local dev server runs at /, not /mcp. The host app adds /mcp when it mounts the server.
By default, requests go to the production Magic Hour API:
Tool discovery is public. Tool calls must include your Magic Hour API key:
Agents can discover the hosted server card at:
Environment variables:
Override MAGIC_HOUR_API_BASE_URL to use a mock or another API base:
The optional OAuth shim validates a Magic Hour API key and uses that key as the
access token. Production requires MCP_OAUTH_ISSUER_URL and
MCP_OAUTH_RESOURCE_URL. See docs/future-oauth-support.md for deployment
limits.
Public OAuth clients can use the stateless POST /register compatibility endpoint.
Streamable HTTPhttp://127.0.0.1:8000/Authorization: Bearer <magic_hour_api_key>ping.video_assets_generate_presigned_url or another generated tool.Notes:
id and credits_charged immediately.operationId values are normalized to descriptive snake_case tool names./v1/files/upload-urls endpoint is named video_assets_generate_presigned_url. It accepts video, audio, and image items.wait_for_*_project to poll jobs. Use exact_download_urls exactly as
returned; never append expiration metadata.Rebuild and type-check the MCP App UI with cd web && npm ci && npm run build.
Magic Hour does not accept raw file bytes inside tool arguments. The flow is:
video_assets_generate_presigned_urlupload_urlfile_path into the generated creation toolDirect public media URLs may work, but uploaded file_path values are more
reliable. upload_file_to_presigned_url handles local files when the server can
read them. Browser chat needs a separate upload UI or bridge; see
docs/future-chat-ui-handoff.md.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/magic-hour-mcp-server)<a href="https://allmcps.com/mcp/magic-hour-mcp-server"><img src="https://allmcps.com/api/badge/magic-hour-mcp-server?style=directory" alt="Magic Hour MCP Server on AllMCPs" /></a>