Post to X from an agent
PostWharf ships a Model Context Protocol server, so Claude and other MCP clients can draft, queue and check X posts as tools rather than as scraped UI.
Connect it
claude mcp add --transport http \ wharf https://mcp.postwharf.com/mcp \ --header "Authorization: Bearer $POSTWHARF_KEY"
The key scopes every call to one workspace, so an agent can only ever act on the brand you hand it. Find it in the dashboard under API keys.
What the agent can do with X
What X accepts
280 characters, counting one post in a thread. Up to 4 images or 1 video per post — X does not take both in the same post.
Read from the table the API enforces, so a post over 280 is refused when you create it rather than truncated on the way to X.
Asking for it in practice
# to Claude, with the connector attached
"Draft three X posts about the new release,
queue the best one for Tuesday morning,
and tell me once it is live."
The agent drafts and queues; the delivery receipt tells you what actually published. X bills per post at the API level; link posts cost more than plain text.
Every other network
Instagram · TikTok · LinkedIn · YouTube · Facebook · Threads · Pinterest · Bluesky · Reddit · Telegram · Discord · Snapchat · WordPress