NEW: the postqueen MCP server is live. Connect it in a minute
X

Automate X with Claude Code

Queue X posts from your terminal. Claude Code drives postqueen over MCP or the CLI, so scheduling happens in the session you already have open.

Quick start

Register the postqueen MCP server once and X scheduling becomes a tool Claude Code can call. The plain CLI works too.

MCP supported
Terminal
# Add the postqueen MCP server
claude mcp add --transport http postqueen \
https://api.postqueen.ai/mcp/YOUR_API_KEY
 
# Then ask in your session:
# "Queue three X posts for this
# week, mornings at 9"

What Claude Code can run on X

X tools in your terminal

Over MCP, scheduling and analytics show up as first-class tools. Over the CLI, every command returns JSON that Claude Code can chain reliably for X.

Windows that fit X

Tell Claude Code when your followers are most active and it schedules posts into that window on X, day after day, without reminders.

Media attached, sized right

Images upload in the same postqueen call, so X posts arrive with their media in place instead of a bare link.

Drafts until you are ready

Ask Claude Code for drafts only. They sit on the postqueen calendar unscheduled, so you can edit them and pick the time yourself, and nothing reaches your followers on X until you do.

Three steps to a full queue

Step 1

Discover X

Claude Code calls postqueen to list your connected accounts and sees what X supports, so drafts start from real capabilities, not guesses.

Step 2

Draft with Claude Code

Give it the brief. The agent writes X-shaped posts and proposes publish times that match when your followers are around.

Step 3

Check and publish

Look over the queue on the postqueen calendar and change anything you want. postqueen publishes each post at its time, and Claude Code can pull the results after.

What X allows

Claude Code reads these limits from postqueen before it composes, so a draft that would be rejected never reaches the queue.

Post length
280 characters on a standard account, up to 25,000 characters with X Premium
Media per post
Up to 4 images, or 1 GIF, or 1 video (images and GIFs cannot be mixed)
Video length
Up to 2 minutes 20 seconds on a standard account, longer for Premium subscribers
Threads
Chain any number of posts, published in order as native replies
Alt text
Up to 1,000 characters of image description per attachment
API access
Publishing runs on the official X API, so self-hosted installs connect with their own X developer app
X

Everything postqueen does on X

Scheduling, AI drafts, analytics and team roles, in one guide.

Read the X guide
F.A.Q.

Frequently asked questions

How does Claude Code connect X to postqueen?

Over MCP, registered once in Claude Code's own config so the X tools are there in every session. It also runs commands, so the CLI covers the same X posts when you would rather script them; both use the same API key.

Can Claude Code schedule X posts at exact times?

Yes. Give it exact slots or a rule like mornings at nine and it sets publish times on the posts it creates, so your followers see them at the right moment.

Will Claude Code publish to X on its own?

Only if you ask it to. Tell it to save drafts and nothing is scheduled: the posts wait on the calendar until you set a time. Tell it to schedule, and they go out at the times you can see, which is the setup most people move to once they trust the output.

Can one brief cover X and other channels too?

Yes. postqueen connects 30 channels, so Claude Code can turn the same brief into X posts plus adapted versions for every other channel you run.

Does Claude Code access cost extra on postqueen?

No. The agent uses your regular API key and plan limits: unlimited posts on every plan, and channel counts from 5 on Creator up to uncapped on Ultimate.

Do I need X Premium or a paid API plan to schedule posts?

You do not need Premium for standard 280 character posts, threads or media. Premium only matters if you want to publish long posts past the standard limit. On the cloud plans the API access sits behind the connection and is handled for you; if you self-host, you supply your own X developer app credentials.

Can the AI write X posts and threads?

Yes. The assistant drafts posts in your voice, tightens anything that runs over the character limit and can expand one idea into a full thread. You edit it and pick the time before it publishes, and agents can generate whole batches through the CLI or the built-in MCP server.

Ready to get started?

Queue this week's posts in minutes, or hand the whole thing to your favorite AI. postqueen keeps publishing either way.

Seven days free. Cancel in one click from settings.