Post to Mastodon from Claude Code.
Ask Claude Code to schedule your Mastodon posts. You see the exact post first; Postfast publishes it on time.
Can Claude Code post to Mastodon?
Yes. With Postfast connected, Claude Code drafts the Mastodon post, shows the exact content and time, and Postfast checks Mastodon’s rules and publishes it. Supported on Mastodon: Posts. Mastodon is live for every account.
How to post to Mastodon from Claude Code
- Step 1
Add the server
Run this in your terminal:
claude mcp add --transport http post-fast https://api.post.fast/mcp - Step 2
Sign in
Start a new session, run /mcp, and sign in to Postfast to choose a workspace.
- Step 3
Connect Mastodon
In Postfast, add your Mastodon account under Channels. Or ask Claude Code and it returns the connection link.
What can Claude Code publish to Mastodon?
- PostsText with images or video.
Questions
Can Claude Code schedule Mastodon posts for later?
Yes. Give a time or let Postfast use the next open slot in your Mastodon queue. A scheduled post is queued; Postfast reports when it publishes.
Which Mastodon servers does Postfast work with?
Any server. Connect the account on the server you use.
How long can a Mastodon post be?
500 characters by default. A server can allow more, and Postfast reads your server’s own limit before it publishes.
How many images can a Mastodon post have?
Up to 4 images, or one video or GIF, on a server with Mastodon’s default settings.
Will my assistant publish something without asking?
Postfast’s tools are built to show the exact channels, content and time before a public action, and workspaces can require a reviewer’s approval before anything is scheduled or published.
How much does it cost?
The connector is included on every plan. Plans from $19 a month for 10 channels and unlimited posts, with a 7-day free trial.