The PostPlenty MCP server, your agent's content team
Connect any MCP client and your agent can ask PostPlenty for posts. PostPlenty writes the captions in your brand voice, makes the images in your colours, and drafts or schedules them to your channels.
claude mcp add --transport http pylot \
https://www.postplenty.com/api/mcp \
--header "Authorization: Bearer $PYLOT_API_KEY"17 tools
Create, not just publish
Every tool is scoped to the business your key belongs to and runs the same code as the PostPlenty dashboard and REST API. This list is read from the live server.
get_accountRead-onlyGet account
Business name, timezone, plan, credit balance and plan limits for the business this key belongs to.
get_creditsRead-onlyGet credits
Current credit balance, monthly allocation and per-operation costs (image generation costs 1 credit).
list_channelsRead-onlyList accounts
Connected social accounts (each is one channel), including several on one platform. Use the returned `id` as `channelId` in create_post. `label` names the account for the owner and never matches another account. Filter with `platform` (meta, tiktok, linkedin, x) and/or `q` (part of a name or handle). `focus` is what the owner said the account posts about (null if not set). Meta channels list `targets` (facebook and/or instagram); other platforms post to one destination.
set_channel_focusWritesSet account focus
Tell PostPlenty what one connected account posts about (about, audience, voice). Send only the fields to change; null clears one. A focused account is left out when create_post has no targets, and generate_captions can write for it with channelId. focusOnly=false keeps the notes but still sends the account every post.
list_postsRead-onlyList posts
Recent posts for this business, newest first. Filter by status (draft, approved, scheduled, posted, failed, partial) and by channelId to see what went to one account.
get_postRead-onlyGet post
Fetch one post with its per-platform targets, schedule and publish results.
create_postWritesCreate post (draft)
Create a post as a DRAFT. Provide a caption (and optional mediaUrls from upload_media / generate_image) plus targets (channel ids). Omit targets to post to every account with no focus (every active account when none has a focus); accounts with a focus are left out (the response lists them in post.skippedAccounts), and if every account has one you must pass targets. Pass scheduledAt (ISO-8601) to schedule in the same call. This never publishes immediately — use publish_post for that.
schedule_postWritesSchedule post
Queue an existing post to publish at a future time (at least 1 minute ahead). Naive timestamps are read in `timezone` or the business timezone. Scheduling text you created approves it; a post PostPlenty wrote stays a draft until the owner approves it in PostPlenty.
publish_postAsks firstPublish post now
IRREVERSIBLE: publishes the post to every enabled target right now. Requires confirm=true. Only call this when the user has explicitly asked to publish immediately. PostPlenty-written drafts return approval_required: the owner approves those in PostPlenty.
delete_postAsks firstDelete post
Delete a draft or scheduled post. Published posts cannot be deleted here.
upload_mediaWritesUpload media from URL
Copy a public image or video URL into PostPlenty storage and return a stable URL for `mediaUrls`. Images up to 5MB, videos up to 500MB.
generate_captionsWritesGenerate captions
Write 3 on-brand caption variations per platform using the business's brand voice. Pass channelId to write for one account (its focus is added). Free — no credits used.
generate_imageWritesGenerate image
Generate a brand-aware marketing image (colours, logo and style applied automatically). Costs 1 credit; refunded if generation fails. Returns a URL usable in create_post mediaUrls.
list_film_asksRead-onlyWhat to film
This week's "what to film" list for the business: the same asks PostPlenty shows the owner on Home, written for this business. `next` is the first one still to film. Empty when there is no list this week. Read only.
list_photosRead-onlyList photos
Photos PostPlenty already holds for the business: the owner's own photos and the ones saved from its website, plus the brand logo. Pass q to put the best match first. Each url works in create_post mediaUrls. Read only: this never crawls the website.
edit_videoWritesEdit a video
Send a clip the owner filmed to PostPlenty's editor: it cuts the pauses, adds captions and designs the scenes, exactly like a clip sent in the app. Pass a public video url or an upload_media assetId (mp4, mov or webm, up to 500MB; clips over 90 seconds are kept as filmed), and rightsConfirmed=true once everyone in the clip agreed to be posted. Counts toward the plan's edited videos (the same allowance as the app); refused with a clear error when editing is not on for the business, the plan does not include it, or the allowance is used up. Returns an editId for get_edit. When the edit finishes it becomes a post, and PostPlenty schedules it on its own (next open day at noon) unless the owner turned on "Wait for my OK". If it cannot be edited, the clip as filmed waits as a draft.
get_editRead-onlyGet edit
Where an edit_video edit is: queued, editing (with its stage), done (with a link to watch the edited video, valid one hour, and the post it became), not_edited (with the reason; the clip as filmed is a draft) or failed.
Setup per client
One server, every agent
Server URL: https://www.postplenty.com/api/mcp. Every client sends your API key as Authorization: Bearer pyl_live_…
ClaudeCustom connector with a request header
- In PostPlenty, open Settings → API keys and create a key. It starts with pyl_live_.
- In Claude, open Customize → Connectors, select + Add, then Add custom connector. On Team and Enterprise an owner or admin adds it under Organization settings → Connectors first.
- Enter the name and URL above and select Continue.
- Choose No sign in, then add the Authorization request header with your key.
- Start a chat, turn the PostPlenty connector on, and ask for a post.
Name PostPlenty
URL https://www.postplenty.com/api/mcp
Authentication No sign in
Request header Authorization: Bearer pyl_live_…Claude CodeRemote MCP, one terminal command
- 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"ChatGPTCustom GPT action (OpenAPI + bearer key)
- Create a PostPlenty API key under Settings → API keys.
- In ChatGPT, go to Explore GPTs, select Create, and open the Configure tab.
- Under Actions, select Create new action, then Import from URL and paste the schema URL above.
- Set Authentication to API key, Auth type Bearer, and paste your key.
- Add one instruction to the GPT: always call PostPlenty for captions and images, and leave posts as drafts unless asked for a time.
- Save the GPT for yourself, open it, and approve the PostPlenty action the first time ChatGPT asks.
Schema https://www.postplenty.com/api/v1/openapi.json
Authentication API key
Auth type Bearer
API key pyl_live_…CursorRemote MCP in mcp.json
- Create a key in PostPlenty under Settings → API keys.
- Set PYLOT_API_KEY in the environment you launch Cursor from, then restart Cursor so it picks it up.
- Add the pylot entry to ~/.cursor/mcp.json for every project, or .cursor/mcp.json to keep it in one repo.
- Open Cursor's MCP settings and check that pylot shows as connected with its tools listed.
- Ask in Agent mode. Cursor asks you to approve each tool call unless you turn on auto-run.
{
"mcpServers": {
"pylot": {
"url": "https://www.postplenty.com/api/mcp",
"headers": {
"Authorization": "Bearer ${env:PYLOT_API_KEY}"
}
}
}
}CodexRemote MCP in config.toml
- Create a key in PostPlenty under Settings → API keys.
- Export it before you start Codex: export PYLOT_API_KEY=pyl_live_…
- Run the command above. It appends a pylot table to ~/.codex/config.toml, and Codex sends the variable's value as the bearer token.
- Start Codex in a repo and ask for a post. Approve the PostPlenty tool calls when Codex asks.
cat >> ~/.codex/config.toml <<'EOF'
[mcp_servers.pylot]
url = "https://www.postplenty.com/api/mcp"
bearer_token_env_var = "PYLOT_API_KEY"
EOFGemini CLIRemote MCP, one terminal command
- Create a key in PostPlenty under Settings → API keys.
- Export it in the shell you run Gemini CLI from: export PYLOT_API_KEY=pyl_live_…
- Run the command above. Your shell fills in the key as it runs.
- Start Gemini CLI and run /mcp. pylot should be listed with its tools.
gemini mcp add --transport http \
--header "Authorization: Bearer $PYLOT_API_KEY" \
pylot https://www.postplenty.com/api/mcpOpenClawRemote MCP (streamable HTTP) with a header
- Create a key in PostPlenty under Settings → API keys.
- Run the command above to add the server named pylot.
- Add the key as a header on that server, under mcp.servers.pylot in your config: headers: { Authorization: "Bearer ${PYLOT_API_KEY}" }. The Control UI has the same field under Settings → MCP.
- Run openclaw mcp doctor pylot --probe. It should answer without an auth error.
- Tell your agent in its instructions to leave PostPlenty posts as drafts unless you name a time.
openclaw mcp add pylot \
--url https://www.postplenty.com/api/mcp \
--transport streamable-httpn8nHTTP Request node (REST + bearer key)
- Create a key in PostPlenty under Settings → API keys.
- In n8n, add an HTTP Request node, select Import cURL and paste the command above.
- Replace the pasted header with a Bearer Auth credential, so the key is not stored in the node.
- Add a second HTTP Request node for POST /generate/images and a third for POST /posts, passing the caption and image URL from the earlier nodes.
- Set a trigger (a schedule, a webhook or a new row), run the workflow once by hand, then check the draft in PostPlenty.
curl -X POST https://www.postplenty.com/api/v1/generate/captions \
-H "Authorization: Bearer pyl_live_…" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Autumn menu launch at our cafe",
"platforms": ["instagram", "facebook"]
}'Agent skill
Teach your agent when to call what
The PostPlenty skill tells an agent which tool to use for each job, in what order, and when to stop and ask. Install it in Claude Code with one command, or point any agent at the file.
mkdir -p ~/.claude/skills/pylot && curl -fsSL \
https://www.postplenty.com/agents/pylot-skill.md \
-o ~/.claude/skills/pylot/SKILL.mdReady when you are
Plug your agent into PostPlenty
Start a trial, let PostPlenty learn your brand from your website, then create an API key in Settings → API keys. Captions are free; images use 1 credit each.
7 days free, then $29.99/month. Card required. Cancel any time in Settings.
Questions
The MCP server, answered
What is the PostPlenty MCP server?
A remote MCP server at https://www.postplenty.com/api/mcp that speaks Streamable HTTP. It gives an AI agent tools to write captions in your brand voice, generate brand images, find the photos PostPlenty already has from your website and Library, see what PostPlenty is asking you to film, edit a clip you filmed, and create and schedule posts to your connected Instagram, Facebook, LinkedIn, X and TikTok accounts.
How does an agent sign in?
With a PostPlenty API key sent as a bearer token in the Authorization header. Create one in Settings → API keys. Each key belongs to one business, is stored hashed, and can be revoked at any time.
Can an agent publish without me?
Not by accident. create_post always makes a draft unless it's given a time. publish_post needs confirm set to true and is marked destructive, so MCP clients can ask you before it runs. One exception works like the app: a clip sent with edit_video becomes a post when the edit is done, and PostPlenty schedules it on its own unless you turned on "Wait for my OK" in PostPlenty.
What does it cost?
Captions are free. Each generated image uses 1 credit from your plan and is refunded if generation fails. Each clip sent with edit_video counts as one of your plan's edited videos, the same allowance as clips sent in the app. Drafting, scheduling and publishing are free.