Post to X from Claude with the MCP server

Attach PostWharf's MCP server to Claude once, then publish or schedule X posts, threads and video by asking for them — and get a receipt saying what actually landed.

Connect it

A command for Claude Code, or a connect link for the Claude apps. One workspace key scopes every call to a single brand, so Claude can only ever reach the accounts in that workspace — not every account you run.

claude mcp add --transport http \
  wharf https://mcp.postwharf.com/mcp \
  --header "Authorization: Bearer $POSTWHARF_KEY"

Ask for an X post

Once the server is attached the ask is a chat message, not a form — in whatever conversation you are already having, next to the draft rather than in another tab:

"Turn these release notes into a four-post thread and queue it for 9am tomorrow."

Claude finds your connected X channel, checks the text against the 280-character ceiling before anything is queued, and hands back the queued time. Nothing publishes because a model decided it should.

Claude will show you the post before it queues it. That is the approval step, and it is worth keeping even once you trust the setup — the receipt tells you what published, but only you can tell it what was worth publishing.

What X accepts

Character limit280
Counted onone post in a thread
Formatsposts, threads and video

A post takes up to four images or one video; X does not accept both in one post.

What comes back

Every post carries a delivery receipt per channel: the state, the live URL once it is out, and the platform's own reason if it failed. Deliveries are re-checked after publishing, so an X post removed later stops reporting as live instead of sitting in your history as a success. Ask Claude for the status and it reads that receipt back rather than guessing.

Questions

Can Claude post to X automatically?

Yes. Connect the PostWharf MCP server to Claude and it can publish or schedule to a connected X channel, then read the delivery receipt back. The workspace key limits it to the accounts in one workspace, and you keep the approval step.

What do I need before X will work?

A post takes up to four images or one video; X does not accept both in one post. Once the channel is connected in PostWharf, Claude reaches it the same way it reaches every other network.

How long can an X post be?

280 characters, counted on one post in a thread. PostWharf checks that before the post is queued, so an over-length post is refused immediately rather than failing at X after everything else in the same batch has already published.