How to integrate Recraft MCP with Hermes

Connect Hermes to Recraft MCP. Generate a minimalist logo for your coffee shop, upscale this product photo for an online store, and more using natural language, with authentication handled for you.

Recraft logoRecraft
Api Key

Recraft is an AI image platform for generating, transforming, upscaling, and vectorizing visuals. It helps teams create polished raster and vector artwork through a native API.

22 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 Recraft 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 Recraft 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 Recraft 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 Recraft

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

4. Done. You're all set with a new Recraft 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 Recraft or request any Recraft-related task. It will prompt you to authenticate and authorize access.

5. Done!

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

The Recraft MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Recraft account. It provides structured and secure access to image generation, editing, enhancement, and style management tools, so your agent can create raster and vector artwork, transform images, refine visual assets, and manage reusable styles on your behalf.

  • Raster and vector image creation: Have your agent generate one or more raster images or SVG illustrations from a text prompt using Recraft's supported models.
  • Image transformation and editing: Direct your agent to remix images, transform them from a prompt, inpaint selected areas, outpaint beyond the original borders, or replace and generate image backgrounds.
  • Image enhancement and conversion: Let the agent upscale images, enhance their detail, remove backgrounds, or convert PNG, JPEG, and WebP images into editable SVG artwork.
  • Custom style management: Instruct your agent to create reusable private styles from reference images, list available styles, view a style, or delete one you no longer need.
  • Prompt and account insights: Have your agent improve image prompts, browse Recraft's built-in styles, or check the connected user's remaining API Units balance.

Way Forward

With Recraft 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 Recraft action and event your agent gets out of the box.

Create Custom Style

Create a private reusable style in the connected Recraft account from one to ten bounded reference images, existing V2/V3 styles, or both.

Creative Upscale Image

Increase one raster image's resolution while regenerating fine details and faces.

Crisp Upscale Image

Increase one raster image's resolution while sharpening it without promising a specific scale factor, then return a public signed URL that normally expires in about 24 hours.

Delete Custom Style

Permanently delete one style by UUID from the connected Recraft account.

Enhance Image Details

Re-render one raster image with Recraft V4.

Enhance Prompt

Expand a text prompt with visual context, style cues, and composition details.

Erase Image Region

Erase the pure-white area of a black-and-white mask from one raster or opaque untrusted SVG image.

Generate Image

Generate one to six raster or vector images with any documented Recraft model, returning public signed URLs that normally expire in about 24 hours.

Generate Image Background

Generate a new background in the pure-white area of a mask while preserving black areas.

Generate Raster Image

Generate one to six raster images with a documented raster model and return public signed URLs through Recraft's raster-only endpoint, which rejects vector output.

Generate Vector Image

Generate one to six SVG images with a documented vector model and return public signed URLs through Recraft's vector-only endpoint, which rejects raster output.

Get Current User

Get the connected Recraft user's identity and remaining API Units balance.

Get Custom Style

Get one connected-account Recraft style by UUID.

Transform Image From Prompt

Create one to six new images from a source image and prompt with controlled similarity.

Inpaint Image

Regenerate the pure-white masked area of one image from a prompt, keeping black areas unchanged.

List Basic Styles

List Recraft's built-in styles and the compatible model for each.

List Custom Styles

List all custom styles created in the connected Recraft account.

Outpaint Image

Extend one image beyond its borders using a prompt and an output size, side expansion, or zoom-out percentage.

Remove Image Background

Remove the background from one raster or SVG image and return a public signed result URL that normally expires in about 24 hours.

Replace Image Background

Detect and redraw one image's background from a prompt.

Remix Image

Create one to six prompt-free variations of an image at a required supported aspect ratio or model-compatible exact size.

Vectorize Image

Convert one PNG, JPEG, or WebP raster image into an editable SVG and return a public signed URL that normally expires in about 24 hours.

FAQ

Frequently asked questions

With a standalone Recraft MCP server, the agents and LLMs can only access a fixed set of Recraft tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Recraft 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 Recraft tools.

Yes, absolutely. You can configure which Recraft 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 Recraft data and credentials are handled as safely as possible.

Start with Recraft.It takes 30 seconds.

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

Start building