Post to X with Claude Code

Connect Claude Code to dopost to post to your X account and manage your calendar.

Connect Claude Code to dopost

Set up the connection

Recommended

Add the hosted server and authenticate from /mcp

Sign in to dopost to connect your accounts. No API key is needed.

Your terminal
claude mcp add --transport http dopost https://mcp.dopost.co/mcp
  1. 1Run the command in the project where you use Claude Code.
  2. 2Open /mcp, select dopost and sign in in the browser.
  3. 3Ask Claude Code to list your connected accounts.
Full Claude Code guide

Requirements for posting to X

  • An X account connected in dopost
  • 280 characters per post. dopost checks each post before scheduling.
  • Up to 4 images per post.
  • A Community post cannot also be a reply.
  • The account must be a member of the Community.
dopost X scheduler

X formats

Check the formats and media supported by this connection.

FormatMedia per postMedia requiredWith Claude Code
Post or thread4No

What you can ask Claude Code

Schedule a post

Schedule this post on X for tomorrow at 10am.

Check the calendar

What posts do I have scheduled on X for next week?

Reschedule posts

Move Friday’s X posts to Monday, keeping the same times.

X performance

Check the available metrics for your posts.

Compare the performance of my X posts this month.

Claude Code and X questions

Can Claude Code post to X?

Yes. Connect your X account in dopost and follow the Claude Code setup guide.

Can Claude Code post an X thread?

Yes. Claude Code sends the first post with up to 20 follow-ups, and dopost publishes them in order as one thread.

Do I need an X developer app or API key?

No. You connect X once in dopost and Claude Code uses that connection. There is no developer account, review or token to manage.

Can I check my X results?

Yes. You can check the available metrics for your X accounts and posts.

Can I review content before scheduling?

You can ask the agent to show you the content before scheduling it.

Start posting to X with Claude Code

Create your dopost account and connect your social accounts.

See plans and pricing