NEW: the postqueen MCP server is live. Connect it in a minute
Mastodon

Automate Mastodon with OpenClaw

Message your agent from the chat apps you already use and it drafts, schedules and publishes Mastodon posts through postqueen while you get on with your day.

Quick start

Install the postqueen CLI on the machine OpenClaw runs on, then drive Mastodon from any chat thread.

Terminal
# Give OpenClaw the postqueen CLI
npm install -g postqueen
export POSTQUEEN_API_KEY=your_api_key
 
# Then message your agent:
# "Draft three Mastodon posts about our
# launch and schedule them for this week"

What OpenClaw can run on Mastodon

Run Mastodon from a chat message

OpenClaw executes the postqueen CLI on your own machine, so a single message can create, schedule or reschedule Mastodon posts with no dashboard open.

Windows that fit Mastodon

Tell OpenClaw when your followers are most active and it schedules posts into that window on Mastodon, day after day, without reminders.

Media attached, sized right

Images upload in the same postqueen call, so Mastodon posts arrive with their media in place instead of a bare link.

Drafts until you are ready

Ask OpenClaw for drafts only. They sit on the postqueen calendar unscheduled, so you can edit them and pick the time yourself, and nothing reaches your followers on Mastodon until you do.

Three steps to a full queue

Step 1

Discover Mastodon

OpenClaw calls postqueen to list your connected instances and accounts and sees what Mastodon supports, so drafts start from real capabilities, not guesses.

Step 2

Draft with OpenClaw

Give it the brief. The agent writes Mastodon-shaped posts and proposes publish times that match when your followers are around.

Step 3

Check and publish

Look over the queue on the postqueen calendar and change anything you want. postqueen publishes each post at its time, and OpenClaw can pull the results after.

What Mastodon allows

OpenClaw reads these limits from postqueen before it composes, so a draft that would be rejected never reaches the queue.

Post length
500 characters on standard servers (admins can raise this)
Attachments
Up to 4 images, or one video or audio file per post
Visibility
Public, unlisted, followers only, or direct
Content warnings
A native CW field is available on every post
Polls
Up to 4 options on standard servers
Servers
Any Mastodon instance works, you authorize postqueen on your own server
Mastodon

Everything postqueen does on Mastodon

Scheduling, AI drafts, analytics and team roles, in one guide.

Read the Mastodon guide
F.A.Q.

Frequently asked questions

How does OpenClaw connect Mastodon to postqueen?

Install the postqueen CLI where OpenClaw runs commands and export your API key. Every command returns JSON, so the agent can create, schedule and list Mastodon posts reliably.

Can OpenClaw schedule Mastodon posts at exact times?

Yes. Give it exact slots or a rule like mornings at nine and it sets publish times on the posts it creates, so your followers see them at the right moment.

Will OpenClaw publish to Mastodon on its own?

Only if you ask it to. Tell it to save drafts and nothing is scheduled: the posts wait on the calendar until you set a time. Tell it to schedule, and they go out at the times you can see, which is the setup most people move to once they trust the output.

Can one brief cover Mastodon and other channels too?

Yes. postqueen connects 30 channels, so OpenClaw can turn the same brief into Mastodon posts plus adapted versions for every other channel you run.

Does OpenClaw access cost extra on postqueen?

No. The agent uses your regular API key and plan limits: unlimited posts on every plan, and channel counts from 5 on Creator up to uncapped on Ultimate.

What Mastodon formats can postqueen schedule?

Text posts, galleries of up to 4 images, video, and full threads that publish as native reply chains. Upload media straight into the composer and preview the post before it goes out.

Which Mastodon servers does postqueen work with?

All of them. Enter your server's URL, sign in and authorize the app on your own instance, and repeat for accounts on other servers if you have them. Each connected account counts as one channel on your plan.

Ready to get started?

Queue this week's posts in minutes, or hand the whole thing to your favorite AI. postqueen keeps publishing either way.

Seven days free. Cancel in one click from settings.