How to let an AI agent schedule your social media posts with MCP
Connect Claude, ChatGPT, Cursor, Codex or another MCP client to Postmate so an agent can draft, schedule and list posts on your channels, with approval.
Updated
Add Postmate as an MCP server in your AI client. Clients that support OAuth use https://getpostmate.com/mcp-oauth-dynamic and you sign in to Postmate in the browser. Clients that use an API key connect to https://getpostmate.com/mcp with the header "Authorization: Bearer <API key>". The agent can then list your channels, create drafts or scheduled posts, and list or delete posts.
Where do I find the MCP settings?
Open Settings > Connections. The Agents section shows your API key and an "MCP Client Configuration" panel. Pick the authentication ("Sign in with Postmate (no API key)" or "API Key") and your client, and Postmate shows the exact command or config to paste, with Copy buttons.
The panel lists Claude, ChatGPT, OpenClaw, Hermes, NanoClaw, Claude Code, Cursor, Codex, VS Code / Copilot, Windsurf, Amp, Gemini CLI and Warp. API and MCP access come with every plan.
Connect with OAuth (no API key)
OAuth is the safer choice: no key is pasted anywhere, and the client signs in to your workspace through Postmate. The client registers itself, then opens a browser window where you sign in and approve.
- In Claude (desktop or web), go to Settings > Connectors > Add custom connector and paste https://getpostmate.com/mcp-oauth-dynamic.
- In ChatGPT with developer mode, go to Settings > Connectors > Create and paste the same URL.
- Sign in to Postmate in the window that opens and approve the access.
- Ask the agent to list your channels to check the connection.
For Claude Code, run this in your terminal:
claude mcp add postmate --transport http "https://getpostmate.com/mcp-oauth-dynamic"For Cursor, add this to .cursor/mcp.json in your project root:
{
"mcpServers": {
"postmate": {
"url": "https://getpostmate.com/mcp-oauth-dynamic"
}
}
}For Codex, add this to ~/.codex/config.toml, then run codex mcp login postmate:
[mcp_servers.postmate]
url = "https://getpostmate.com/mcp-oauth-dynamic"Connect with an API key
Use the API key for agents that run without a person present, such as a script or a scheduled job. Copy the key from Settings > Connections > Agents. For Claude Code:
claude mcp add --transport http postmate https://getpostmate.com/mcp --header "Authorization: Bearer YOUR_API_KEY"For Cursor and other clients that take JSON:
{
"mcpServers": {
"postmate": {
"url": "https://getpostmate.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}What can the agent do?
| Tool | What it does |
|---|---|
integrationList | Lists your connected channels, optionally for one client. |
groupList | Lists the clients your channels are grouped under. |
integrationSchema | Returns a channel's rules, character limit and settings, so the agent writes a post the platform accepts. |
triggerTool | Looks up platform data a post needs, such as a Pinterest board or a person to mention. |
integrationSchedulePostTool | Creates a draft, a scheduled post or a post that goes out now, with media, replies or thread posts, on one or many channels. Returns a preview link for each post. |
postsListTool | Lists the posts between two dates, whatever their status. |
postSettingsTool | Changes the platform settings of a post that has not gone out yet. |
deletePostTool | Deletes a post on one channel. A published post stays live on the network. |
integrationConnectTool | Gives you a Postmate link to connect a new channel. The link works for one hour. |
uploadFromUrlTool | Adds an image or video from a public https URL to your media library. |
mediaListTool | Lists the media already in your library. |
uploadWidgetTool | Shows an upload box for files on your device, in clients that support MCP Apps. |
Before scheduling, Postmate checks each post with the same rules as the composer: empty posts, text that is too long and missing settings are refused with a message the agent can act on. Drafts skip the settings check so they can be finished later.
How do approvals work for agent posts?
By default, agent posts go out at the time the agent sets. To review them first, an admin sets Settings > Workspace > "Approval before posting" to "Posts from agents and the API". From then on, every post an agent schedules is saved as a draft waiting for approval, and the agent is told so.
- The agent creates the post. Its reply says the post is waiting for approval.
- You get a notification in Postmate that a post from your agent is waiting.
- On Home, under "Needs you", the post shows "From your agent (MCP)". Press Approve, Edit or Reject.
- An approved post goes out at its time. If that time has passed, it takes the channel's next free posting time.
The full rules, including client approval links, are in how to require approval before posts go out.
Tips for prompting the agent
- Name the channels and the time with a timezone, for example "LinkedIn and Bluesky, Tuesday 9:00 New York time". The tool takes times in UTC, and most agents convert for you.
- Ask for drafts first if you want to read them in the composer before anything is scheduled.
- Media must be in your Postmate media library. Give the agent a public https link and it uploads it first.
- Posts on X count toward your monthly X allowance, the same as posts you write by hand. See X post limits.
If your code calls Postmate directly instead of through an agent, use the REST API. To compare MCP support across tools, see social media schedulers with MCP.
Questions
Do I need an API key to connect Claude or ChatGPT?
No. Paste https://getpostmate.com/mcp-oauth-dynamic as a custom connector and sign in to Postmate in the browser window that opens.
Can the agent publish without my approval?
Yes, unless you turn approvals on. Set "Approval before posting" under Settings > Workspace to "Posts from agents and the API" and every agent post waits on Home until someone approves it.
Which MCP clients work with Postmate?
Any client that speaks MCP over HTTP. Settings shows ready-made setups for Claude, ChatGPT, Claude Code, Cursor, Codex, VS Code / Copilot, Windsurf, Amp, Gemini CLI, Warp, OpenClaw, Hermes and NanoClaw.
Can an agent delete my published posts on the network?
No. Deleting a published post through the agent only removes it from Postmate. It stays live on the social network.
Related
Your next post, on every channel.
Plans start at $19 a month after a 7-day free trial. Cancel during the trial and you pay nothing.
Start your 7-day free trial