Post to X from Claude Code

Connect Claude Code to X with the Postscheduling.com MCP server and schedule tweets and threads from your terminal. No API key, and every post lands on a calendar you can check.

Cancel anytime · 7 days free

Connect Claude Code from the AI & API page

AI & API
New post

Use your API key to automate Postscheduling.com — 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 Postscheduling.com MCP server to your AI tool so it can schedule and publish for you.

Docs

Authentication

Sign in with Postscheduling.comAPI key

No key to manage — your tool signs in through Postscheduling.com.

Client

Claude DesktopClaude CodeCursorVS CodeWindsurfGemini CLI

Run this — Claude Code opens a browser for you to sign in to Postscheduling.com.

claude mcp add --transport http postscheduling https://mcp.postscheduling.com/mcpCopy

Connected apps

Tools you've signed in to Postscheduling.com 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 Postscheduling.com

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

  2. 2

    Add the server

    Run the command in your terminal. Claude Code registers Postscheduling.com as a remote MCP server over HTTP.

  3. 3

    Ask for tweets and threads

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

Run this — Claude Code opens a browser for you to sign in to Postscheduling.com.
bash
claude mcp add --transport http postscheduling https://mcp.postscheduling.com/mcp

What to ask Claude Code

A few X requests that work well.

Ask Claude CodePostscheduling.com connected
  • Read CHANGELOG.md and write an X thread for the v2.3 release. Schedule it for 10am tomorrow.
  • Summarise the commits since the last tag as one X post and save it as a draft.
  • Post a short 'we're live' note to X as soon as this deploy finishes.
Ask Claude Code to draft or schedule a post…

How Claude Code's posts work on X

Post
262 / 280
Length
280
280 characters per post. Links count as 23 and emoji as 2, so ask for a little under the limit.
1
2
3
Threads
25 posts
Ask for a thread and the agent sends the posts as one list. Postscheduling.com publishes them as a chain of replies, up to 25.
Tue 9:00
Save draftSchedule
Timing
Time or draft
Give a time and it's scheduled; leave it out and it's saved as a draft.
Tips

Tips for better X posts

1
Ask for the hook first: "make the first post work on its own".
2
Put links in the last post of a thread, not the first.
3
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. Postscheduling.com 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 Postscheduling.com composer and schedule it from there.

Does Claude Code need my X password?

No. You connect X to Postscheduling.com once, and Claude Code signs in to Postscheduling.com, not to X. You can revoke Claude Code's access from the AI & API page at any time.

Can Claude Code delete my X posts?

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

Related

Ready to get started?

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

Cancel anytime · 7 days free

Post to X from Claude Code with MCP · Postscheduling.com