Ship the feature, then ship the post
One command adds PostPlenty to Claude Code. Ask for a launch post when you merge, and PostPlenty writes it in your brand voice, makes the image and drafts it into your calendar.
Set up in a minute
Connect Claude Code to PostPlenty
- Create an API key in PostPlenty under Settings → API keys.
- Export it in your shell profile so it is set every session: export PYLOT_API_KEY=pyl_live_…
- Run the command above. Add --scope user if you want PostPlenty in every project, not only this folder.
- Start Claude Code and run /mcp. pylot should show as connected, with its tools listed.
- Optional: install the PostPlenty skill so Claude Code picks the right tool order without being told (command on the MCP page).
claude mcp add --transport http pylot \
https://www.postplenty.com/api/mcp \
--header "Authorization: Bearer $PYLOT_API_KEY"Try asking
Ask for the post, not just the schedule
Prompts that lean on your repo work well here, because Claude Code can read the diff, the changelog or the README before it calls PostPlenty.
- Prompt 1
“We just shipped dark mode. Write an X post and a LinkedIn post announcing it, make one brand image for both, and schedule them for tomorrow at 10am.”
- generate_captions in your voice
- generate_image your colours
- create_post draft or scheduled
- Prompt 2
“Read CHANGELOG.md and turn this week's three biggest changes into three Instagram posts with images. Leave them as drafts.”
- Prompt 3
“Create a LinkedIn post thanking our beta testers with a square brand image, and schedule it for Monday at 8am.”
Drafts unless you give a time
Images use 1 credit each, refunded if generation fails.
Good to know
Using Claude Code with PostPlenty
- Do not commit the key. Keep it in an environment variable, and if you share a project .mcp.json use the variable instead of the key.
- The MCP server is stateless, so there is no long-lived session to reconnect. If /mcp shows pylot failing, the key is usually missing from the shell that started Claude Code.
- Non-interactive runs (claude -p) cannot answer a permission prompt, so keep them to read and draft tools unless you have allowed publish_post on purpose.
Your agent's content team
Give Claude Code a brand to post with
PostPlenty learns your brand from your website, so the post sounds like you and not like a commit message. Start a trial, create a key, run one command.
7 days free, then $29.99/month. Card required. Cancel any time in Settings.
Questions
PostPlenty for Claude Code, answered
How do I add PostPlenty to Claude Code?
Run claude mcp add with the HTTP transport, PostPlenty's MCP URL and your API key as an Authorization header. Then run /mcp inside Claude Code to see that the pylot server is connected.
Can Claude Code write the post from my git history?
Yes. Claude Code reads the commits or CHANGELOG itself, then sends the topic to PostPlenty's generate_captions. PostPlenty writes the caption in your brand voice, so the post reads like marketing, not like release notes.
How do I remove or rotate the key?
Run claude mcp remove pylot, revoke the key under Settings → API keys in PostPlenty, create a new one and add the server again. A revoked key stops working immediately.
Is there a way to teach Claude Code when to use which tool?
Yes. The PostPlenty agent skill is a short markdown file that sets the order (list channels, generate, create draft) and the rule to never publish unless you ask. Install it into ~/.claude/skills.