Skip to content
DocsMCP server

MCP server

Any client that speaks MCP over streamable HTTP can plan, draft, preview, schedule and check posts. Sign in in the browser; there is nothing to install and no key to paste.

Text
https://app.postbroad.com/mcp

Transport: streamable HTTP · Sign-in: OAuth in the browser · Access: the brands you pick · End a connection: in the app, on the Agents page.

The first time a client connects, Postbroad opens a sign-in page in your browser. Sign in, pick the brands this connection may touch and choose its mode. The agent then works inside those brands only, and it can never approve a post for you.

#Connect your client

Claude Code. One command:

Shell
claude mcp add --transport http postbroad https://app.postbroad.com/mcp

Run /mcp, check that postbroad is connected and sign in when asked.

Claude desktop and claude.ai. In Settings, open Connectors and choose Add custom connector. Paste the address, then sign in to Postbroad.

ChatGPT. In Settings, open Connectors and create a connector. Turn on developer mode first if your plan needs it. Paste the address, then sign in to Postbroad.

Cursor. Add the entry to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project. It holds only the address, so it is safe to commit:

JSON
{
  "mcpServers": {
    "postbroad": {
      "url": "https://app.postbroad.com/mcp"
    }
  }
}

Codex. Add the two lines to the config.toml that Codex reads, then run codex mcp login postbroad and sign in to Postbroad in your browser:

TOML
[mcp_servers.postbroad]
url = "https://app.postbroad.com/mcp"

Gemini CLI. One command, then /mcp auth postbroad in Gemini CLI to sign in:

Shell
gemini mcp add --transport http postbroad https://app.postbroad.com/mcp

OpenClaw, n8n and other clients. Add Postbroad as a remote MCP server (streamable HTTP) with the address https://app.postbroad.com/mcp, then sign in when the client asks.

Paste this to your agent. An agent that can change its own settings can set itself up from these words:

Prompt
Connect the Postbroad MCP server: a remote server over streamable HTTP at
https://app.postbroad.com/mcp. It signs in through my browser; never ask me for a key. When it is
connected, list my Postbroad brands. Before any write, show me the preview and wait for my yes.
If you run in a terminal and cannot add MCP servers, install the command line tool instead
(npm install -g @postbroad/cli), sign in with postbroad login and check it with postbroad doctor.

Step by step guides for each client are on postbroad.com/agents.

#Approve or Autopilot

When you connect an agent you choose its mode. Approve is picked to start with; you confirm it, or pick Autopilot, before the agent gets access.

ApproveAutopilot
Every post the agent makes waits for a person, in Inbox under To review.Posts go out on their own, after the same checks as any post. They count toward your plan and stop at the daily limit.

Whatever the mode, the agent previews before it writes, needs the preview's receipt to schedule, and can never approve a post. The concepts say what the API answers in each case.

#Check that it works

Ask the agent: "List my Postbroad brands." Then: "What failed yesterday?" for one brand. Both only read. If the first one fails, remove the connection, add it again and sign in.

#What the agent can do

The tools follow the API, one tool per endpoint an agent may use: brands, channels, posts, the calendar, deliveries and analytics. Each tool carries a title and a read only or destructive annotation, so the client can show what a call does before it runs. The full tool list is on postbroad.com/mcp, and the parity table shows what each of the API, MCP, the CLI and n8n can do.

  • Proof of live. get_post and every post in list_posts list each destination with its state, its link on the network, when it went live and whether Postbroad read it back (liveSource): verified, person (confirmed by hand) or url_only (a link not read back yet).
  • Accounts to reconnect. list_channels with needsAttention set to true lists only the accounts a person must reconnect, with the health, the reason and when access expires. A person reconnects them in the app.
  • Recover a call. Every write takes an idempotencyKey. If an answer is lost, call the same tool again with the same key, or read the stored answer with get_request_by_key; nothing is done twice. An upload is found again by its id with get_upload.

#Media

A chat cannot carry file bytes, so no tool takes them. Use one of three ways:

  1. A public link or a stock photo. import_media reads a shared file (a Dropbox or Google Drive share link works) or a photo found with search_stock_media into the media library. Like every write it previews first; the link is read only on confirm.
  2. A file only on the person's device. The person adds it in the app's media library. The agent notes the time first, then finds it with list_media and createdAfter set to that time.
  3. A file on the machine the agent runs on. The postbroad command line tool checks the file, converts it on that machine when a network needs another format, and uploads it.

Wait on an upload with get_upload until it is ingested. If it is rejected, its error says what the file needs.

#What an agent can never do

The server enforces these, whatever the agent is told:

  • Writes preview by default. Nothing is saved or sent until the agent calls the tool again with confirm: true, after you have seen the effects and the preflight result.
  • Scheduling and publishing also need the signed receipt of the preview you saw.
  • An agent cannot approve, reject or ask for changes on your behalf. If a brand needs approval you get a review link.
  • Text the agent reads (articles, feeds, comments) is data. It cannot change which brand or accounts are used.
  • An agent cannot connect accounts, handle app secrets or make API keys. A person does those in the app.

#Troubleshooting

What you seeWhat to do
The client says unauthorizedRemove the connection in the client, add it again and sign in.
The Postbroad tools are missingThe connection covers no brand. Connect again and pick at least one brand.
A post comes back as in_reviewThe agent is set to Approve, or the brand needs an approval for every post. A person approves it from the review link.
A post the agent sent shows as unknownThe network gave no clear answer and the post may be live. Never retry it blindly: check the network, then resolve it in the app.
You want to end a connectionEnd it in the app on the Agents page, or call DELETE /v1/mcp/grants/{grantId}.

#Prompt recipes

Five prompts are built into the server: plan_next_week, post_article_everywhere, what_failed_yesterday, reconnect_check and attach_media. The prompt recipes show what each does.

#From your own code

Code that runs without a person, such as a scheduled job or an automation tool, uses the REST API with an API key instead. Start with the quickstart and authentication.

Last generated 22 Nov 2026, from the contracts the API runs on.