post-engineer-mcp
Allows scheduling and publishing posts to connected Bluesky accounts using app-password authentication, with per-account status tracking.
Allows scheduling and publishing short videos/posts to connected Instagram business accounts via OAuth, with per-account status tracking.
Allows scheduling and publishing posts to connected Threads accounts via Threads OAuth permissions, with per-account status tracking.
Allows scheduling and publishing short videos to connected YouTube accounts, with tracking of upcoming and past posts and per-account status.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
Post Engineer
π§π·π΅πΉ Leia em PortuguΓͺs
Schedule and auto-publish the videos and images you make, to every network at once.
Make the media with your own tools, upload it once, and Post Engineer publishes it to your social accounts now or at the time you pick, retries a failed account, and measures how each post performs. Personas group the publishing accounts of one brand or character. Manage everything from the web dashboard, drive it programmatically through the API, or let your AI agent run it through the MCP server β all from this one monorepo. Post Engineer does not generate media.
Post Engineer is open source under the Apache License, Version 2.0. Self-host the whole platform on your own VPS following docs/SELF_HOSTING.md, or use the hosted version: it is in a free beta: the first 30 accounts get in automatically. The monthly post limit is shown as x until the number is set.
Prefer the hosted version? The same platform runs at post-engineer.com β you can skip the local setup and connect the MCP server straight to your account (see MCP server).
What it does
Personas β group the publishing accounts of one brand or character, with an optional identity card that renders image prompts for your own image tool.
Scheduling & publishing β queue posts for YouTube, Instagram, LinkedIn, Bluesky, Threads, Facebook, Pinterest, 3Speak, Rumble, Fanvue, and Telegram (channels and groups); track upcoming and past posts with per-account status.
Metrics and experiments β per-post views and engagement, YouTube retention, and prompt comparisons per account.
Dashboard β personas, posts calendar and history, connected social accounts, metrics and API keys in one Next.js app.
Agent control β an MCP server (
apps/mcp/) exposes the same capabilities to AI agents (Claude, Cursor, Codex, OpenCode): upload and publish media, schedule posts, manage personas and read metrics.
Related MCP server: VidTranslate MCP Server
Repository layout
This is a pnpm/Nx monorepo β the web app and the MCP server live together:
apps/web/ Next.js 15 dashboard, API routes and the publish scheduler (TypeScript)
apps/mcp/ MCP server for AI agents (npm package: post-engineer-mcp)The web app owns authentication, personas, scheduling, uploads, OAuth, the beta access gate, the API and publishing: an in-process scheduler claims each due slot in Postgres and publishes it through the same upload core the API uses. The MCP server talks to the web API with a user API key. Postgres (via Supabase) is the system of record: personas, schedules, uploads, OAuth tokens (encrypted at rest) and API keys.
Prerequisites
Node.js 20+ and pnpm 10 (
npm install -g pnpmor via corepack)A Supabase project (hosted at supabase.com, or self-hosted) with a Postgres database
API keys for the external services you plan to use (see the table below)
Local setup from scratch
1. Install dependencies
git clone https://github.com/Ryan-Carloso/post-engineer.git
cd post-engineer
pnpm install2. Set up Supabase
Create a project at supabase.com (or point at your self-hosted instance).
In the Supabase SQL editor, apply the database scripts. The persona image library script lives in this repo:
supabase/migrations/002_persona-images.sql(manual-apply by design).Need help? If you are setting up a fresh project and need the current schema snapshot, reach out: Email: madebyryandev@gmail.com Β· WhatsApp: +351 962 248 268
3. Create the env file (never commit it)
There is exactly one env file by design β copy it from its example and fill in your own values:
cp apps/web/.env.example apps/web/.envFile | Purpose | Key variables |
| Web app, API routes and scheduler |
|
The app fails fast on missing variables (no silent fallbacks) β see
apps/web/.env.example for the full documented list.
4. Register OAuth apps (for social publishing)
To connect YouTube, Instagram, or LinkedIn accounts you need OAuth apps whose
redirect URIs exactly match the values in apps/web/.env:
Google / YouTube β Google Cloud Console: create an OAuth 2.0 Client ID, add the authorized redirect URIs from
GOOGLE_REDIRECT_URI/GOOGLE_REDIRECT_URI_LOCAL, and fill inGOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET.Instagram β Meta for Developers: a Business app with the Instagram product (
instagram_business_basicandinstagram_business_content_publishpermissions); setINSTAGRAM_CLIENT_ID/INSTAGRAM_CLIENT_SECRETand registerINSTAGRAM_REDIRECT_URI.LinkedIn β LinkedIn Developers: create an app, register
LINKEDIN_REDIRECT_URI, and setLINKEDIN_CLIENT_ID/LINKEDIN_CLIENT_SECRET.Threads β (Threads API). The "Access the Threads API" use case of the Meta app has its own App ID and App Secret (
THREADS_CLIENT_ID/THREADS_CLIENT_SECRET), different from Instagram's. Add the Threads product (threads_basic,threads_content_publish,threads_manage_insightsandthreads_manage_repliespermissions) and registerTHREADS_REDIRECT_URI.Facebook Pages β Meta for Developers: add Facebook Login for Business with the
pages_show_list,pages_read_engagement,pages_manage_postsandpages_manage_engagementpermissions, setFACEBOOK_CLIENT_ID/FACEBOOK_CLIENT_SECRETand registerFACEBOOK_REDIRECT_URI. Connecting once adds every Page the user manages.Fanvue β Fanvue Developer Area: create an API only app from a creator account, add the redirect URIs from
FANVUE_REDIRECT_URI/FANVUE_REDIRECT_URI_LOCAL, and select the scopesread:self,read:post,write:post,read:mediaandwrite:media(the system scopesopenid,offline_accessandofflineare added automatically). SetFANVUE_CLIENT_ID/FANVUE_CLIENT_SECRET. There is no API key: the creator authorizes the app over OAuth 2.0 + PKCE. Every post is subscribers-only.Bluesky uses an app password entered in the dashboard (encrypted at rest) β no OAuth app registration needed.
3Speak uses a Hive posting key entered in the dashboard (encrypted at rest) β no OAuth app registration needed. The posting key only authorizes posts; never paste an owner, active, or master password.
Rumble uses a manually issued 40-character Simple Upload API access token (request it by emailing bd@rumble.com), entered in the dashboard with the channel ID β no OAuth, no app registration, no env vars.
Telegram publishes through the user's own bot: create it with @BotFather, add it to a channel (as an administrator who can post) or a group (as a member allowed to send), then paste the bot token and the chat ID or @username in the dashboard (encrypted at rest). The connect checks the bot's permission in that chat. No OAuth, no env vars. The cloud Bot API caps uploads at 50 MB and captions at 1,024 characters.
5. Generate the self-managed secrets
These are yours to create β nothing to register:
# OAuth token encryption key (AES-256-GCM)
openssl rand -base64 32
# MCP OAuth signing key (PEM, \n-escaped into MCP_OAUTH_PRIVATE_KEY_PEM)
openssl ecparam -genkey -name prime256v1 -noout | openssl pkcs8 -topk8 -nocryptRunning
pnpm dev:web # dashboard at http://localhost:3434Useful commands (all verified against package.json / project.json):
pnpm test # all tests (web + MCP, via Nx)
pnpm lint # ESLint (web + MCP)
pnpm typecheck # tsc --noEmit (web + MCP)
pnpm build # production build of the web app
pnpm graph # Nx project graphPer-app details: apps/web/README.md, apps/mcp/README.md.
MCP server
The MCP server (apps/mcp/, npm package
post-engineer-mcp) lets AI
agents upload and publish media, schedule posts, manage personas and read
metrics on your account. You don't need to clone this repo to use it against the
hosted platform:
{
"mcpServers": {
"post-engineer": {
"type": "local",
"command": ["npx", "-y", "post-engineer-mcp@latest"],
"environment": {
"POST_ENGINEER_API_KEY": "<MY_API_KEY>"
}
}
}
}Generate <MY_API_KEY> at
post-engineer.com/recipes. The
@latest tag matters: npx reuses its cached copy without checking for
updates. To point the
server at your own self-hosted instance instead, set
POST_ENGINEER_API_URL (see apps/mcp/README.md for the
full tool list, OpenCode timeout tips, and local development).
External services you must key yourself
Service | Required? | What for | Where to get it |
Supabase | Yes | Postgres, auth, storage | supabase.com or self-hosted |
Google OAuth app | For YouTube publishing | OAuth client id/secret | Google Cloud Console |
Instagram (Meta) app | For Instagram publishing | OAuth client id/secret | developers.facebook.com |
LinkedIn app | For LinkedIn publishing | OAuth client id/secret | developer.linkedin.com |
| Yes | Encrypts OAuth tokens at rest | Generate yourself ( |
| For MCP server OAuth | Signs MCP tokens | Generate yourself (EC key, see above) |
PostHog | Optional | Error tracking + product analytics |
|
Discord webhook | Optional | Publish scheduler notifications | Discord channel settings |
| CI only | AI code-review workflow | Not a runtime dependency |
Support & Contact
Questions, get in touch:
Email: madebyryandev@gmail.com
WhatsApp: +351 962 248 268
License
Licensed under the Apache License, Version 2.0 β see CONTRIBUTING.md and SECURITY.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate AI short-form videos and auto-publish them to TikTok, YouTube, Instagram, Facebook and X.
AI video editing + publishing: turn clips into vertical shorts, post to TikTok/Instagram/YouTube.
Make and publish AI posts, carousels and reels to Instagram, TikTok, Facebook and YouTube.
Create, schedule, and publish social videos across YouTube, TikTok, Instagram, Facebook & LinkedIn.
1
Related MCP Servers
- AlicenseAqualityDmaintenanceAI-powered social media posting across 14 platforms. Post to Twitter, Instagram, TikTok, Facebook, LinkedIn, YouTube and more with one command. AI adapts content per platform, schedules posts, and generates 30-day content calendars.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered translation of YouTube videos into localized versions with synthesized voiceovers and avatar videos. Supports the full content pipeline from transcript extraction and translation to video generation and publishing across social platforms.-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to create finished short-form videos with script, voiceover, scenes, captions, and music, delivering an MP4 ready for TikTok, Instagram Reels, and YouTube Shorts.135 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to generate, edit and render finished, ready-to-post videos from a plain-language prompt, including script, visuals, voiceover, captions and music for TikTok, Reels and YouTube. Also supports remaking reference videos, importing your own media, and reviewing or adjusting existing videos before rendering.MIT