How to integrate Heyzine MCP with Atomic Agent

Connect Atomic Agent to Heyzine MCP. Convert this pdf to a flipbook instantly, get embed code for your latest flipbook, and more using natural language, with authentication handled for you.

Heyzine logoHeyzine
Api Key

Heyzine is a flipbook maker that turns static PDFs into interactive, customizable digital publications with page flip effects. It's perfect for engaging audiences with visually rich, professional digital magazines and catalogs.

14 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Heyzine.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Heyzine account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Heyzine with

How Atomic Agent connects to Heyzine

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Heyzine to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Heyzine. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Heyzine account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

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

The Heyzine MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Heyzine account. It provides structured and secure access to your digital publishing tools, so your agent can create flipbooks, manage existing publications, retrieve embed codes, and automate PDF-to-flipbook conversions on your behalf.

  • Instant flipbook creation: Quickly convert PDFs, DOCX, or PPTX files into interactive flipbooks with a single prompt.
  • Automated flipbook management: Effortlessly list, retrieve, or delete existing flipbooks from your Heyzine account without manual work.
  • Seamless website integration: Instantly fetch HTML or iframe embed codes for any flipbook, making it easy to add rich publications to your site.
  • Social sharing optimization: Retrieve and refine social metadata for your flipbooks, like title, description, and thumbnails, to boost engagement.
  • API usage monitoring: Let your agent check API rate limits and monitor usage to ensure smooth, uninterrupted publishing workflows.

Use Heyzine from Atomic Agent

With your account connected, ask Atomic Agent to work with Heyzine in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

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

Create Flipbook Link

Tool to create a direct flipbook link.

Create Flipbook Asynchronously

Start an asynchronous flipbook conversion from a document URL and return the conversion state and flipbook details supplied in the response.

Create Flipbook Sync

Tool to convert a PDF, DOCX, or PPTX into a flipbook synchronously via REST API.

Delete Flipbook

Tool to delete a flipbook.

Get API Limits

Probe a flipbook-list response for rate-limit headers and return any matching headers, the HTTP status and request ID.

Get Flipbook ID Tool

Tool to retrieve HTML for Flipbook ID tool.

Get Flipbook List

Retrieve a list of flipbooks for the authenticated account, with optional page, limit, search and tag parameters when supported by the API.

Get Flipbook Social Metadata

Retrieve a flipbook's title and thumbnail from an oEmbed response.

Get jQuery Plugin

Tool to retrieve the Heyzine jQuery plugin script URL and usage snippet.

Setup Heyzine Webhooks

Helper tool to validate prerequisites for Heyzine webhooks.

Update Flipbook Access List

Add access entries to a flipbook individually and return an aggregate result.

Update Flipbook Password Protection

Tool to update flipbook password protection settings.

Update Flipbook Social Metadata

Tool to update a flipbook's social metadata.

Heyzine Webhooks - Leads

Validate a supplied Heyzine leads webhook payload and return a success acknowledgement with its webhook ID.

FAQ

Frequently asked questions

Start with Heyzine.It takes 30 seconds.

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

Start building