Claude Code + PostlyBee
Schedule social media posts with Claude Code
Add PostlyBee to Claude Code with one command. Claude can then turn your README, changelog, or release notes into posts and schedule them to your social channels without leaving the terminal.
- One terminal command, then a browser sign-in with OAuth
- Use a scoped API token for claude -p scripts and CI jobs
- Share the setup with your team through a project .mcp.json
$0 charged today, cancel anytime. MCP is included in every paid plan.
How to add PostlyBee to Claude Code
PostlyBee is a remote HTTP MCP server, so there is nothing to install beyond Claude Code itself. Pick the tab that matches how you run Claude Code.
- 1
Connect your social channels
Start your 7-day free trial and connect the accounts Claude Code should post to, such as LinkedIn, X, or Bluesky.
- 2
Add the PostlyBee server
Run claude mcp add in your terminal, then sign in to PostlyBee from /mcp and choose the workspace to connect.
- 3
Ask Claude Code to post
Point Claude at a file or a commit range and ask for a post. It drafts the copy, shows it to you, and schedules after you confirm.
MCP server URL
https://api.postlybee.com/mcpBest for your own machine. No API token to create or store; Claude Code keeps the sign-in and refreshes it for you.
- 1Run the command below in your terminal.
- 2Start Claude Code, run /mcp, select postlybee, and choose Authenticate. You can also run claude mcp login postlybee from your shell.
- 3Sign in to PostlyBee in the browser, pick the workspace, and approve access.
- 4Ask Claude to list your PostlyBee channels to check the connection.
claude mcp add --transport http postlybee https://api.postlybee.com/mcpConnection options
Which way should I connect Claude Code?
Both routes use the same PostlyBee MCP server and the same tools. The difference is how Claude Code proves who you are.
OAuth sign-in
Best for: interactive sessions on your own machine
Add the server URL and sign in once in the browser. Nothing secret is stored in your shell or repo, and you can revoke access from /mcp with Clear authentication.
Scoped API token
Best for: claude -p, CI jobs, and shared project config
Non-interactive runs cannot open a browser to sign in, so use a pbk_ token bound to one workspace. Give it mcp:read for reporting or mcp:write to schedule.
Capabilities
Why use Claude Code for social media?
Claude Code already knows your project. With PostlyBee connected, it can turn that context into posts and put them on your calendar.
Write from your repo
Claude reads your README, changelog, docs, or git log and drafts posts that match what actually shipped.
Schedule to every channel
Post to one channel or several at once, each with its own copy, following the rules PostlyBee loads for each platform.
Attach screenshots and media
Import an image or MP4 from a public URL into your PostlyBee media library and attach it to the post.
Fill open posting slots
Ask for the next free slots from your posting schedule so launch posts do not collide with what is already planned.
Check the calendar
List drafts, scheduled, published, and failed posts for any week, and fix settings on posts that have not gone out.
Read the results
Pull account and post analytics to see how the last release announcement did before you write the next one.
About Claude Code
What is Claude Code?
Claude Code is Anthropic’s coding agent. It runs in your terminal, in VS Code and JetBrains, and in the Claude desktop app, where it can read your project, run commands, and use MCP servers like PostlyBee.
The Claude chat app and Claude Code share connectors: if you sign in to Claude Code with your claude.ai account, a PostlyBee connector you added in Claude shows up in /mcp automatically.
Works where you code
Ask for a post in the same session where you just merged the feature, with the diff still in context.
Scriptable
Run Claude Code non-interactively with claude -p to draft posts from scripts, cron jobs, or CI.
You approve the tools
Claude Code asks before it calls a new tool, and you can allow or block PostlyBee tools in your permission settings.
Automation
Draft release posts from CI with claude -p
Run Claude Code headless after a release to turn the changelog into social posts. Use the API token route, because a non-interactive run cannot complete an OAuth sign-in.
For unattended runs, ask Claude to save drafts rather than schedule, so a person reviews each post in PostlyBee before it goes out.
claude -p "Read CHANGELOG.md and draft a LinkedIn post and an X post \
about the latest release. Save both as PostlyBee drafts." \
--allowedTools "Read,mcp__postlybee"Allow only what the job needs
mcp__postlybee allows every PostlyBee tool for that run; combine it with Read so Claude can open the changelog.
Keep the token in a secret
Store the pbk_ token in your CI secrets and reference it from .mcp.json with an environment variable.
Review in PostlyBee
Drafts appear in your PostlyBee calendar, where your team can edit and schedule them.
Example prompts
What can you ask Claude Code to post?
> Read README.md and write an X thread introducing the project. Schedule it for Tuesday at 10 AM after I approve it.
- ● Read(README.md)└ Read 142 lines
- ● postlybee · integrationList└ Found X
- ● postlybee · integrationSchema└ Loaded X post rules
● I wrote a five-post thread that follows the README: the problem, the install, and a quick example. Here is how it opens.
XTue, 10:00 AM
1/5 We built a tiny CLI that turns any folder of Markdown into a docs site in one command. Here is why 🧵
? Schedule the 5-post thread for Tuesday at 10:00 AM? (y/n) y
● postlybee · integrationSchedulePostTool
✓ Thread scheduled
> Summarize the commits since the last tag into a LinkedIn post and a Bluesky post, and save both as drafts.
- ● Bash(git log v2.3.0..HEAD --oneline)└ Found 23 commits
- ● postlybee · integrationList└ Found LinkedIn and Bluesky
- ● postlybee · integrationSchema└ Loaded LinkedIn and Bluesky post rules
● Version 2.4 is mostly about speed and a new export command. I left out the internal refactors.
LinkedInDraft
Version 2.4 is out: builds are up to 40% faster, and the new export command turns your docs into a single PDF.
BlueskyDraft
v2.4 is out: faster builds and a new export command for PDF docs.
? Save both posts as drafts? (y/n) y
● postlybee · integrationSchedulePostTool
✓ 2 drafts saved
> Import the screenshot at this URL and schedule a post about the new dashboard to LinkedIn and X in the next open slots.
- ● postlybee · integrationList└ Found LinkedIn and X
- ● postlybee · postingSlotsTool└ Next open slots: Wednesday 9:00 AM and 12:00 PM
- ● postlybee · integrationSchema└ Loaded LinkedIn and X post rules
● Here are both posts with the screenshot attached, one for each open slot.
LinkedInWed, 9:00 AM
The new dashboard puts every project’s status on one screen. Screenshot below.
XWed, 12:00 PM
New dashboard: every project’s status on one screen.
? Import the screenshot and schedule both posts? (y/n) y
● postlybee · uploadFromUrlTool
● postlybee · integrationSchedulePostTool
✓ Screenshot imported, 2 posts scheduled
> List everything scheduled in PostlyBee for the next two weeks and flag any post that mentions the old pricing.
- ● postlybee · postsListTool└ Found 14 scheduled posts
● 2 of the 14 scheduled posts still mention the old $19 price:
- - LinkedIn, Thu 9:00 AM: “Plans start at $19 per month.”
- - X, Mon 12:00 PM: “All of this for $19 a month.”
- - The other 12 posts do not mention pricing.
Which guide?
Claude Code, Claude, or another MCP client?
All of them use the same PostlyBee MCP server. Pick the guide for the app you work in.
Claude
The Claude chat app on the web and desktop. Add PostlyBee as a custom connector and schedule posts from a conversation.
Read the Claude guideClaude Code(this page)
Claude in your terminal, IDE, or CI. Add PostlyBee with one command and post from the same place you ship code.
Other MCP clients
Cursor, ChatGPT, and any client that supports Streamable HTTP can connect with OAuth or a scoped API token.
See the MCP setup guide
Pricing and security
How much does it cost?
MCP access is included in every paid PostlyBee plan, starting from $9.99 per month, with a 7-day free trial. Claude Code itself needs a Claude plan or API access.
How is access secured?
OAuth sign-ins and API tokens are both scoped to one workspace. Tokens can be read-only, and you can revoke either one at any time.
Something not working?
If /mcp shows postlybee as needing authentication, sign in again. If the connection fails with a token, check that it has an mcp scope and includes that workspace.
FAQ
Claude Code and PostlyBee FAQ
Get started
Ship the feature, then ship the post
Start your free trial, connect your channels, and add PostlyBee to Claude Code with one command.