Post to X with Codex

Connect Codex to dopost to post to your X account and manage your calendar.

Connect Codex to dopost

Set up the connection

Recommended

Add the hosted server and sign in once

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

Codex CLI or the Codex app MCP settings
codex mcp add dopost --url https://mcp.dopost.co/mcp
codex mcp login dopost
  1. 1Run the two commands in your terminal. The login command opens dopost in your browser.
  2. 2Choose the workspaces Codex may use and approve the requested permissions.
  3. 3Start a new Codex session and ask it to list your connected accounts.
Full Codex 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 Codex
Post or thread4No

What you can ask Codex

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.

Codex and X questions

Can Codex post to X?

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

Can Codex post an X thread?

Yes. Codex 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 Codex 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 Codex

Create your dopost account and connect your social accounts.

See plans and pricing