Tesselith
ProductSolutionsAI agentsCompareFree toolsBlogPricing
Log inStart free
  1. Home/
  2. AI agents/
  3. Codex/
  4. Mastodon
Codex + Mastodon

Schedule Mastodon posts with Codex

Codex runs in the terminal and in the IDE extension, so it works close to the code and the commit history. That makes it a good fit for posts about changes people can actually see, such as a fixed bug or a new flag. Add Tesselith once in the shared config file, and Codex can draft and queue Mastodon posts from the same session where you made the change.

Start freeFull Codex setup

1. Connect Codex

terminal
# 1. Add the Tesselith MCP server
codex mcp add tesselith --url https://api.tesselith.com/mcp

# 2. Sign in through your browser
codex mcp login tesselith

# 3. Check it
codex mcp list

Then connect Mastodon in Tesselith under Channels. How Mastodon scheduling works.

2. Ask for a Mastodon post

Draft a Mastodon post about the crash fixed in issue 214, under 400 characters.

Used Tesselith · create_draft

Drafted one Mastodon post for the issue 214 fix, 341 characters, with the issue number in the first line. It's in your drafts. I haven't queued it, so it stays unpublished until you approve it.

What people use Codex for on Mastodon

Announcing a fixed bug in a library

A maintainer of a small Node library closes an issue that has been open for a year. Codex reads the commit, the test it added and the issue thread, then writes a Mastodon post that says what was broken and what changed. The post stays under 500 characters and quotes the issue number. The maintainer approves the draft and takes the next free slot.

Previewing a new CLI flag

A team building a command-line backup tool adds a --dry-run flag in a branch. Before the merge, Codex reads the help text and writes two Mastodon posts: one that shows the command, and one that explains why it's safe to try. Tesselith holds both as drafts on the team's account, and the team schedules them for the afternoon after the release.

A Friday thread for a self-hosted project

A volunteer who runs a self-hosted photo app keeps a weekly thread on Mastodon. On Friday, Codex collects the week's merged commits, groups them into changes users will notice and writes a thread of three to five posts. The volunteer fixes any wrong version numbers and queues the thread for Saturday morning.

Prompts to try in Codex for Mastodon

  • “Write a Mastodon post for the --dry-run flag in this branch. Under 400 characters, with the command in plain text.”
  • “Summarize the commits since v0.9 as a Mastodon thread of four posts, each under 450 characters.”
  • “Draft a Mastodon post about the crash fixed in issue 214, and leave out the internal refactor.”
  • “List my Mastodon channels and tell me which one has no posts this month.”
  • “Schedule the approved thread on my Mastodon account for 8am tomorrow, my local time.”

Mastodon limits to keep in mind

Mastodon posts are limited to 500 characters on most servers, though some servers allow more. Every link counts as 23 characters. Tesselith checks drafts against these before they can be scheduled, so Codex gets a clear error instead of a failed post.

Mastodon limits
Limit
Post (default)500 (server-dependent)
Any linkCounts as 23
Bio500
Images per postUp to 4

Tips for Mastodon posts written with Codex

  • Describe what users can now do, not what the diff does. Developers read a changelog for impact, so 'you can resume an interrupted upload' lands better than 'refactored the retry loop'. Ask Codex to rewrite each change that way.
  • Put a command on its own line in plain text. Mastodon has no code blocks, so readers can only copy a command they can see clearly. Keep it short and place it after the sentence that explains it.
  • Name the project and the version in the first sentence. Once a post is boosted it travels without context, so 'v0.10 is out' alone tells nobody what the project is.
  • Check the draft against the merged code before scheduling. Agents sometimes describe a feature as finished when a commit only added the flag, so verify each claim.

If something goes wrong

Troubleshooting Codex with Tesselith
Fix
Startup times outRaise startup_timeout_sec = 30 under [mcp_servers.tesselith].
401 with an API keyTESSELITH_API_KEY isn't set in the shell that launched Codex, so the header is empty. Export it and restart.
Browser sign-in can't reach CodexUse codex mcp login tesselith --no-browser on remote machines.
Tools don't show upMCP tools load at session start. Restart Codex after editing config.toml.
An older Codex rejects url =Update Codex. Very old versions needed experimental_use_rmcp_client = true for HTTP servers.
403: your plan doesn't include API accessMCP is included on Pro, Team and Agency. New workspaces get a 14-day Pro trial; upgrade under Settings → Billing.
401: connection revoked or lost accessSomeone disconnected the assistant in Settings → AI assistants, or your role changed. Connect again and approve the workspace.
The assistant can read posts but can't scheduleYou unticked Schedule and queue on the consent screen. Disconnect and connect again, keeping that permission.
No channels foundThe assistant only sees accounts already connected in Tesselith. Connect them under Channels first.
Post scheduled at the wrong timeTell the assistant your time zone. Tesselith takes ISO 8601 times with an offset, and your workspace time zone is shown in get_queue.
429: rate limitedEach connection can make 120 requests a minute on Pro, 300 on Team and 600 on Agency. Wait for the Retry-After seconds.

Questions

Can Codex publish a Mastodon post without me?
No. Codex can draft, queue and schedule, but publishing right away and deleting need your confirmation.
Does Codex read my whole repo to write posts?
Only what you point it at. Commits, changelogs and files named in the prompt are enough, and a narrow commit range usually gives a better post than the full history.
Where does the Tesselith setup live?
In ~/.codex/config.toml, which the Codex CLI, the IDE extension and the ChatGPT desktop app share. Configure it once and every one of them can draft posts.

Codex with other networks

InstagramFacebook PagesThreadsYouTubeBlueskyTelegram

Other AI agents for Mastodon

ClaudeClaude CodeClaude CoworkChatGPTOpenAI APICursorVS Code (GitHub Copilot)WindsurfZedClineGemini CLIHermes AgentOpenClawGoosen8nMistral Le ChatPerplexityManus

Put Codex to work on Mastodon

Connect Mastodon to Tesselith, connect Codex, and schedule your next post from a conversation.

Start free

Free to start

One calendar for everything you post.

No credit card. Connect your first channel and schedule a post in under two minutes.

Start free
Tesselith

The social scheduler for creators, teams and agencies. One calendar, every network you post to.

Product

  • Composer
  • Calendar
  • Analytics
  • Automation
  • AI assistant
  • Posting queue
  • API & webhooks
  • MCP server
  • All features

AI agents

  • Claude
  • Claude Code
  • ChatGPT
  • Codex
  • Cursor
  • Gemini CLI
  • n8n
  • All AI agents

Solutions

  • Creators
  • Agencies
  • Small business
  • E-commerce
  • All solutions

Compare

  • Scheduler pricing 2026
  • vs Buffer
  • vs Hootsuite
  • Metricool alternatives
  • Planoly alternatives
  • SocialBee alternatives
  • All comparisons
  • All alternatives

Free tools

  • Character counter
  • Best time to post
  • UTM builder
  • Engagement rate
  • All tools

Company

  • About
  • Blog
  • Research
  • Developer docs
  • Pricing
  • Contact
  • Security
  • Status

Legal

  • Privacy
  • Terms
  • Cookies
  • Acceptable Use
  • DPA
  • Refunds

Schedule posts for

  • X (Twitter)
  • Instagram
  • Facebook Pages
  • LinkedIn
  • YouTube
  • TikTok
  • Threads
  • Bluesky
  • Mastodon
  • Pinterest
  • Reddit
  • Discord
  • Telegram
  • Dev.to
  • Hashnode

Popular guides

  • Post to all social media at once
  • Schedule Discord messages
  • Cross-post to Bluesky, Mastodon and Threads
  • Buffer pricing
  • Sprout Social pricing
  • Metricool pricing
  • Sendible pricing
  • Loomly pricing
© 2026 Tesselith. All rights reserved.
PrivacyTermsCookiesSecurityData deletion
Tesselith