Postbase is open source.Star us on GitHub
Cursor + Mastodon

Post to Mastodon from Cursor

Connect Cursor to Mastodon with the Postbase MCP server and schedule Mastodon posts and threads from your editor. No API key, and every post lands on a calendar you can check.

Cancel anytime · or self-host for free

Connect Cursor from the Developers page

Developers
New post

Use your API key to automate Postbase — hook up an AI agent over MCP, script it from the CLI, or call the REST API directly.

API keys

A key authenticates the MCP server, the REST API, and the CLI. Shown once — store it safely.

Docs
Generate key
Zapier workflowpb_live_…9c1e
Created 02 Sep 2026 · last used 22 Sep 2026
RotateRevoke

MCP client configuration

Connect the Postbase MCP server to your AI tool so it can schedule and publish for you.

Docs

Authentication

Sign in with PostbaseAPI key

No key to manage — your tool signs in through Postbase.

Client

Claude DesktopClaude CodeCursorVS CodeWindsurfGemini CLI

Add a custom MCP server in Cursor, or one-click below.

https://mcp.postbase.so/mcpAdd to CursorCopy

Connected apps

Tools you've signed in to Postbase from. Revoking cuts off their access immediately.

Claude
Halden Coffee · connected 14 Sep 2026 · last used 22 Sep 2026
Revoke

Set up in three steps

  1. 1

    Connect Mastodon to Postbase

    On your instance, open Preferences → Development, create an application with read and write access and copy its access token. Paste it with your instance URL on the Channels page.

  2. 2

    Add the server

    Click Add to Cursor on the Postbase Developers page, or add a custom MCP server in Cursor's settings and paste the server URL.

  3. 3

    Ask for Mastodon posts and threads

    Tell Cursor what to post on Mastodon and when. Everything it schedules shows up in your Postbase calendar.

Add a custom MCP server in Cursor, or one-click below.
url
https://mcp.postbase.so/mcp

What to ask Cursor

A few Mastodon requests that work well.

  • “Write a Mastodon post about the new plugin API, with a code-free explanation.”

  • “Turn this changelog entry into a Mastodon thread and schedule it for tomorrow.”

  • “List my scheduled Mastodon posts.”

How Cursor's posts work on Mastodon

Length
500 characters per post, the default on most instances.
Instances
Works with any server you've connected in Postbase: mastodon.social, fosstodon.org or your own.
Threads
Ask for a thread and each post is published as a reply to the one before.

Tips for better Mastodon posts

  • Mastodon readers expect plain, human posts. Ask for no marketing language.
  • Use a few relevant hashtags at the end: they're how people find posts on Mastodon.
  • Ask for a separate, shorter version for X rather than sharing the 500-character text.

Frequently asked questions

Does it work with my Mastodon instance?

Yes. Connect your account in Postbase with your instance URL and an access token, and the agent can post to it like any other channel.

Can it post to Mastodon and Bluesky together?

Yes. Ask for both, and it can send one post to both channels or a separate version to each.

Does Cursor need my Mastodon password?

No. You connect Mastodon to Postbase once, and Cursor signs in to Postbase, not to Mastodon. You can revoke Cursor's access from the Developers page at any time.

Can Cursor delete my Mastodon posts?

No. It can list channels, create drafts and scheduled posts, list the queue and cancel a scheduled post. There's no tool for deleting anything.

Related

Ready to get started?

Connect Cursor in a minute. It writes and schedules your Mastodon posts, and you see every one in your calendar.

Cancel anytime · or self-host for free

Postbase

Copy your key now — you won't see it again.

pb_live_Qm7xT2vLr9KcH0sWbN8y…4f2aCopy
MCP client configuration

Authentication

Sign in with PostbaseAPI key

Client

Claude DesktopCursorVS Code
Connected apps
Claude
Halden Coffee · connected just now
Revoke
Cursor
Halden Coffee · connected 14 Sep 2026
Revoke
✓Claude connected to Halden Coffee