MCP server
Updated 2026-11-26
Connect Claude and other agents to Post Engineer with the MCP server, locally or remotely.
The MCP server lets an agent create personas, publish videos and images made elsewhere and schedule posts through Post Engineer. It speaks the Model Context Protocol over stdio locally or over HTTPS remotely.
Local setup
Install the server with npx and point it at your API key. The snippet below is the same setup the app shows.
Add the Post Engineer MCP server to my AI agent configuration.
I already generated my API key on https://post-engineer.com/recipes.
Installation:
1. Configure the MCP server (opencode.json, claude_desktop_config.json, .mcp.json, or Cursor settings) with:
{
"mcpServers": {
"post-engineer": {
"type": "local",
"command": ["npx", "-y", "post-engineer-mcp@latest"],
"environment": {
"POST_ENGINEER_API_KEY": "<MY_API_KEY>"
}
}
}
}
2. Replace <MY_API_KEY> with my real API key. No repository clone or local build is required. The @latest tag forces npx to fetch the newest version instead of reusing a stale cached copy.
Remote (hosted) option — no local install needed:
If your agent supports remote MCP servers (for example ChatGPT), connect it to https://post-engineer.com/mcp instead of the npx command above. It serves the same 10 tools over Streamable HTTP with OAuth sign-in — sign in to Post Engineer when prompted. The actions that read a file from your own machine (publish_video from_file, and a local imagePath or avatarPath) are not available remotely: upload a video or image with publish_video create_upload (PUT the bytes to its signed URL), then complete_upload, then publish_upload or publish_existing.
Available tools after connecting (10 tools; every one takes an "action"; persona and account fields accept a name or an id). Post Engineer does not generate video: I make the media with my own tools, and these tools upload, publish, schedule and measure it:
- publish_video: publish media I made: from_file (a local .mp4/.mov, max 2GB, published now), create_upload, complete_upload and publish_upload (a signed upload, video or JPEG/PNG: the bytes never pass through the server; published now), and publish_existing (a completed upload, or a local image, to every network of its accounts in one call, with mode asap or scheduled at publishAt 3h-30d ahead; a scheduled post accepts a promptVersionId for experiments). YouTube needs title, description, tags and privacyStatus; Rumble and Fanvue title and description; the other networks a caption. The 7-day free trial gates publishing: after it ends the call fails with TRIAL_EXPIRED and names the contact link.
- personas: list (id and name), get, create (a name and at least one publishing account; a photo is optional), update (only the given fields change; identityCard sets the identity card, or null removes it) and delete (without confirmToken it only previews what would be removed; send the confirmToken of that preview to delete).
- persona_media: get_card returns the persona's identity card (or null); render_prompt renders a deterministic image-edit prompt from the card plus a scene (outfit, pose, setting, lighting, framing) — advice for your image tool, nothing is generated or stored.
- accounts: list (my connected social accounts with the names and ids to publish with), connect (OAuth link for youtube/instagram/linkedin/threads/facebook/pinterest/fanvue; direct connect for bluesky, 3speak, rumble and telegram), disconnect (by name or id), get_persona_publishing and set_persona_publishing (the accounts a persona publishes to by default), list_boards (Pinterest boards).
- tool_config: get (my saved search and stock tool configuration: which search tool and stock sources I have keys for — keys are never shown back in full) and save (replace the whole set, keys included, stored encrypted).
- schedules: list, cancel (a whole schedule), get_slot, update_slot_title and delete_slot (one scheduled post).
- posts: list (my upcoming and past posts; optional limit, default 20, max 500; each slot carries postUrl, the link to its detail page — send it in chat) and get (one post by slot id).
- insights: post_metrics (per-video performance for window 24h, 7d or 28d, optional persona, provider and account filters), last_day (views and engagement each video gained in the last 24 hours, optional persona, provider and account filters), retention_curve (the audience retention curve of one of my own YouTube videos), and share_link_create, share_link_list and share_link_revoke (a public read-only link, no login, to my metrics summary and this week's posts; create can limit it to one persona and set an expiry; the url is returned once).
- experiments: results (compare my prompts inside each publishing account: every post scheduled with a promptVersionId records that prompt version; window 24h, 7d or 28d; a label says whether a difference is clear, indicative or not there yet).
- prompts: list (the prompts this server can run: mine and the public ones; call it first when I ask for copy about a topic) and get (one prompt by slug, as ready-to-run instructions; unverified community prompts carry a notice, verified ones do not). It also writes my own prompts, private by default: create, update (title, description, text, or visibility: public lets anyone read it, private keeps it to me), delete and restore (make an old version the current text, as a new version); versions only reads the saved texts of my prompt, newest first (pass version to read one in full). Only I can change my prompts and read their history.
- Prompts: copy one from https://post-engineer.com/recipes or run it as a slash command on this server.
How to work with me (agent instructions):
1. Start by calling accounts (action: list) and personas (action: list) and showing me the accounts and personas I already have. If I have none, say so.
2. Ask me what I want to publish and where before doing anything. To group accounts, create a persona with personas (action: create) after confirming its name and accounts with me; to fix one later, use personas (action: update) (never create a duplicate).
3. For a post, upload my file with publish_video (from_file for a local video, or create_upload → PUT → complete_upload), then publish it with publish_upload or publish_existing. Ask me for the networks, the caption or title, and whether to publish now (mode asap) or at a time (mode scheduled, 3h to 30 days ahead, with my timezone). Share the post URL with me.
4. Show my schedules with schedules (action: list) on request, and use schedules (action: cancel) to remove one.
5. When I ask about my posts (what is coming next, what already went out), call posts (action: list) and summarize the upcoming and past posts, including any failure errors. For performance, use insights (action: post_metrics).Remote server
Use the hosted server when the agent cannot run local commands. It serves the same tools over Streamable HTTP with OAuth sign-in.
Tools
Every tool below is registered by the MCP server. Each takes an action.
personas- List, read, create, update and delete personas (avatar, language, niche). Writes are previewed first, then confirmed. Personas are given by name or id.
persona_media- A persona's identity card and the image prompts rendered from it, for your own image tool.
accounts- List, connect and disconnect social accounts, read or set which accounts a persona publishes to, and list Pinterest boards. Accounts are given by name or id.
schedules- List scheduled posts, cancel a schedule, read a slot, change a slot title or delete a slot.
posts- List published posts and read one.
insights- Post metrics, the last-24-hours metrics, the YouTube retention curve, and public share links for metrics (create, list, revoke).
experiments- Compare your prompts inside each publishing account: per account, each prompt version with its results.
publish_video- Publish a finished video or image you made elsewhere, directly or through a staged upload, now or at a scheduled time.
prompts- The prompt library: list and read prompts, and create, update, delete and restore your own, with version history.
tool_config- Read and save the search tool and the licensed stock sources. Keys are stored encrypted and only their presence and last 4 characters are ever returned.
Publish media via MCP
Call `publish_video` with the finished file you made elsewhere: publish it now or schedule it, and it goes out to the persona's accounts at the chosen time.