New MCP server: let ChatGPTClaudeClaude CodeCodexCursorOpenClaw or any AI agent schedule your posts See how it works

OpenClaw + Mastodon

Post to Mastodon from OpenClaw

Through iHatePosting, OpenClaw can publish posts with pictures or video to your Mastodon account. Install the iHatePosting skill for OpenClaw and sign in once, then ask it for the post you want.

Setup takes about a minute. A post can hold up to 500 characters.

MastodonOpenClaw15 networks

Posting to Mastodon from OpenClaw

Add iHatePosting to OpenClaw once, connect Mastodon, and then describe the post. Setup takes about a minute.

Step 1

Add iHatePosting to OpenClaw once

Install the iHatePosting skill for OpenClaw and sign in once. Then connect Mastodon in iHatePosting if you have not already.

terminal
# Install the iHatePosting skill from ClawHub openclaw skills install @mayankkasavala/ihateposting # Or with the skills CLI npx skills add iHatePostingOrg/iHatePosting-Agent # Install the command line and sign in once npm install -g ihateposting ihateposting auth:login # Check that it sees your channels ihateposting integrations:list
Step 2

Ask for the Mastodon post

Describe the post in plain language. OpenClaw writes it, applies the settings and schedules it.

OpenClaw
> Post a short note about the new release on Mastodon tomorrow at 9:00. OpenClaw: Done. Scheduled on Mastodon.

What OpenClaw can do on Mastodon

On Mastodon, OpenClaw can publish posts with pictures or video to your Mastodon account.

Posts

Publish text posts to your account on mastodon.social, the server iHatePosting connects to.

Threads

Ask for a thread and the text is split into connected posts.

Media

Attach pictures or video from your media library.

Scheduling

Choose a date and time for the post.

How OpenClaw gets a post onto Mastodon

You say what you want and OpenClaw makes the calls. A typical conversation goes like this.

Find your Mastodon channel

Which Mastodon accounts do I have in iHatePosting?

What happens

  • OpenClaw lists your channels and finds Mastodon
  • It also reads the channel's rules and settings

Compose your content

Split this article summary into a Mastodon thread and schedule it for Friday at 11:00.

What happens

  • OpenClaw drafts the text for Mastodon
  • It uploads any media you mention

Schedule and publish

Yes, schedule it for tomorrow at 9:00.

What happens

  • OpenClaw schedules the post in iHatePosting
  • iHatePosting publishes it to Mastodon at that time

Mastodon settings reference

Mastodon needs nothing beyond the text, the media and the time.

FieldTypeRequiredDescription
(none)-NoNo extra settings: OpenClaw sends the text, the media and the time

What is OpenClaw?

OpenClaw is an open-source agent that keeps running on your machine and takes your messages from chat apps such as WhatsApp or Telegram.

Give it iHatePosting and it can draft, check and schedule posts across 15 networks as part of its work, including on a routine you set.

How iHatePosting works with OpenClaw

Installed as a skill, iHatePosting gives OpenClaw a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.

  • iHatePosting skill (command line): openclaw skills install @mayankkasavala/ihateposting
  • iHatePosting MCP server (sign in): openclaw mcp add ihateposting --url https://app.ihateposting.com/mcp/oauth --transport streamable-http --auth oauth --no-probe
  • iHatePosting MCP server (API key): Entry in ~/.openclaw/openclaw.json with an Authorization header
Set up OpenClaw
# iHatePosting skill (command line) # Install the iHatePosting skill from ClawHub openclaw skills install @mayankkasavala/ihateposting # Or with the skills CLI npx skills add iHatePostingOrg/iHatePosting-Agent # Install the command line and sign in once npm install -g ihateposting ihateposting auth:login # Check that it sees your channels ihateposting integrations:list

Mastodon and the other platforms OpenClaw reaches

Ask for Mastodon and other channels in a single message; every channel still applies its own settings.

Mastodon requests to try in OpenClaw

A post

Post a short note about the new release on Mastodon tomorrow at 9:00.

A thread

Split this article summary into a Mastodon thread and schedule it for Friday at 11:00.

A picture

Post diagram.png on Mastodon with a one-sentence explanation.

Mastodon limits and gotchas to know

A few of Mastodon's rules shape how OpenClaw writes your request, so it helps to know them.

  • A post can hold up to 500 characters.
  • The channel has no extra settings to choose.

Frequently asked questions

Start free for 30 days

Install the iHatePosting skill for OpenClaw and sign in once, connect Mastodon in iHatePosting, then ask OpenClaw for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.

Hand your Mastodon posts to OpenClaw

Start free for 30 days.