Connecting AI assistants (MCP)
Connect Claude, ChatGPT, Cursor, VS Code, Gemini or any MCP-capable client to your Postify workspace with the Postify MCP server.
Postify runs a remote MCP (Model Context Protocol) server, so AI assistants like Claude — and any MCP-capable client — can work with your workspace: list and read posts, create drafts, reschedule, check analytics, and more.
Server URL: https://app.usepostify.com/api/mcp (Streamable HTTP transport)
Connect from any MCP client
Buttons for Claude and ChatGPT open Postify's listing in that app's directory; the others install directly or jump to the instructions.
Postify's MCP server is a hosted Streamable HTTP endpoint with OAuth 2.1 sign-in. There is nothing to install or run: point the client at the URL below and sign in to Postify when the browser opens. Every client that supports remote MCP servers with OAuth works; the ones below are the common ones.
https://app.usepostify.com/api/mcpNo API key is needed. The client registers itself via dynamic client registration and walks an OAuth 2.1 flow in your browser, where you sign in and approve scopes on a consent screen. PKCE is required, and refresh tokens rotate on use. Discovery documents live at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server.
Claude (claude.ai, Claude Desktop, Claude Code)
- Fastest: Add to Claude opens Postify in Claude's connector directory. Click Connect, then sign in. The connector syncs to Claude Desktop and mobile.
- Manual (claude.ai / Claude Desktop): Settings → Connectors → Add custom connector, paste the URL, then sign in — or open the dialog pre-filled.
- Claude Code:
claude mcp add --transport http Postify https://app.usepostify.com/api/mcpthen/mcpto sign in.
ChatGPT and Codex
- ChatGPT — fastest: open Postify's ChatGPT app, add it and sign in.
- Manual (ChatGPT): Settings → Apps & Connectors → Create (developer mode), name it Postify, paste the URL, authentication OAuth.
- Codex CLI: add to
~/.codex/config.toml:
[mcp_servers.Postify]
url = "https://app.usepostify.com/api/mcp"Cursor
One click: Add to Cursor. Or in .cursor/mcp.json:
{
"mcpServers": {
"Postify": {
"url": "https://app.usepostify.com/api/mcp"
}
}
}VS Code and GitHub Copilot
One click: Add to VS Code. Or run MCP: Add Server → HTTP and paste the URL, which writes to .vscode/mcp.json:
{
"servers": {
"Postify": {
"type": "http",
"url": "https://app.usepostify.com/api/mcp"
}
}
}Google Antigravity
Install the plugin from the repository (or from the Antigravity Marketplace once listed):
agy plugin install https://github.com/DevinoSolutions/mcp-servers/antigravity-plugins/postifyOr add the server by hand in ~/.gemini/config/mcp_config.json (Antigravity requires the serverUrl key):
{
"mcpServers": {
"Postify": {
"serverUrl": "https://app.usepostify.com/api/mcp"
}
}
}Gemini
- Gemini app: Settings → Connected apps → Custom apps → Add a custom app, paste the URL, then mention
@Postifyin a chat. (Custom apps are currently limited to personal Google accounts in the US.) - Gemini CLI:
gemini extensions install https://github.com/DevinoSolutions/mcp-serversthen/mcp auth postify, or add{ "mcpServers": { "Postify": { "httpUrl": "https://app.usepostify.com/api/mcp" } } }to~/.gemini/settings.json.
Kiro
One click: Add to Kiro. Or in .kiro/settings/mcp.json:
{
"mcpServers": {
"Postify": {
"url": "https://app.usepostify.com/api/mcp"
}
}
}Perplexity, Mistral Le Chat, Grok
- Perplexity (Pro, Max, Enterprise): Settings → Connectors → Custom connector, paste the URL, authentication OAuth.
- Mistral Le Chat (all plans): Intelligence → Connectors → Add Connector → Custom MCP Connector, paste the URL.
- Grok: grok.com → Connectors → New connector → Custom, paste the URL.
Other clients
- Replit: Add to Replit, or Integrations → Add MCP server.
- Devin, Windsurf, Zed, JetBrains Junie, Cline, OpenCode: add a remote (HTTP) MCP server with the URL above; each prompts for the OAuth sign-in on first use. Cline can also install it from the Cline marketplace entry using its
llms-install.md.
Tokens are scoped to what you approve on the consent screen; a tool you did not grant is never shown to the assistant. Revoke access at any time under Settings, then API Keys, then Connected AI apps — see Managing connections.
Scopes
The consent screen groups scopes into permissions, one checkbox each, all checked by default. Untick any you do not want the assistant to have. Tools outside the granted scopes are not even listed to the client.
| Permission | What it adds |
|---|---|
| Read your data | Every :read scope: posts, channels, inbox, analytics, webhooks, workspace settings, your profile, members, plan, support requests and API keys |
| Create and edit | posts:write, channels:write, webhooks:write, workspace:write and ai:generate |
| Delete, publish or send | posts:publish, posts:delete and inbox:reply. Every such call is also confirmed first (see below) |
| Billing and subscription | billing:write: start a purchase, change or cancel your subscription |
| Profile, preferences, account deletion | account:write |
| Members and invites | team:write |
| Support tickets | support:write |
| API keys | keys:write: create, rotate and revoke API keys and connected AI apps |
The consent screen warns on three of them. "Delete, publish or send" can delete or publish data; Postify keeps backups, so contact support to restore anything removed by mistake. "Billing and subscription" can start a purchase, or cancel or refund your subscription. "Profile, preferences, account deletion" can delete your account, which support can also restore from backups.
offline_access (refresh tokens, so the assistant stays connected without asking again) is granted with any of them. The same permissions appear when you create an API key under Settings, then API Keys.
Workspaces
If you belong to more than one workspace, the consent screen also asks which ones the assistant may use: all of them (the default) or a list you tick. "All my workspaces" includes workspaces you join later, and access to any workspace ends when you leave it.
Every tool call acts on one workspace. A connection granted a single workspace never has to name it. A connection granted several calls list_workspaces and passes the chosen id as the workspaceId argument of every other tool.
Tools
| Tool | Scope | What it does |
|---|---|---|
list_posts | posts:read | Recent posts with status and per-channel delivery outcomes |
get_post | posts:read | One post in full: variants, schedule, delivery attempts |
get_schedule | posts:read | Scheduled posts inside a date window — "what's going out this week" |
search_media_library | posts:read | Find images/videos in the workspace media library |
list_inbox_items | inbox:read | Mentions, comments, replies and DMs synced from connected channels |
list_channels | channels:read | Connected social accounts with platform and handle |
get_channel_options | channels:read | The per-post settings a channel accepts (TikTok audience, YouTube privacy, reply controls and more) with every allowed value, plus TikTok's own options for that account |
get_connect_links | channels:write | The link to connect each social network to this workspace; see Connecting a channel through an assistant |
get_analytics | analytics:read | Workspace KPIs: published, scheduled, delivery success rate |
create_draft | posts:write | Create a draft (never publishes — a person reviews it before it goes out), optionally with per-network settings in channelSettings |
schedule_post | posts:write | Schedule a post for a future time on the channels you pick, with media (mediaIds), per-network settings (channelSettings) and Instagram trial reels; never publishes right away |
create_media_upload | posts:write | Start uploading an image or video: returns a one-time uploadUrl the assistant PUTs the file's bytes to; see Uploading media through an assistant |
complete_media_upload | posts:write | Finish an upload, and say whether a file is ready to attach (a video is processed first) |
import_media_from_url | posts:write | Copy an image or video into the media library from a public https:// link, for an assistant that cannot upload a file itself |
reschedule_post | posts:write | Move a post to a new time, optionally setting the network settings it still needs (channelSettings), such as a TikTok audience |
suggest_optimal_time | ai:generate | AI-suggested best posting times for selected platforms |
search_docs | — | Search Postify's public API docs (endpoints, error codes, webhooks, scopes); available to every connected assistant |
publish_now | posts:publish | Publish a post to its live channels immediately; confirmed first |
delete_post | posts:delete | Soft-delete a post, history preserved; confirmed first |
list_workspaces | — | The workspaces this connection may use (id, name, your role); available to every connected assistant |
draft_inbox_reply | ai:generate | Draft a reply to an inbox item in the workspace's brand voice; never sends it |
get_brand_voice | workspace:read | The workspace's brand voice, so drafts sound like you |
search_image | posts:read | Find free stock photos for a post |
generate_week | posts:write | Plan a week of posts for your channels, optionally saved as drafts (persist) |
billing_status | billing:read | The workspace's plan, renewal date, trial and usage against each limit |
list_plans | billing:read | Postify's plans and their limits |
upgrade_plan | billing:write | Switch a trial's plan, or get a one-time link to a prefilled checkout the user pays in |
manage_subscription | billing:write | Cancel or refund after the user confirms, or get a one-time link to the billing portal |
get_profile | account:read | The person's email, name and workspaces with their role in each |
update_profile | account:write | Change the display name or avatar image |
get_notification_prefs | account:read | Which emails and in-app or push notifications the person gets |
update_notification_prefs | account:write | Turn individual notifications on or off |
export_data | account:write | Everything Postify stores about the person, inline or as a one-time download link |
delete_account | account:write | Delete the account and the workspaces the person solely owns; confirmed first |
list_members | team:read | Members with their roles, and pending invitations |
invite_member | team:write | Email an invitation, or resend a pending one |
change_role | team:write | Change a member's role |
remove_member | team:write | Remove a member; confirmed first |
revoke_invite | team:write | Cancel a pending invitation |
create_team | team:write | Create a workspace the person owns |
delete_team | team:write | Delete a workspace the person owns; confirmed first |
create_support_ticket | support:write | Send a message to Postify support; replies go to the account email |
list_support_tickets | support:read | The person's support requests, newest first |
list_connections | channels:read | Connected social accounts and whether each is healthy (same as list_channels) |
disconnect | channels:write | Disconnect a social account; confirmed first |
reverify | channels:write | Re-check an account's sign-in; returns reconnectUrl when the person must sign in again |
list_api_keys | keys:read | The workspace's API keys, never the secrets |
create_api_key | keys:write | Create an API key; permissions cannot exceed the connection's own |
rotate_api_key | keys:write | Issue a new secret for a key, with an optional overlap window |
rename_api_key | keys:write | Rename an API key; its secret and permissions stay the same |
revoke_api_key | keys:write | Revoke an API key; confirmed first |
list_connected_apps | keys:read | AI assistants the person connected, with what each may do |
revoke_connected_app | keys:write | Disconnect an AI assistant; confirmed first |
list_api_logs | keys:read | Recent API requests: status, path and latency |
list_granted_scopes | — | What this connection may do; available to every connected assistant |
request_scopes | — | A one-time link the person opens to grant more tiers; available to every connected assistant |
list_webhooks | webhooks:read | Outgoing webhook endpoints and their events |
create_webhook | webhooks:write | Send Postify events to a URL |
update_webhook | webhooks:write | Change a webhook's URL or events, or turn it off |
delete_webhook | webhooks:write | Delete a webhook; confirmed first |
get_webhook_secret | webhooks:write | A webhook's signing secret, for verifying deliveries |
rotate_webhook_secret | webhooks:write | Issue a new signing secret (24-hour overlap) |
test_webhook | webhooks:write | Send a sample event to a webhook |
replay_failed_webhook_deliveries | webhooks:write | Send again every failed delivery from a recent window |
list_webhook_deliveries | webhooks:read | A webhook's last 50 deliveries |
replay_webhook_delivery | webhooks:write | Send one delivery again |
get_slack_alerts | webhooks:read | The Slack destination for failure alerts |
set_slack_alerts | webhooks:write | Send failure alerts to a Slack incoming webhook |
test_slack_alerts | webhooks:write | Send a test alert to Slack |
delete_slack_alerts | webhooks:write | Stop sending alerts to Slack |
list_review_links | posts:read | Client review links and their state |
create_review_link | posts:publish | A link a client opens without an account to review and approve up to 50 posts; confirmed first because approving may publish |
revoke_review_link | posts:write | Turn off a review link |
approve_post | posts:publish | Approve a post waiting for approval; confirmed first because it may publish |
reject_post | posts:write | Send a post back to its author with a reason |
list_post_comments | posts:read | Comments and edit requests on a post |
add_post_comment | posts:write | Add a comment or an edit request |
update_post | posts:write | Replace a post's content; publishing now is confirmed first |
duplicate_post | posts:write | Copy a post into a new draft |
get_post_deliveries | posts:read | Per-channel delivery attempts for a post |
retry_delivery | posts:publish | Retry one failed delivery; confirmed first |
list_failed_deliveries | posts:read | The dead-letter queue |
replay_failed_delivery | posts:publish | Publish a dead-lettered delivery again; confirmed first |
batch_create_posts | posts:write | Create up to 100 posts in one call |
get_post_set | posts:read | A set of posts created together |
schedule_post_set | posts:write | Schedule every post in a set, spaced apart |
delete_post_set | posts:delete | Delete a set and its posts; confirmed first |
list_queue_categories | posts:read | Content categories that feed the posting queue |
create_queue_category | posts:write | Create a queue category with recycle settings |
update_queue_category | posts:write | Rename a category or change its settings |
delete_queue_category | posts:write | Delete a category; its posts stay |
list_queue_slots | posts:read | A category's weekly time slots |
add_queue_slot | posts:write | Add a weekly slot to a category |
update_queue_slot | posts:write | Move, retarget or pause a slot |
delete_queue_slot | posts:write | Remove a slot |
list_queue_pool | posts:read | Evergreen posts the queue draws from |
set_post_evergreen | posts:write | Add a post to the evergreen pool or remove it |
preview_queue | posts:read | What the queue will post over the next hours |
list_channel_presets | posts:read | Saved groups of channels |
create_channel_preset | posts:write | Save a group of channels under a name |
set_default_channel_preset | posts:write | Make a preset the default |
delete_channel_preset | posts:write | Delete a preset |
reply_to_inbox_item | inbox:reply | Post a public reply to a comment; the exact text is confirmed first |
update_inbox_item | inbox:read | Mark an inbox item read, unread or archived |
sync_inbox | inbox:read | Fetch new comments and mentions now |
list_templates | posts:read | Saved post templates |
create_template | posts:write | Save reusable post text |
delete_template | posts:write | Delete a template |
list_hashtag_groups | posts:read | Saved hashtag sets |
create_hashtag_group | posts:write | Save a named set of hashtags |
update_hashtag_group | posts:write | Rename a hashtag group or replace its tags |
delete_hashtag_group | posts:write | Delete a hashtag group |
get_media | posts:read | One media library item and its status |
set_video_poster | posts:write | Use a video frame as the cover image |
delete_media | posts:delete | Remove a media item; confirmed first |
bulk_import_posts | posts:write | Import up to 500 posts |
get_workspace | workspace:read | The workspace's name, logo and plan |
update_workspace | workspace:write | Rename the workspace or change its logo |
get_timezone | workspace:read | The workspace timezone |
set_timezone | workspace:write | Set the workspace timezone |
set_brand_voice | workspace:write | Save the brand voice |
delete_brand_voice | workspace:write | Remove the saved brand voice |
train_brand_voice | ai:generate | Learn a brand voice from samples, rewrite text in it, or score a text against it |
plan_content | ai:generate | A day-by-day content plan for a theme |
research_hashtags | ai:generate | Relevant hashtags for a topic, with usage tips |
optimize_length | ai:generate | Trim or expand a post to fit a platform's limit |
recycle_post | ai:generate | A fresh angle on an old post |
suggest_channels | ai:generate | Which connected channels suit this content |
transcribe_media | ai:generate | Transcribe or translate a library video or audio file |
get_transcript | ai:generate | A transcription's status and text |
edit_transcript | ai:generate | Correct a transcript's text |
get_transcription_usage | ai:generate | Transcription minutes used this period |
caption_from_transcript | ai:generate | A caption written from a transcript |
fields_from_transcript | ai:generate | Title, caption, description and summary from a transcript |
post_from_url | ai:generate | A post written from a web page |
generate_variants | ai:generate | 1 to 10 alternative versions of a post |
writing_prompts | ai:generate | Fresh post ideas for a niche |
export_analytics_csv | analytics:read | Per-post publishing results as CSV |
list_sessions | account:read | Signed-in devices, two-factor status and passkeys |
revoke_sessions | account:write | Sign out one device or every browser; confirmed first |
get_referral_summary | account:read | Your referral link, sign-ups and rewards |
seed_demo_content | posts:write | Add sample draft posts to an empty calendar |
get_bioflow_connection | workspace:read | Whether BioFlow is linked, and which page |
connect_bioflow | workspace:write | Link BioFlow with its API key |
disconnect_bioflow | workspace:write | Unlink BioFlow |
list_bioflow_pages | workspace:read | The connected BioFlow account's pages |
choose_bioflow_page | workspace:write | Create or pick the BioFlow page for posts |
sync_bioflow | workspace:write | Put the latest published posts on the bio page |
render_hook_variants | posts:write | Render a video once per opening hook |
create_hook_test | posts:write | Schedule one trial reel per hook |
list_hook_tests | posts:read | Your hook tests and how their reels did |
get_hook_test | posts:read | One hook test's versions side by side with their views |
share_hook_test | posts:write | Save the winning hook as a reel draft; never publishes |
get_slack_install_link | webhooks:write | Single-use link that adds the Postify app to your Slack workspace |
disconnect_slack_app | webhooks:write | Uninstall the Postify app from Slack; confirmed first |
get_analytics_insights | analytics:read | Follower growth and top posts over 7, 30 or 90 days |
list_activity_log | posts:read | The workspace activity log, newest first |
get_api_usage_by_key | keys:read | This billing period's API requests, by key |
update_channel_settings | channels:write | Change a channel's defaults, e.g. its Pinterest board |
list_tiktok_drafts_needing_audience | posts:read | TikTok drafts with no audience chosen yet |
set_tiktok_audience_on_drafts | posts:write | Set the audience the user chose on TikTok drafts |
Uploading media and scheduling through an assistant
An assistant connected over OAuth needs no API key to post a video or photo:
create_media_uploadwith the file's name, type and exact size returns amediaIdand anuploadUrl. The assistant sends the file's bytes there with an HTTP PUT, for examplecurl -X PUT -H "Content-Type: video/mp4" --data-binary @clip.mp4 "<uploadUrl>". The URL works once, for that file only, and expires after 15 minutes; it carries no access to anything else.complete_media_uploadwith themediaIdfinishes the upload. Images are ready at once; a video is processed first (its length is read and a cover frame made), so the assistant calls it again every few seconds until it saysready.schedule_postwith the text, the channel ids fromlist_channels, a futurescheduledAtandmediaIdsschedules it. Instagram trial reels takeinstagramTrialReel(manualorauto) and exactly one video.
An assistant that cannot run an upload itself (ChatGPT or Claude on the web) uses import_media_from_url with a public https:// link to the file instead of step 1: Postify checks the file's type and size against your plan, copies it in the background, and the assistant follows it with complete_media_upload. Links to private or internal addresses are refused. Every file counts against your plan's file-size limit, and every scheduled post against its monthly post allowance, the same as from the web composer.
Setting a post's network options through an assistant
Each network has its own per-post options (who can reply, a story or reel switch, tags, a TikTok audience, a YouTube privacy). Ask the assistant to set them and it calls get_channel_options for the channel to see exactly what that network accepts, then passes your choices as channelSettings on create_draft or schedule_post, or on reschedule_post for a post that already exists. A setting the network does not accept, or a value it does not allow, is refused and nothing is saved, so a typo never publishes a post you did not ask for.
Two networks need your word first:
- TikTok allows no default audience, so the assistant has to ask you who should be able to view the post and confirm your answer before it sets
tiktokPrivacy. A TikTok post without one can be saved as a draft but cannot be scheduled or published. - YouTube publishes Public when no privacy is set. Say so if you want Unlisted or Private.
Connecting a channel through an assistant
Ask the assistant to connect a network and it calls get_connect_links, then gives you a link. Open it in the browser where you are signed in to Postify:
- For most networks the link goes straight to the network's own sign-in and approval page, then back to Postify.
- For a network that has no such page (an app password, a bot token or a webhook URL), the link opens a short form in Postify's Channels page. You type the credential there, never into the chat.
The link holds no password or token. It connects whatever account you approve to the workspace your browser has open, and it is refused if that is not the workspace the assistant asked for. When you are done, the assistant calls list_channels to confirm the channel is connected. Networks marked coming soon cannot be connected yet.
Publishing, deleting and other actions that cannot be undone
publish_now and delete_post need the "Delete, publish or send" permission (posts:publish, posts:delete). There is no separate workspace switch: untick that permission on the consent screen and the assistant never sees those tools. Every call is a two-step: the first call returns CONFIRMATION_REQUIRED, whose next names the same tool with a confirmToken among its arguments; after you explicitly confirm, the client re-calls with the same arguments plus the token. A token expires after 10 minutes, is bound to the exact tool and arguments it was issued for, and commits one call only. A post scheduled less than 60 seconds ahead is sent by the next publish sweep, so it counts as publishing now: update_post, reschedule_post, batch_create_posts and the other scheduling tools need posts:publish for it, and those with a confirm step ask for the token.
Structured denials
A blocked tool call is not a transport error — it returns isError: true with a machine-readable JSON object in the result's text content, which the agent can act on. It carries a stable code, a message, and, where there is a next step, next: the tool to call and the arguments to fill ({"tool": "request_scopes", "args": {"tiers": ["billing"]}}). An argument only the user can answer reads <ask the user: …>. A denial never carries a link into the app. It may also carry a requiredScope and a docs link back to this page.
| Code | When you get it, and what resolves it |
|---|---|
SCOPE_MISSING | The connection was never granted the permission this tool needs. next is request_scopes with the permission to add. |
CONFIRMATION_REQUIRED | A publish, delete or send was called without a confirmToken. next carries a fresh token: confirm with the user, then re-call with the SAME arguments plus the token (valid 10 minutes, once). |
VALIDATION_ERROR | Postify refused this exact request, and retrying it unchanged gets the same answer: a scheduledAt that is not an ISO 8601 date-time, a channel setting that does not exist, or a TikTok version with no audience chosen. The message says what to change. When the fix needs the user (a TikTok audience, a commercial-content answer, a trial reel choice), next names the tool and the argument to ask them for. |
NOT_FOUND | No post, member or other item with that id in this workspace. next points at the list tool to get current ids. |
CONFLICT | The item is in a state that refuses the call, for example a post that is already published. The message says what to do instead. |
QUOTA_EXCEEDED | The workspace's plan limit for the operation (posts, AI credits) is used up. next is upgrade_plan; ask the user which plan first. |
RATE_LIMITED | Too many calls in a short time. Wait a minute, then call again. |
WORKSPACE_REQUIRED | The connection was granted several workspaces and the call named none. The denial lists them (workspaces); re-call with one as workspaceId. |
WORKSPACE_NOT_FOUND | The workspaceId is not one this connection may use. The same answer is given for an id that does not exist at all. |
NO_WORKSPACE_ACCESS | You no longer belong to any workspace this connection was granted. Reconnect to choose again. |
TOOL_FAILED | Anything else — the generic failure. Details never include third-party error bodies. |
Managing connections
Connected clients — with their granted scopes and last-used time — are listed under Settings, then API Keys, then Connected AI apps. Disconnecting revokes consent and refresh tokens immediately, and Postify refuses any access token the client still holds on its next request. Every tool call, allowed or denied, is written to the workspace audit trail.
Analytics and inbox
Workspace analytics and a unified engagement inbox across your connected channels.
API documentation
Everything to build on the Postify REST API — 5-minute quickstart, API-key auth, RFC 9457 errors, cursor pagination, idempotency keys, rate limits, and all 17 operations with examples.