Skip to main content
MCP (Model Context Protocol) lets AI agents interact with Postiz directly — listing integrations, scheduling posts, generating images and videos — all through a standardized tool-calling interface. This means you can connect Claude, ChatGPT, Cursor, or any MCP-compatible client to your Postiz account and manage your social media through natural language.

How It Works

Postiz exposes an MCP server that provides 8 tools to AI agents. The agent discovers these tools, understands their schemas, and calls them on your behalf.

Available Tools

ToolDescription
integrationListList all connected social media accounts
integrationSchemaGet platform-specific posting rules and settings schema
triggerToolExecute platform-specific helpers (e.g., list Discord channels)
schedulePostToolSchedule, draft, or immediately publish posts
generateImageToolGenerate AI images for posts
generateVideoOptionsList available video generation options
videoFunctionToolGet video generator settings (e.g., available voices)
generateVideoToolGenerate videos for posts

Authentication

There are two ways to authenticate with the MCP server:

API Key

Get your API key from Settings > Developers > Public API in Postiz. Use it directly in the MCP endpoint URL or as a Bearer token.

OAuth Token

If you’re building an app for other Postiz users, use OAuth2 to obtain tokens. OAuth tokens start with pos_ and work the same way as API keys.

Connecting

Use the /mcp endpoint with your API key or OAuth token as a Bearer token:
URL: https://api.postiz.com/mcp
Authorization: Bearer your-api-key
This method supports both API keys and OAuth tokens (prefixed with pos_).
For self-hosted instances, replace https://api.postiz.com with your NEXT_PUBLIC_BACKEND_URL.

Quick Example

Here’s what a typical interaction looks like when an AI agent uses Postiz MCP:
  1. Agent calls integrationList — gets back your connected accounts (X, LinkedIn, etc.)
  2. Agent calls integrationSchema with platform: "x" — learns X’s character limits, settings, and rules
  3. Agent calls schedulePostTool — schedules your post with the correct format
All of this happens automatically when you tell your AI agent something like:
“Schedule a post to X for tomorrow at 10am: Excited to announce our new feature!”