Postly MCP is for AI assistants that need to do real publishing work, not just suggest content.
Limit an integration to its client
In API access > API keys, keep the default All workspaces or choose Selected workspaces. For example, give “Client A — Claude” access only to Client A’s workspace. The assistant cannot use that key to access Client B, even if it supplies Client B’s workspace ID.
Existing keys keep their permissions. Edit Workspace access to change a key without replacing its secret or moving billing and usage to a workspace. A selected list stays fixed until explicitly changed. If a request uses the wrong key, follow the allowed workspace names or IDs in the error, switch keys, or edit its workspace access. See API workspace access.
What MCP gives an agent
With scoped Postly tools, an agent can:
- discover organizations and workspaces
- resolve connected publishing targets
- import media
- validate content against destination rules
- create or update posts
- schedule publishing
- inspect activity and analytics
Why MCP is different from direct API usage
MCP is useful when the actor is an assistant such as ChatGPT, Claude, Gemini, or another tool-using agent. Postly stays the secure execution layer while the agent gets a narrow set of governed actions.
Recommended agent workflow
Connect all intended channels in Postly first. Use postly.list_workspaces and postly.list_social_accounts (or postly.resolve_publishing_targets) to discover authorized destinations; never invent channel IDs. Use target_platforms for post targets, not a CSV channels field. On update, supply the complete desired selection to add or remove channels; omit it to keep the existing selection.
Use postly.get_channel_schema for platform limits and postly.validate_post to check text, overrides, settings and destinations before creating or scheduling. Correct over-limit text using a shorter shared version or platform_posts text overrides, then validate again after changing text or channels. CSV preview and Google Sheets also show affected-platform character counts and limits, with manual editing available; see the bulk guide.
- Resolve the right workspace first.
- Fetch the available channels or groups.
- Validate the content if the campaign is complex.
- Attach media during the same flow when possible.
- Create, update, schedule, or inspect the post.
- Report results back to the user clearly.
Where teams usually get value
- turning prompts into scheduled campaigns
- drafting then routing into approval
- handling generated media without manual re-hosting
- summarizing scheduled activity
- turning analytics into next-step suggestions
Guardrails that matter
Keep generation and execution close together
If the agent generates media or receives a temporary file reference, it should pass that media into Postly during the same turn or request flow where possible.
Keep workspace scope explicit
Agents should not guess the publishing destination. Resolve it.
Keep review in place where needed
MCP can speed up operations without removing approvals.
Platforms that support connection links
| Where you create the link | Supported platforms |
|---|---|
| Dashboard Share link, API and MCP | Facebook, Instagram, Threads, LinkedIn, Google Business Profile, YouTube, Pinterest, TikTok, WhatsApp and X (Twitter) |
| API and MCP only | Blogger, WordPress.com, Discord and Slack |
The second group supports connection-link creation through the API/MCP but does not currently show a Share link button on the Channels page. WordPress.com support refers to its OAuth connection, not a self-hosted WordPress credential form.
Other platforms, including Bluesky, Reddit, Telegram, Ghost, Hashnode and DEV.to, do not currently support this connection-link flow. Use their connection options on Channels instead. OAuth support alone does not mean a platform supports shared connection links.
What a connection link automates
The API or MCP can create the private connection link. The recipient does not need a Postly account or Postly sign-in to use it. A workspace invitation is optional and is only needed for access to the Postly workspace.
The recipient opens the link and approves access with the social platform. If they are not already signed in to that platform, it may ask them to sign in there. They select Pages, channels or locations where required. The link does not automate this consent.
Connection links expire after 10 minutes and are single-use. Send them privately. Your workflow should wait until a usable publishing destination is confirmed before creating or scheduling posts for it. Providers requiring manual credentials use their dashboard connection form.
Good next guides
Check whether a scheduled post went live
Save the Postly post ID when scheduling. After the scheduled time, ask your assistant to check that post. Developers can call postly.get_post_status or postly_get_post_status, depending on the connector. Use the delivery and failure results to explain what happened on each channel.
For example, a post can publish to LinkedIn while Instagram still needs attention. If Postly could not confirm an Instagram delivery, check the live platform before retrying. To get proactive alerts in an inbox, team channel, or automation workflow, set up a destination in Product notifications.
In a compatible assistant, you can also ask to be alerted if a specific post fails. The assistant needs an active subscription and access to that post. Set up alerts for your assistant.
Deletion and accidental live posts
Deleting a post in Postly is separate from removing published content. DELETE /posts/{postId} and postly_delete_post only remove the post in Postly; a successful response does not confirm live removal on any platform. In the dashboard, choose Delete on Platforms for supported destinations before removing the post, and review each result. Unsupported content needs manual action. DEV articles move to drafts rather than being permanently deleted.
Keep the post in Postly and live links until you have verified removal. Do not interpret a publishing notification or an absent post in Postly as a deletion receipt. See platform support, permissions, and the agency recovery workflow.
Reorganize a client’s connected channels
If a client’s publishing connections are in the wrong workspace, use Move channels to review a move into another workspace under the same owner. Posts and analytics stay in the source. Finish or cancel unfinished publishing work, resolve uncertain delivery, and remove any selected CRM allocations before moving. Recheck destination access and audience groups afterward.
The API/MCP flow previews the exact selection, then requires approval before confirmation with the same request ID and review token. Both workspaces require write access; MCP additionally requires workspace
and channels consent. See the API reference and examples, and check the live action catalog for connector availability.