How to integrate Postiz MCP with Atomic Agent

Connect Atomic Agent to Postiz MCP. Schedule a linkedin post for next monday, get analytics for your last facebook post, and more using natural language, with authentication handled for you.

Postiz logoPostiz
Api Key

Postiz is an agentic social media scheduling tool for managing and growing your online presence. It helps you schedule posts, capture leads, and build an audience—all powered by AI.

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,500+ apps through Composio, including Postiz.

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 Postiz account. See the Atomic Agent documentation for installation instructions.

Also integrate Postiz with

How Atomic Agent connects to Postiz

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 Postiz 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 Postiz. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Postiz 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 Postiz MCP server, and what's possible with it?

The Postiz MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Postiz account. It provides structured and secure access to your social media posts, connected channels, groups, and media, so your agent can create drafts, schedule or publish posts, review upcoming content, update post settings, and prepare media on your behalf.

  • Social post creation and scheduling: Have your agent create drafts, schedule posts for later, or publish content immediately across your connected social channels.
  • Connected channel and group discovery: Let the agent list your available social integrations and customer groups before preparing content for the right destination.
  • Scheduled content review: Direct your agent to list posts planned between two dates so you can check your upcoming publishing calendar.
  • Post settings management: Instruct your agent to update platform-specific settings for drafts and scheduled posts that have not yet been published.
  • Image and video preparation: Have your agent generate images or videos, check video generation progress, or upload public media for use in social posts.

Use Postiz from Atomic Agent

With your account connected, ask Atomic Agent to work with Postiz 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 Postiz action and event your agent gets out of the box.

Ask postiz

Ask agent 'postiz' a question.

Generateimagetool

Generate image to use in a post, in case the user specified a platform that requires attachment and attachment was not provided, ask if they want to generate a picture of a video.

Generatevideooptions

All the options to generate videos, some tools might require another call to generateVideoFunction

Generatevideotool

Generate video to use in a post, in case the user specified a platform that requires attachment and attachment was not provided, ask if they want to generate a picture of a video.

Grouplist

This tool lists the available groups (customers).

Integrationlist

This tool list available integrations to schedule posts to.

Integrationscheduleposttool

Use this when the user wants to create a draft, scheduled, or immediate social media post on their connected channels, based on the integrationSchema tool.

Integrationschema

Everytime we want to schedule a social media post, we need to understand the schema of the integration.

Postsettingstool

Update the provider settings of an existing post (scheduled or draft) that was NOT published yet.

Postslisttool

List the organization's posts scheduled to be published between two dates (the same data as the "List Posts" API endpoint).

Triggertool

Use this to call a provider helper function (a methodName from the integrationSchema callable tools) that fetches provider-specific data needed for settings, like ids or search results.

Uploadfromurltool

Upload a remote image or video into the media library from a public URL.

Videofunctiontool

Sometimes when we want to generate videos we might need to get some additional information like voice_id, etc

Videostatustool

Check the status of a video generation started with 'generateVideoTool', using the jobId it returned.

FAQ

Frequently asked questions

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

Yes, you can. Atomic Agent 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 Postiz tools.

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

Start with Postiz.It takes 30 seconds.

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

Start building