Postiz MCP
chính thứcStreamline your social media with Postiz. Schedule posts, analyze performance, and manage all accounts in one place
Introduction
Connect AI agents to Postiz using the Model Context Protocol (MCP)
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.
sequenceDiagram
participant Agent as AI Agent
participant MCP as Postiz MCP Server
participant Postiz as Postiz Backend
Agent->>MCP: Connect with API key / OAuth token
MCP-->>Agent: List available tools
Agent->>MCP: Call tool (e.g., schedule post)
MCP->>Postiz: Execute action
Postiz-->>MCP: Return result
MCP-->>Agent: Tool response
Available Tools
| Tool | Description |
|---|---|
integrationList | List all connected social media accounts |
integrationSchema | Get platform-specific posting rules and settings schema |
triggerTool | Execute platform-specific helpers (e.g., list Discord channels) |
schedulePostTool | Schedule, draft, or immediately publish posts |
generateImageTool | Generate AI images for posts |
generateVideoOptions | List available video generation options |
videoFunctionTool | Get video generator settings (e.g., available voices) |
generateVideoTool | Generate 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_`).
Use the `/mcp/:apiKey` endpoint with your API key embedded in the URL:
```
URL: https://api.postiz.com/mcp/your-api-key
```
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:
- Agent calls
integrationList— gets back your connected accounts (X, LinkedIn, etc.) - Agent calls
integrationSchemawithplatform: "x"— learns X's character limits, settings, and rules - 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!"
FAQ
Do I need an OpenAI key to use Postiz MCP?
No. The MCP server just exposes Postiz's tools — your AI client (Claude, ChatGPT, Cursor, etc.) provides the model. Postiz only needs an OPENAI_API_KEY if you use Postiz's own AI features (image generation, copilot) which are separate from the MCP tools surfaced to your client.
What happens when my API key expires or is rotated?
Postiz API keys don't auto-rotate, but if you regenerate one in Settings → Developers → Public API, every MCP client using the old key stops working until you update its config. Update the URL or the Authorization header in your client config and reconnect.
Self-hosted: how do I expose the MCP endpoint?
The MCP server starts as part of the Postiz backend and is reachable at /mcp (Bearer auth), /mcp/:apiKey (key in URL), and /mcp-oauth (OAuth-protected). Your reverse proxy must forward these paths to the backend and support streaming HTTP (Transfer-Encoding: chunked). See Reverse Proxies.
Can MCP read or reply to comments?
Not today. The current tool set is read-only on integrations and write-only on posts/media — there's no getComments or replyToComment exposed via MCP. Comment replies must be triggered through the Postiz UI.
Máy chủ liên quan
CalmSEO
CalmSEO gives AI assistants live SEO data for keyword research, SERP checks, competitor keywords, page audits, and Google Search Console insights through MCP.
Derrick App - B2B Data enrichment MCP
MCP server for B2B data enrichment via Derrick: find verified emails, phone numbers, and 100+ LinkedIn/company data points natively from agents. Powered by Google Sheets-native Derrick API.
Markifact
MCP server for Google Ads, Meta Ads, GA4, TikTok Ads, LinkedIn Ads, Shopify, HubSpot, and 15+ more advertising and marketing platforms. 300+ tools for campaign creation, performance analysis, keyword research, and CRM workflows. OAuth 2.1 authentication. Every write operation requires explicit user approval.
toflow.ai
Run your entire sales outreach by chatting with AI
AutomateLab-si-seo
Vendor-agnostic MCP server that audits, scores, and rewrites web pages for AI-citation eligibility. No API keys. No registration. Works in Claude Desktop, Cursor, Cline, Windsurf, VS Code (Copilot / Continue), and any client that speaks the Model Context Protocol.
Lodd.dev
Headless web analytics for agents
Vibiz
Generates ads, sales funnels, and full campaigns from inside Claude Code. Drafts a go-to-market move for every commit you push.
Chompute Shopify Skills
Agent skills for Shopify automation: product/catalog workflows, store operations, and ecommerce tasks usable by Claude Code, Codex, and other SKILL.md-compatible coding agents.
AdKit
Manage Meta, Google & TikTok ads — launch campaigns, track performance, spy on competitors, generate AI creatives.
SocialDataX 小红书 Xiaohongshu XHS RedNote MCP
SocialDataX(社媒数据助手)is a read-only MCP for 小红书 / Xiaohongshu / XHS / RedNote, supporting 笔记搜索, 笔记详情, 评论, 评论回复, 博主信息, 博主笔记列表, note search, note details, comments, comment replies, creator profiles, and creator notes.