Ship it, then announce it
Add Postbase to Claude Code with one command. It can read your changelog or diff, write the launch post for each network and schedule it, right from your terminal.
Cancel anytime · or self-host for free
Connect Claude Code from the Developers page
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.
pb_live_…9c1eMCP client configuration
Connect the Postbase MCP server to your AI tool so it can schedule and publish for you.
Authentication
No key to manage — your tool signs in through Postbase.
Client
Run this — Claude Code opens a browser for you to sign in to Postbase.
claude mcp add --transport http postbase https://mcp.postbase.so/mcpCopyConnected apps
Tools you've signed in to Postbase from. Revoking cuts off their access immediately.
Set up Postbase in Claude Code
About a minute, and you only do it once.
- 1
Add the server
Run the command in your terminal. Claude Code registers Postbase as a remote MCP server over HTTP.
- 2
Sign in to Postbase
A browser window opens. Sign in and pick the workspace the client may post to. There's no API key to copy or store.
- 3
Ask for a post
Tell Claude Code what to post, where and when. It checks your channels, writes the post (or a separate version per network) and schedules it. Every post shows up in your Postbase calendar.
claude mcp add --transport http postbase https://mcp.postbase.so/mcpWhat to ask Claude Code
Plain language works. These are a few things people ask for.
“Read CHANGELOG.md and write a release thread for X and a LinkedIn post. Schedule them for 10am tomorrow.”
“Summarise the commits since the last tag as a Bluesky post and save it as a draft.”
“Post a short 'v2.3 is live' note to X and Mastodon right after this deploy finishes.”
“List everything we have scheduled for launch week.”
You stay in control
Claude Code gets a small set of tools, and everything it does shows up in Postbase.
list_channelsSee connected accounts and their platforms.create_postDraft or schedule a post/thread to any channels.list_scheduledReview what's queued to publish.cancel_postPull a scheduled post before it goes out.Four tools, nothing surprising
Claude Code can list your channels, create posts and threads, check the queue and cancel a post. It can't delete anything or change your account.
Tools you've signed in to Postbase from. Revoking cuts off their access immediately.
Take access back in one click
Claude Code shows up under Connected apps on your Developers page. Revoke it and it's cut off immediately.
Every post Claude Code schedules lands in your calendar
Agent posts sit next to yours. Review, edit or cancel them before they go out.
Networks Claude Code can post to
Any account you've connected in Postbase.
- Claude Code + X
How to post to X from Claude Code.
- Claude Code + LinkedIn
How to post to LinkedIn from Claude Code.
- Claude Code + Bluesky
How to post to Bluesky from Claude Code.
- Claude Code + Mastodon
How to post to Mastodon from Claude Code.
- TikTok
Videos and photo posts with captions and privacy settings.
- YouTube
Videos and Shorts with a title and description.
Frequently asked questions
Can I use an API key instead of signing in?
Yes. Create a key on the Developers page and run the npm package instead: claude mcp add postbase --env POSTBASE_API_KEY=your_key -- npx @postbasehq/mcp. The hosted sign-in is simpler, and you can revoke it from the same page.
Can I post from a CI job or script?
For automation without a model in the loop, call the REST API directly with an API key. It exposes the same actions as the MCP tools.
What can Claude Code do in my Postbase account?
Four things: list your connected channels, create a draft or scheduled post (or thread), list what's queued, and cancel a scheduled post. It can't delete posts, disconnect accounts or change settings.
Which networks can Claude Code post to?
Text posts and threads go to X, LinkedIn, Bluesky and Mastodon. TikTok and YouTube need a video, so for those ask for a draft and add the video in the Postbase composer before it's scheduled.
How do I stop Claude Code posting for me?
Open Developers → Connected apps in Postbase and click Revoke next to Claude Code. Access ends immediately, and anything already scheduled stays in your calendar for you to keep or cancel.
Do I need a paid Postbase plan?
Every plan includes the MCP server, and every plan starts with a 7-day free trial. You can also self-host the open-source version for free.
Other AI tools
- Claude
Add Postbase to Claude as a custom connector and let Claude draft and schedule posts to X, LinkedIn, Bluesky and Mastodon.
- Cursor
Add the Postbase MCP server to Cursor in one click, and let its agent write and schedule launch posts and threads to your social accounts..
- VS Code
Add the Postbase MCP server to VS Code with one command and let GitHub Copilot's agent draft and schedule posts to X, LinkedIn, Bluesky and Mastodon..
- Windsurf
Add the Postbase MCP server to Windsurf's Cascade agent and schedule posts to X, LinkedIn, Bluesky and more while you code..
- Gemini CLI
Add the Postbase MCP server to Gemini CLI with one command.
From the blog
The best social media posting APIs for developers in 2026
Unified APIs for posting to X, LinkedIn, TikTok and YouTube compared on pricing, networks, auth and MCP, and when to use each network directly.
28 September 2026 · 4 min read
DevelopersHow to post to X with the API in 2026: threads, media and pricing
Posting to X with API v2: pay-per-use pricing, OAuth 2.0 scopes, threads, image and video uploads, and counting characters the way X does.
26 September 2026 · 5 min read
AI agentsAnnounce every release from Claude Code
Set up Claude Code to read your changelog, write launch posts for X, LinkedIn and Bluesky, and schedule them with a reusable slash command.
24 September 2026 · 3 min read
Ready to get started?
Connect Claude Code in a minute. It drafts and schedules, and you see every post in your calendar.
Cancel anytime · or self-host for free
Copy your key now — you won't see it again.
pb_live_Qm7xT2vLr9KcH0sWbN8y…4f2aCopyAuthentication
Client