How to integrate Magic Hour MCP with Hermes

Connect Hermes to Magic Hour MCP. Generate three 16:9 hero image variations, create 30-second promo video from script, and more using natural language, with authentication handled for you.

Magic Hour logoMagic Hour
Api Key

Magic Hour is an AI media creation platform for generating and editing images, videos, and audio through a unified API. It streamlines multimedia production so teams can programmatically create and iterate on visual and audio assets faster.

38 Tools

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Magic Hour account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Magic Hour with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,500+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Magic Hour with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Magic Hour

Ask your agent to connect to Magic Hour, or simply request any Magic Hour-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Magic Hour connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Magic Hour or request any Magic Hour-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the Magic Hour MCP server, and what's possible with it?

The Magic Hour MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Magic Hour account. It provides structured and secure access so your agent can perform Magic Hour operations on your behalf.

Way Forward

With Magic Hour connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

TOOLS

Supported Tools

Every Magic Hour action and event your agent gets out of the box.

Create AI Clothes Change

Start a credit-consuming asynchronous clothes-change image job from person and garment images.

Create AI Face Edit

Start a credit-consuming asynchronous edit of facial features in an image.

Create AI GIF

Start a credit-consuming asynchronous prompt-based animation in GIF, MP4, or WebM format.

Create AI Headshot

Start a credit-consuming asynchronous headshot generation from an image containing one detectable face.

Create AI Image

Start a credit-consuming asynchronous text-to-image job.

Create AI Image Edit

Start a credit-consuming asynchronous prompt-based edit of one or more images.

Create AI Meme

Start a credit-consuming asynchronous meme generation from a topic and a documented Magic Hour template.

Create AI QR Code

Start an asynchronous artistic QR-code generation for supplied content.

Create AI Video Edit

Start a credit-consuming asynchronous prompt-based edit of an input video.

Create AI Voice

Start credit-consuming asynchronous speech generation from text using a documented preset voice.

Create AI Voice Clone

Start credit-consuming asynchronous speech generation by cloning an input voice recording.

Create Animation Video

Start one credit-consuming asynchronous animation render with explicit dimensions, frame rate, duration, style, and assets.

Create Audio-to-Video

Start a credit-consuming asynchronous video generation job from audio and optional visual style controls.

Create Background Removal

Start a credit-consuming asynchronous image job that removes a background or replaces it with an optional supplied image.

Create Body Swap

Start a credit-consuming asynchronous body-swap image job that places a person into a scene at the selected resolution.

Create Character Animation Video

Animate a reference character with motion transferred from a source video in a credit-consuming asynchronous job.

Create Character Replacement Video

Replace a source-video subject with a reference character in a credit-consuming asynchronous video job.

Create Face Swap Photo

Start a credit-consuming asynchronous photo face swap using one source face for all detected faces or up to five individual face mappings.

Create Face Swap Video

Start a credit-consuming asynchronous video face-swap job using one image for all detected faces or up to five individual face mappings.

Create Head Swap

Start a credit-consuming asynchronous head-swap image job from body and head images.

Create Image-to-Video

Start a credit-consuming asynchronous video generation job from a still image and optional final frame, prompt, audio, model, and resolution controls.

Create Image Upscale

Start a credit-consuming asynchronous 2x or 4x image upscale.

Create Lip Sync Video

Start a credit-consuming asynchronous lip-sync video job from audio and a file or YouTube video.

Create Photo Colorization

Start a credit-consuming asynchronous colorization of a photo.

Create Subtitled Video

Start a credit-consuming asynchronous job that transcribes speech and burns styled subtitles into an MP4 video.

Create Talking Photo

Start a credit-consuming asynchronous talking-photo video from an image and audio.

Create Text-to-Video

Start a credit-consuming asynchronous video generation job from a text prompt and model/output options.

Create Video-to-Video

Start a credit-consuming asynchronous stylized transformation of an input video.

Delete Audio Project

Permanently delete one rendered Magic Hour audio project by ID.

Delete Image Project

Permanently delete one Magic Hour image project and its rendered images by ID.

Delete Video Project

Permanently delete one rendered Magic Hour video project by ID.

Detect Faces

Start asynchronous face detection for an image or video and return a task ID.

Generate Asset Upload URLs

Generate ordered, expiring signed upload URLs and Magic Hour file paths for image, video, or audio assets.

Get Account

Return the connected Magic Hour account's tier, available credits, identity, and subscription details; use this before generation to check entitlement and balance.

Get Audio Project

Get an audio project's asynchronous status, error, credit charge, and temporary downloads.

Get Face Detection

Get face-detection status and detected face paths by task ID.

Get Image Project

Get an image project's asynchronous status, error, credit charge, and temporary downloads.

Get Video Project

Get a video project's asynchronous status, error, credit charge, and temporary downloads.

FRAMEWORKS

How to build Magic Hour MCP Agent with another framework

FAQ

Frequently asked questions

With a standalone Magic Hour MCP server, the agents and LLMs can only access a fixed set of Magic Hour tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Magic Hour and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Magic Hour tools.

Yes, absolutely. You can configure which Magic Hour scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Magic Hour data and credentials are handled as safely as possible.

Start with Magic Hour.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Magic Hour tool your agent needs.Free to start.

Start building