Postbase is open source.Star us on GitHub
Claude + X

Post to X from Claude

Connect Claude to X with the Postbase MCP server and schedule tweets and threads from a chat. No API key, and every post lands on a calendar you can check.

Cancel anytime · or self-host for free

Connect Claude from the Developers page

Developers
New post

Use your API key to automate Postbase — hook up an AI agent over MCP, script it from the CLI, or call the REST API directly.

API keys

A key authenticates the MCP server, the REST API, and the CLI. Shown once — store it safely.

Docs
Generate key
Zapier workflowpb_live_…9c1e
Created 02 Sep 2026 · last used 22 Sep 2026
RotateRevoke

MCP client configuration

Connect the Postbase MCP server to your AI tool so it can schedule and publish for you.

Docs

Authentication

Sign in with PostbaseAPI key

No key to manage — your tool signs in through Postbase.

Client

Claude DesktopClaude CodeCursorVS CodeWindsurfGemini CLI

In Claude: Settings → Connectors → Add custom connector, and paste this URL. You'll sign in to Postbase in a browser window — no API key.

https://mcp.postbase.so/mcpAdd to ClaudeCopy

Connected apps

Tools you've signed in to Postbase from. Revoking cuts off their access immediately.

Cursor
Halden Coffee · connected 14 Sep 2026 · last used 22 Sep 2026
Revoke

Set up in three steps

  1. 1

    Connect X to Postbase

    Open Channels in Postbase, pick X and approve access on X's own sign-in screen. Postbase never sees your password.

  2. 2

    Add the connector

    In Claude on the web or desktop, open Settings → Connectors → Add custom connector. Name it Postbase and paste the server URL.

  3. 3

    Ask for tweets and threads

    Tell Claude what to post on X and when. Everything it schedules shows up in your Postbase calendar.

In Claude: Settings → Connectors → Add custom connector, and paste this URL. You'll sign in to Postbase in a browser window — no API key.
url
https://mcp.postbase.so/mcp

What to ask Claude

A few X requests that work well.

  • “Turn this article into a 5-post X thread and schedule it for Tuesday at 9am.”

  • “Write three standalone X posts from these notes and space them a day apart.”

  • “What's scheduled on X this week? Cancel anything going out on Friday.”

How Claude's posts work on X

Length
280 characters per post. Links count as 23 and emoji as 2, so ask for a little under the limit.
Threads
Ask for a thread and the agent sends the posts as one list. Postbase publishes them as a chain of replies, up to 25.
Timing
Give a time and it's scheduled; leave it out and it's saved as a draft.

Tips for better X posts

  • Ask for the hook first: "make the first post work on its own".
  • Put links in the last post of a thread, not the first.
  • Say how many posts you want. "A 4-post thread" beats "a thread".

Frequently asked questions

Can it post a thread on X?

Yes. Ask for a thread and the agent sends the posts together. Postbase publishes the first at the scheduled time and each following post as a reply to the one before.

Can it attach images to a tweet?

Not through the agent yet. Ask it to save a draft, then add the image in the Postbase composer and schedule it from there.

Does Claude need my X password?

No. You connect X to Postbase once, and Claude signs in to Postbase, not to X. You can revoke Claude's access from the Developers page at any time.

Can Claude delete my X posts?

No. It can list channels, create drafts and scheduled posts, list the queue and cancel a scheduled post. There's no tool for deleting anything.

Related

From the blog

Ready to get started?

Connect Claude in a minute. It writes and schedules your X posts, and you see every one in your calendar.

Cancel anytime · or self-host for free

Postbase

Copy your key now — you won't see it again.

pb_live_Qm7xT2vLr9KcH0sWbN8y…4f2aCopy
MCP client configuration

Authentication

Sign in with PostbaseAPI key

Client

Claude DesktopCursorVS Code
Connected apps
Claude
Halden Coffee · connected just now
Revoke
Cursor
Halden Coffee · connected 14 Sep 2026
Revoke
✓Claude connected to Halden Coffee