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

Schedule Mastodon posts with Claude Code

Claude Code runs in your terminal, next to the repo it's working in, so the best Mastodon posts often come from something you just shipped. Add Tesselith with one command and Claude Code can draft a post from a changelog or a merged pull request, then queue it for later. You review the draft in the same terminal session where you wrote the change.

Start freeFull Claude Code setup

1. Connect Claude Code

terminal
# 1. Add the Tesselith MCP server (available in every project)
claude mcp add --transport http --scope user tesselith https://api.tesselith.com/mcp

# 2. Start Claude Code and sign in
claude
/mcp   # select tesselith → Authenticate

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

2. Ask for a Mastodon post

Draft a Mastodon post from the 2.4.0 changelog entry, under 400 characters.

Used Tesselith · create_draft

Drafted a Mastodon post from the 2.4.0 section. It's 372 characters with one hashtag, and it's in your drafts. Nothing is queued until you say so.

What people use Claude Code for on Mastodon

Announcing a release from the changelog

A solo developer keeps a CHANGELOG.md in the repo for a small command-line tool. After tagging v1.8, they ask Claude Code to read the new section and write a Mastodon post with the three changes users will notice. Claude Code creates the draft, and the developer approves it before it is added to the queue. One line gets reworded, and the post is set for the next free slot.

Turning a merged pull request into a thread

A maintainer of an open source library merges a fix for a bug that users have reported for a year. Claude Code reads the pull request description and the commit messages, then writes a three-post thread: what broke, what changed and how to upgrade. Each post stays under 500 characters, and the last one links to the release notes. The maintainer checks the claims against the code before scheduling it for the afternoon.

A weekly digest from several repos

An agency that maintains client sites runs a Friday job from a CI pipeline. Claude Code reads the week's merged commits across the repos, groups them into changes a visitor would notice and drafts one short Mastodon post per client account. Tesselith lists the channels first, so each draft lands on the right account. Nothing is queued until someone on the team signs off.

Prompts to try in Claude Code for Mastodon

  • “Write a Mastodon post about the changes in the 2.4.0 section of CHANGELOG.md. Under 400 characters, one hashtag, plain language.”
  • “Split the migration guide in docs/upgrade.md into a four-post Mastodon thread, each post under 450 characters.”
  • “Draft a Mastodon post for the new CLI flag, then add it to the queue for the next free slot on my account.”
  • “Check my Mastodon queue for this week and tell me which days have no posts scheduled.”
  • “Turn the release notes for this commit range into a Mastodon draft and link the GitHub release at the end.”

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 Claude Code 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 Claude Code

  • Write the post from the user-facing lines of the changelog, not the commit messages. Commit messages are written for reviewers, and Mastodon readers want to know what they can now do. Ask the agent to rewrite each change as a benefit before it drafts.
  • Keep code out of the first post unless your readers are developers. Inline snippets use up a 500 character limit quickly. Put the docs link in the last post instead, since every link counts as 23 characters.
  • Use the project's name and a specific hashtag, such as the library's name. A specific tag reaches the people who already follow the project, which a broad tag like #coding usually does not.
  • Read the draft against the code before you schedule it. Agents write fluent sentences that sometimes claim more than the release did, so check every version number and feature name.

If something goes wrong

Troubleshooting Claude Code with Tesselith
Fix
claude mcp add succeeded but tools failAdding a server doesn't check credentials. Run /mcp to see the real status and authenticate there.
It keeps failing instead of asking you to sign inAn Authorization header is configured, so Claude Code won't fall back to OAuth. Remove the server and add it again without --header.
"already exists in local config"Remove the existing entry with claude mcp remove tesselith, or add it under a different --scope.
claude -p can't sign inHeadless mode can't open a browser. Sign in once interactively, or use the API key header.
${TESSELITH_API_KEY} shows up literallyThe variable isn't set in the shell that started Claude Code. Export it and restart.
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 Claude Code publish a Mastodon post without my approval?
No. It can draft, queue and schedule posts, but publishing right away and deleting need your confirmation.
Which Mastodon account does a draft go to if I have several?
The one you name. Claude Code lists your channels first, so each draft is matched to a real account before it's created.
Does Claude Code need my repo open to write posts?
Only for the files you point it at. A changelog section or a commit range in the prompt is enough to get a draft.

Claude Code with other networks

InstagramFacebook PagesThreadsYouTubeBlueskyTelegram

Other AI agents for Mastodon

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

Put Claude Code to work on Mastodon

Connect Mastodon to Tesselith, connect Claude Code, 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