Post to Mastodon with Codex

Connect Codex to dopost to post to your Mastodon 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 Mastodon

  • A Mastodon account on any instance
  • Up to 500 characters per post on most instances.
  • Up to 4 files per post.
  • Works with the instance where your account lives.
dopost Mastodon scheduler

Mastodon 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 Mastodon for tomorrow at 10am.

Check the calendar

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

Reschedule posts

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

Mastodon performance

Check the available metrics for your posts.

Compare the performance of my Mastodon posts this month.

Codex and Mastodon questions

Can Codex post to Mastodon?

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

Does Codex work with my Mastodon instance?

Yes. dopost connects to the instance where your account lives, and Codex posts through that connection.

Can Codex post a Mastodon thread?

Yes. Codex sends the first post with up to 20 follow-ups, and each one replies to the previous post.

Can I check my Mastodon results?

Yes. You can check the available metrics for your Mastodon 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 Mastodon with Codex

Create your dopost account and connect your social accounts.

See plans and pricing