Skip to content
Live

Mastodon

Any server: mastodon.social, fosstodon, your own.

What it supports

  • Up to 500 characters per post.
  • Threads: follow-up parts go out as replies, in order.
  • Media: up to 4 images and video, with alt text.
  • Every post is read back from the platform by its id after it goes out.
  • Approvals, scheduling and one-time delivery work the same as on every other channel.

How to connect

In Mynahcast: Channels → Add channel → Mastodon.

Sign in with Mastodon

  1. 1You'll sign in on your server and approve Mynahcast. We only ask to post and read your own statuses.

You'll paste

  • Your Mastodon server

Use an access token

  1. 1On your server: Preferences → Development → New application. Name it “Mynahcast”.
  2. 2Scopes: write:statuses, write:media, read:accounts, read:statuses. Save, open it, copy “Your access token”.

You'll paste

  • Your Mastodon server
  • Access token

Credentials are encrypted before they're stored and never shown again. Disconnect any time from the Channels page.

Post to Mastodon from your AI agent

Once Mastodon is connected, any agent with a Mynahcast key can target it: Claude Code, Cursor and other MCP clients through mynahcast_create_post, ChatGPT through a GPT action, or your own code through the REST API. Connect your agent.

REST: schedule a Mastodon post
curl -X POST "https://api.mynahcast.xyz/v1/posts" \
  -H "Authorization: Bearer $MYNAHCAST_KEY" \
  -H "Idempotency-Key: mastodon-001" \
  -H "Content-Type: application/json" \
  -d '{
    "brandId": "<brand-uuid>",
    "content": { "body": "Your post text" },
    "targets": [{ "channelId": "<mastodon-channel-uuid>" }]
  }'

Frequently asked questions

Can an AI agent post to Mastodon?
Yes. Connect Mastodon in Mynahcast, give your agent an Agent API key, and it can draft and schedule Mastodon posts through the MCP server (https://api.mynahcast.xyz/mcp) or the REST API. Each post waits for your approval before it goes out.
How do I post to Mastodon with an API?
Send POST https://api.mynahcast.xyz/v1/posts with your API key as a bearer token, the brand id, the post body and your Mastodon channel id as a target. Add an Idempotency-Key header so a retry never posts twice.
What is the character limit for Mastodon posts in Mynahcast?
Up to 500 characters per post; longer text can go out as a thread of replies. Mynahcast checks the limit before saving, so an agent finds out at validation time, not at publish time.
Is posting to Mastodon with Mynahcast free?
Every Mynahcast plan includes every live channel, from $12 per month (5 channels) with a 7-day free trial.