OpenClaw + Mastodon

Post to Mastodon from OpenClaw

Ask OpenClaw to write and schedule your Mastodon posts. BrokenPost connects the two, follows Mastodon's rules and posts at the time you pick.

How to connect OpenClaw to Mastodon

  1. 1

    Connect Mastodon in BrokenPost. Sign in with your Mastodon account.

  2. 2

    In BrokenPost, open Plugins and copy your MCP URL.

  3. 3

    Run the command below in your terminal.

  4. 4

    Sign in to BrokenPost when asked and allow access.

  5. 5

    Ask your OpenClaw agent to schedule a post.

openclaw mcp add brokenpost --url <MCP_URL> --transport streamable-http --auth oauth && openclaw mcp login brokenpost

Prefer another way? See every way to connect OpenClaw.

What to ask OpenClaw

Type these in OpenClaw. Change the details to fit your posts.

What happens next

  1. 1

    You ask in OpenClaw, in plain words.

  2. 2

    OpenClaw lists the channels you connected in BrokenPost and picks your Mastodon account.

  3. 3

    It reads Mastodon's rules and settings from BrokenPost, so the post fits Mastodon's limits before it is written.

  4. 4

    If you shared a picture, a video or a link to one, it uploads it to your media library.

  5. 5

    It creates the post as scheduled, as a draft, or to go out now, and gives you a preview link.

  6. 6

    At the set time BrokenPost publishes it to Mastodon and it shows on your calendar.

Mastodon limits OpenClaw follows

OpenClaw reads these rules from BrokenPost before it writes, so the post fits the first time.

Characters500 characters
MediaPictures or video
ThreadsYes, as replies

If Mastodon rejects a post

OpenClaw sees the same message and can fix the post for you.

What you seeHow to fix it
The media was still processing when the post was published, please try againBig videos need time on Mastodon. Retry the post a few minutes later.
Your login is currently disabledYour Mastodon server disabled the account. Sign in on Mastodon to sort it out, then reconnect.

Good to know

Questions people ask

Can OpenClaw post to Mastodon directly?

Yes, through BrokenPost. Connect Mastodon in BrokenPost, connect BrokenPost to OpenClaw, and OpenClaw can schedule, draft or publish Mastodon posts.

Does OpenClaw know the Mastodon limits?

Yes. OpenClaw reads Mastodon's rules from BrokenPost before it writes: 500 characters and pictures or video. BrokenPost checks again before it posts.

Can OpenClaw schedule Mastodon posts for later?

Yes. Give a day and time, like "Friday at 6pm", and the post goes out then. Ask for a draft if you want to check it first.

Is it free?

OpenClaw with BrokenPost works on every plan. The Free plan includes 1 account on every app and 20 posts a month. Paid plans start at $19 a month with unlimited posts.

Can OpenClaw post a Mastodon thread or comments?

Yes. Ask for a thread or a first comment and BrokenPost posts each part as a reply, right after the first one.

More apps with OpenClaw

Post to Mastodon with other AI

All about scheduling Mastodon posts

Write once. Post everywhere.

Start free with BrokenPost. Connect your apps and your AI in a few minutes.