pendpost
Officialpendpost is a local-first, MCP-native social planner that lets agents draft, validate, schedule, and inspect posts while humans approve anything before it publishes.
Inspect: list campaigns/posts, account status, assets, activity log, config, health, publish previews, and cross-client overview.
Compose: create/update/delete posts and campaigns; new posts are always drafts.
Approve: approve or reject posts; creators cannot self-approve except the owner.
Schedule/publish: start/stop the scheduler, run due-publish sweeps with confirmation, reschedule/unschedule, mark externally posted content, and verify live posts.
Assets: validate media specs, upload/rename/delete assets, and set/clear cover overrides.
Lint/validate: brand-lint captions and check per-platform publish readiness.
Insights: fetch platform metrics and generate performance digests.
Safety: record/clear Meta 368 blocks, pause/resume the Meta lane, set cadence caps, and recheck health.
Config/clients: read/edit non-secret config, refresh LinkedIn/X tokens, update the X profile with confirmation, and manage client workspaces owner-gated.
Platforms: Instagram, Facebook, LinkedIn, YouTube, X, Telegram, Discord, Mastodon, Nostr, WordPress, Ghost; beta Reddit, Pinterest, TikTok, Google Business Profile.
Interfaces: web dashboard, REST API, MCP over stdio or HTTP, with local plans, media, and credentials.
Allows posting, scheduling, and managing Facebook Page posts with native scheduling, human approval gate, and anti-ban circuit breakers.
Allows posting, scheduling, and managing Instagram Business or Creator account posts with human approval gate and anti-ban circuit breakers.
Provides integration with Meta's social platforms (Facebook and Instagram) for posting and scheduling, with system user token support, anti-ban circuit breakers, and human approval gate.
Allows posting and scheduling YouTube videos with native publishAt scheduling and human approval gate.
pendpost
Your AI agent drafts and schedules your social posts. Nothing publishes until you approve it.
npx -y pendpost # Node 22+, then open http://127.0.0.1:8090If this is the approval step you were looking for, a star on the repo helps other people find it.
pendpost is a free, open-source (MIT), local-first social media planner where an AI agent drafts and schedules posts across Instagram, Facebook, LinkedIn, YouTube, X, Telegram, Discord, Mastodon, and Nostr, plus long-form blogs on WordPress and Ghost, with Reddit, Pinterest, TikTok, and Google Business Profile in beta, all behind a human approval gate you control. It is MCP-native: AI agents draft, lint, schedule, and queue your posts, but nothing goes live until a human approves it. It is built for developers, agencies, and technical solopreneurs who want agents to do the work without handing them the keys, and without getting accounts flagged.
Why pendpost is different (not just a scheduler)
Most "AI social" tools are schedulers with an agent bolted on. pendpost is the opposite. It is an operations layer designed around the agent-plus-human workflow, and these are the parts a scheduler does not give you:
Human approval gate. Every post carries an approval state (
draft,approved,rejected) and is fail-closed: a post with no approval will not publish.plan_create_postalways creates a draft, and onlyapprove_postorreject_postcan flip it. Nothing publishes until it's approved. By default that's you; auto-approve is owner-only and revocable.Anti-ban circuit breakers. A Meta error 368 (an action block) trips a breaker that halts the Meta lane and never auto-resumes, because 368 carries no machine-readable clear time. Health probes send zero Graph traffic while blocked. A cadence cap defers bursts rather than dropping them, and a lane pause kill switch is always available.
Humanizer brand-lint. Captions are checked before publish against editable rules in
rules.json. The humanizer layer flags English AI-writing tells. Errors block publish; warnings are advisory.Honest native scheduling. Where a platform supports it (YouTube
publishAt, Mastodon, WordPress, Ghost), pendpost hands the post to the platform's own scheduler, so it goes out even when your computer is off. Instagram, Facebook, LinkedIn, and X go out at their time from pendpost itself: from the optional 24/7 cloud service when you turn it on, otherwise from your computer while pendpost runs, or from an always-on host. It stays honest about which cover/thumbnail mechanics actually apply per platform.Dual interface. A web dashboard and any MCP client drive the same contract. A parity test enforces that every capability ships on both faces.
German and Swiss localization. Run the dashboard, digest, and notifications in English or real Swiss German (
de-CH, with proper umlauts and 24-hour Swiss dates); set the language in Settings. See the localization docs.
Related MCP server: notipo
Quickstart
One line, no account (needs Node 22 or newer):
npx -y pendpost
# then open http://127.0.0.1:8090No account, no signup - pendpost runs locally and starts immediately. You can draft, approve, and schedule a full campaign right away. The planner starts empty; press New post or ask your agent for a first draft. Connect a platform in Setup when you are ready to publish - until then a lane is live-but-unauthenticated, so publishing simply waits for the connection rather than faking it.
Prefer git or docker?
# git
git clone https://github.com/pendpost/pendpost pendpost
cd pendpost
npm start # or: node bin/pendpost.mjs (builds the dashboard on first run)
# then open http://127.0.0.1:8090# docker
docker compose up
# then open http://127.0.0.1:8090The dashboard
The planner and the approval queue are the two screens you live in: draft and schedule on the left, approve or reject on the right. Nothing on the right can approve itself.
Planner | Approval queue |
|
|
MCP clients
The easiest path self-boots: pendpost speaks MCP over native stdio, so the client launches the server for you - nothing to start first.
Claude Desktop (one-click): install the pendpost .mcpb bundle attached to each GitHub release. It self-boots npx -y pendpost --stdio and opens the approval dashboard in the same process.
Claude Code and Cursor plugins: the Claude plugin bundle lives in packaging/claude-plugin/ and the Cursor plugin manifest in .cursor-plugin/. The Cursor plugin launches the pinned npx pendpost@<version> --stdio server; the Claude plugin connects to a running pendpost at http://127.0.0.1:8090/mcp, so start npx pendpost first. Agents that install servers for you (for example Cline) can follow llms-install.md.
Any stdio MCP client:
{
"mcpServers": {
"pendpost": { "command": "npx", "args": ["-y", "pendpost", "--stdio"] }
}
}Advanced / dev (HTTP transport): pendpost also serves MCP over streamable-HTTP at /mcp. This needs the server already running via npx pendpost:
claude mcp add --transport http pendpost http://127.0.0.1:8090/mcpAI-assisted setup (Claude for Chrome)
Going live on a real platform means creating a developer app in each vendor's portal and running one OAuth ceremony. pendpost makes that agent-drivable: on each incomplete card in the dashboard's Setup page, a Copy AI prompt button copies a ready-to-paste, secret-safe prompt for Claude for Chrome that drives the portal for that one platform. You authenticate at every login/consent gate, and the credential is minted locally by the CLI - it never passes through the agent or the chat. The same setup contract is documented for any agent in AGENTS.md.
What the MCP tools do
Every capability is an MCP tool, and the dashboard mirrors it. Read-only tools can never publish; write tools create drafts and are gated by the approval rules above. Grouped by what they do:
Read and inspect:
plan_list,plan_get,account_status,assets_list,activity_log,validate_media,platform_validate,pendpost_health,publish_preview,brand_lint,generate_digest,config_get,clients_overview.Compose:
plan_create_post,plan_update_post,plan_delete_post,restore_post,campaign_create,campaign_set_active.Approve (the human gate):
approve_post,reject_post. Nothing publishes until it's approved; by default that's you.Schedule and publish:
scheduler_set,publish_due_run,reschedule,unschedule,mark_posted,verify_post.Covers and assets:
set_cover,clear_cover,asset_upload,rename_asset,delete_asset.Insights and safety:
fetch_insights,token_refresh,pendpost_record_block,health_recheck,meta_lane_set.Config and clients:
config_set,client_create,client_update,client_archive,client_list,client_set_active.
The authoritative count and the read/write split are derived from lib/mcp.mjs and verified by test/parity-check.mjs (see the MCP docs). Each tool also carries readOnlyHint/destructiveHint/title annotations in tools/list.
Going live
When you are ready to publish, connect each platform in Setup (or copy .env.example to .env and fill in only the platforms you use). A platform publishes once its credential is present; until then it is live-but-unauthenticated and publishing waits for the connection. (PENDPOST_MODE=mock exists only as a test/demo fixture that routes every lane through the credential-free mock driver.)
Each platform has an interactive setup ceremony that writes to .env:
# Meta (Facebook + Instagram). A System User token is preferred for automation.
node scripts/meta-social.mjs setup-system-user \
--system-user-token <T> --page-id <ID> --app-id <ID> --app-secret <S>
# (or `node scripts/meta-social.mjs setup` for a long-lived Page token)
# LinkedIn (after creating an OAuth app)
node scripts/linkedin-social.mjs auth
# YouTube (after creating an OAuth client)
node scripts/yt-social.mjs auth
# X (Twitter), OAuth 2.0 PKCE (browser). OAuth 1.0a needs no command - see below.
node scripts/x-social.mjs auth
# Static-credential lanes (no browser): paste the credential into .env (or use
# the dashboard Setup form), then validate with the engine's auth command.
node scripts/telegram-social.mjs auth # TELEGRAM_BOT_TOKEN + TELEGRAM_CHANNEL_ID
node scripts/discord-social.mjs auth # DISCORD_WEBHOOK_URL
node scripts/mastodon-social.mjs auth # MASTODON_INSTANCE_URL + MASTODON_ACCESS_TOKEN
node scripts/wordpress-social.mjs auth # WORDPRESS_SITE_URL + _USERNAME + _APP_PASSWORD
node scripts/ghost-social.mjs auth # GHOST_SITE_URL + GHOST_ADMIN_API_KEY
node scripts/nostr-social.mjs keygen --save && node scripts/nostr-social.mjs auth # + NOSTR_RELAYSRunning more than one client? Append --client <client-id> to any command above so the credential lands in that client's .env (single-client installs don't need it, and pendpost_health's connectAction already fills the flag in for you).
X (Twitter) supports two auth paths; OAuth 1.0a is recommended because it needs no browser and sidesteps the ERR_TOO_MANY_REDIRECTS that some apps hit on X's OAuth 2.0 consent screen.
OAuth 1.0a (recommended, zero browser). In the X developer portal: (1) set the app's User authentication settings to Read and Write FIRST; (2) then under Keys and tokens, generate/regenerate both the API Key/Secret and the Access Token/Secret; (3) paste all four into
.envasX_API_KEY,X_API_SECRET,X_ACCESS_TOKEN,X_ACCESS_TOKEN_SECRET. The lane goes live the momentX_ACCESS_TOKEN_SECRETis set - noauthcommand. Verify withnode scripts/x-social.mjs probe(printsconnected as @handle). Gotchas, in order:All four values must come from the same app and the same generation.
Regenerating the API Key/Secret invalidates the Access Token/Secret - so always regenerate the Access Token/Secret after the API Key/Secret, never before.
One wrong character yields
401 "Could not authenticate you"(code 32), which masquerades as an access-token problem. Copy the values from the portal; do not hand-type them.
OAuth 2.0 PKCE (browser). Create an OAuth 2.0 confidential client with callback
http://localhost:8087/callbackand scopestweet.read tweet.write users.read media.write offline.access, then runnode scripts/x-social.mjs auth. The access token lasts ~2h and the refresh token rotates; pendpost refreshes both automatically before each run.
See .env.example for the full list of environment variables per platform.
Brand-lint + humanizer
Captions run through a brand-lint pass before they can publish. The rule set lives in rules.json, which you edit directly. Each rule is an object with an id, a severity (error blocks, warn is advisory), a matcher (a regex or a platform-aware built-in like captionLength, hashtagCount, allCaps, brokenLink), and a hint. The shipped default also includes humanizer rules that flag English AI-writing tells (AI vocabulary, em dashes, negative parallelism, reflexive rule-of-three padding, filler and hedging, promotional puffery). To disable a rule, delete its object; to add one, append an object. A rules.json at your workspace root overrides the shipped default. brand_lint is both an MCP tool and the dashboard composer's lint panel.
Architecture
pendpost is one zero-dependency Node process (server.mjs) with four faces: a REST API at /api, an MCP server at /mcp (streamable-HTTP, JSON-RPC 2.0, 138 tools), a /media face that range-streams local files under data/, and /, which serves the built React dashboard from app/dist. Backend logic lives in lib/*.mjs. There are 14 publish engines in scripts/ - one per platform (meta-social.mjs handles Facebook and Instagram) - each spawned as a subprocess on a scheduler tick or on demand and each emitting a JSON envelope. Plans and state are local JSON. The workspace root holding .env, config.json, state.json, and data/ is overridable via PENDPOST_ROOT (default: the install dir).
Platforms
Instagram, Facebook, LinkedIn, YouTube, X, Telegram, Discord, Mastodon, Nostr, WordPress, and Ghost are live. Reddit, Pinterest, TikTok, and Google Business Profile are in beta. Each engine handles its own auth, publishing, native scheduling, cover/thumbnail mechanics, and read-only insights. YouTube, Mastodon, WordPress, and Ghost schedule natively, so those posts fire even when pendpost is off. Instagram, Facebook, LinkedIn, X, Telegram, Discord, and Nostr are published by pendpost itself at their scheduled time: by the scheduler on your computer, or by the optional 24/7 cloud service.
Security
pendpost binds 127.0.0.1 (loopback) by default, sends nothing home unless you turn on the anonymous install ping below, and keeps secrets only in your own .env (which is gitignored). See SECURITY.md for the full posture and how to report a vulnerability.
Privacy Policy
pendpost runs on your own machine and sends nothing to us (Nomadik GmbH) unless you turn on the anonymous install ping.
What it collects: only what you give it. Plans, drafts, media and activity history live in its local
data/folder, and your platform credentials live in your own.env.How it uses and stores data: everything stays on your machine. Content goes out only to the social platforms you connect, to publish the posts you approve.
Third parties: the MCP client you connect (for example Claude Desktop or Cursor) and its AI model provider see whatever your agent reads through pendpost's tools, under your own account and their terms. Radar reads public posts from the sources you turn on.
Anonymous install ping (off by default): if you switch it on in Settings, pendpost sends, at most once a week, a random install id made on your machine, the pendpost version and your OS, and nothing else. The receiving service stores only a SHA-256 hash of the id, the week, the version and the OS, and never your IP address. Switching it off deletes the id.
Retention: your data stays until you delete the folder; we hold no copy. The optional 24/7 cloud service keeps plans, encrypted tokens and audit records while you subscribe, and deletes any managed copy after a short safety window once you leave.
Contact: hello@pendpost.com
The full policy is at pendpost.com/privacy.
Shaping pendpost
pendpost is built in the open and we want your feedback. There are three ways in, and none of them make the app phone home:
Quick feedback or an idea: use the Share feedback link in the dashboard (it opens a prefilled GitHub page in your browser and never sends your
.envor any secret), post in Discussions, or use the feedback issue form.A bug or a feature request: open an issue and pick the matching form.
A deeper proposal (a new integration seam, a change to how the core works): open an RFC. See
docs/rfcs/README.md.
No account? A short feedback form on pendpost.com forwards into GitHub for you. See SUPPORT.md for where to get help and CONTRIBUTING.md for how feedback turns into issues and pull requests.
Status
pendpost is maintained part-time by a small team and is early. Expect rough edges, and set your response-time expectations accordingly.
Docs
The full reference lives at docs.pendpost.com. Marketing, pricing, and every download option live at pendpost.com.
License
MIT, Copyright 2026 Nomadik GmbH. See LICENSE. Please also read DISCLAIMER.md for the responsible-use posture and CONTRIBUTING.md before opening a pull request.
Available Tools
43 toolsaccount_statusARead-only
Connection health per platform (Meta/LinkedIn/YouTube): configured, authenticated, token expiry, Meta action-block state (block.tracked is false until a block was ever recorded), scheduler state. Token values are never returned. Read-only.
Inputs: clientId.
activity_logARead-only
The pendpost audit feed: every publish attempt, scheduler start/stop and circuit-breaker event, newest first ({ts, campaign, postId, platform, action, ok, errorCode, errorMessage, lateMin, actor}). Read-only.
Inputs: limit, clientId.
approve_postA
Approve a post for publishing (approval: approved). Required actor; the actor who created the post can NEVER approve it (no self-approval; only the actor "owner" is exempt as the approval authority). Per the standing rule, agents call this only on the owner's explicit instruction - approval always comes from the owner.
Inputs: actor (required), postId (required), campaign (required), note, +1 more.
assets_listARead-only
List publishable renders in data/media with ffprobe specs, spec checks (9x16/4x5, h264, faststart), cover JPEG, which plan posts use each file, and the matching voiceover caption SRTs (captions[] with srtPath/srtUrl) - the canonical source when drafting social copy. Read-only.
Inputs: clientId.
asset_uploadA
Ingest a new media file into data/media (the asset library). Provide filePath (a repo-local file to copy in) OR base64 bytes, plus the target filename. Refuses to overwrite an existing file and only accepts .mp4/.mov/.jpg/.png. The HTTP upload route in the pendpost UI uses the same implementation with a streamed binary body.
Inputs: actor (required), filename (required), base64, clientId, +1 more.
brand_lintARead-only
Lint caption/copy text against the editable brand rules in rules.json: platform hygiene (per-platform caption length cap, broken/empty links, ALL-CAPS shouting, hashtag-count sanity) plus a humanizer that flags AI-writing tells (AI-vocabulary, em-dash overuse, rule-of-three padding, negative parallelism, filler/hedging, promotional puffery). errors block publish; warns are advisory. Optional platform tunes the length + hashtag caps. Run over every caption before proposing it. Read-only.
Inputs: text (required), clientId, platform.
campaign_createA
Create a new campaign: writes data/plans//post-plan.json (empty posts) and registers it active in the manifest.
Inputs: id (required), actor (required), note, folder, +2 more.
campaign_set_activeA
Activate/deactivate a campaign in the manifest. Inactive campaigns are ignored by the scheduler tick (explicitly-targeted runs still reach them).
Inputs: id (required), actor (required), active (required), clientId.
clear_coverADestructive
Remove a post's cover override (deletes the override JPEG and the post.cover field; the render-sibling JPEG becomes the cover again).
Inputs: postId (required), campaign (required), clientId.
client_archiveADestructive
Toggle a client between active and archived (reversible). Owner-gated: requires actor:"owner" and confirm:true. Refuses to archive the currently active client (switch first). Never touches credentials.
Inputs: id (required), actor (required), confirm, clientId.
client_createA
Create a new client workspace (non-secret profile only: id slug, displayName, optional logo/accent/timezone). Owner-gated: requires actor:"owner" and confirm:true (fail-closed). Scaffolds data/clients//. Never touches credentials. Prefer per-call clientId on other tools over switching the active client.
Inputs: id (required), actor (required), displayName (required), logo, +4 more.
client_listARead-only
List the configured clients and the active one: { activeClientId, clients: [{ id, displayName, status, timezone?, accent?, logo?, schedulerRunning, actionBlocked }] }. schedulerRunning is the process-global scheduler flag (one timer for the whole server, identical on every entry); actionBlocked is the per-client Meta-368 breaker (booleans only - never the blockedUntil/reason/fbtrace). No secrets. Pass clientId on any other tool to scope that one call to a specific client without switching the active one. Creating/switching/archiving clients is an operator/dashboard action (REST only), deliberately not an agent tool. Read-only.
Inputs: no named parameters.
client_set_activeA
Switch the GLOBAL active client. Owner-gated: requires actor:"owner" and confirm:true. PREFER passing per-call clientId on other tools instead - this mutates global default state and is the core "posted to the wrong client" risk. The target must exist and be active. Never touches credentials.
Inputs: id (required), actor (required), confirm, clientId.
clients_overviewARead-only
Cross-client roll-up of pending/overdue work, scheduler state and the Meta-368 breaker, one row per registered client: { activeClientId, clients: [{ id, displayName, status, ready, schedulerRunning, pending, overdue, metaBlocked, nextDue, error }] }. pending counts due posts in the horizon (waiting-due + overdue), overdue counts the past-due subset, nextDue is the soonest due ISO timestamp (or null), metaBlocked is the per-client 368 breaker (booleans + counts only - never the blockedUntil/reason/fbtrace or any secret). A corrupt client subtree degrades to error (a manifest_error envelope) while every sibling still resolves - the roll-up never fails wholesale. STRICTLY read-only: it only READS metaBlocked, never auto-retries or pokes a blocked lane, and performs zero writes. It iterates the registry internally (no clientId arg), each client read inside its own scope. Read-only.
Inputs: horizon.
client_updateA
Update a client's non-secret profile (displayName/logo/accent/timezone); id is immutable. Owner-gated: requires actor:"owner" and confirm:true. Requires ifRev (echo the rev from client_list/GET /api/clients) for optimistic concurrency; a stale rev returns stale_write. Never touches credentials.
Inputs: id (required), actor (required), ifRev (required), logo, +5 more.
config_getARead-only
Read the pendpost configuration: non-secret per-platform identifiers (Meta page/IG/app id, LinkedIn org urn + api version, YouTube redirect uri), posting variables (defaultLink, utm, hashtagPresets, defaultTimezone), and per-secret presence/tail/expiry (never the token value). Returns a rev for optimistic concurrency. Read-only.
Inputs: clientId.
config_setA
Edit NON-SECRET config only: identifiers (written to .env via a whitelisted, hardened writer) and posting variables (config.json). Secrets are display-only and can NEVER be set here - rotate them via the engine CLI (node scripts/.mjs auth). Requires ifRev from config_get. set = { identifiers?: {...}, posting?: {...} }.
Inputs: set (required), actor (required), ifRev (required), clientId.
delete_assetADestructive
Delete one media file from data/media (the asset library), including its paired .jpg cover sibling. Confirm-gated + in-use-protected: if any plan post references the file it refuses with needs_confirm naming the using post(s) (campaign/postId) and deletes nothing unless confirm:true is passed (with confirm:true the plan rows are left dangling by design, mirroring plan_delete_post force). Rejects path segments / leading dots / a disallowed extension (invalid_input) before touching the disk; a missing file is invalid_input.
Inputs: file (required), actor (required), confirm, clientId.
fetch_insightsB
Fetch fresh platform metrics for published posts (spawns the engines' read-only insights commands: IG/FB Graph insights with defensive metric fallback, YouTube videos.list statistics, LinkedIn share statistics). Stores results in pendpost state; the scheduler also sweeps once per 24h. Read-only platform calls.
Inputs: campaign, clientId.
generate_digestARead-only
Render the performance digest (locale-aware markdown, rendered in the active client posting locale en or de-CH with locale-aware dates) from stored metrics + plan state: published posts of the last 7 days with per-platform metrics, all measured posts, queue/overdue/scheduler/account health, the next due posts. Honest about gaps ("no metrics yet"). Read-only.
Inputs: clientId.
health_recheckARead-only
Run a live liveness probe per platform and store the result in pendpost state (account_status..live). Each probe is a single read-only call that proves the credential actually authenticates (LinkedIn token introspection, YouTube channels.list, Meta GET me) - it can never publish. The Meta probe is skipped while a 368 block is recorded. Returns { ok, health }.
Inputs: clientId, platform.
mark_postedA
Mark a planned post as posted because the owner published it natively OUTSIDE pendpost (e.g. in the Meta/LinkedIn app). Sets status:posted so it leaves the publish-due queue; NEVER triggers a real publish and never mints a platform id. Optionally record the externalUrl of the live post.
Inputs: actor (required), postId (required), campaign (required), clientId, +1 more.
meta_lane_setA
Set the Meta (Facebook/Instagram) publishing lane: tune the anti-ban cadence cap and/or pause/resume the lane. Pass cadence:{maxPer24h,minGapMinutes} to set the cap (maxPer24h must be >=1 - the cap can never be disabled - minGapMinutes >=0, both integers); pass paused:true (with an optional reason) to STOP all Meta publishing or paused:false to resume. Cadence and pause/reason co-exist in one file, so a cadence-only call never unsets paused and vice-versa. Resuming the lane NEVER clears a recorded Meta-368 action block (clear that separately via pendpost_record_block once Meta confirms the lift). Note: when the env var META_PUBLISHING_PAUSED is set it OVERRIDES this file in both the dashboard and the engine, so a file write to paused has no effect while that env var is set. actor is required (for example owner or agent:claude) and is recorded in the activity feed.
Inputs: actor (required), paused, reason, cadence, +1 more.
pendpost_healthARead-only
One-call readiness check (SS-10): { ready, blockers[], schedulerRunning, nextDue[] } - global blockers (manifest, credentials, Meta block, scheduler off) plus per-post blockers for the next N due posts. Read-only.
Inputs: horizon, clientId.
pendpost_record_blockA
Record a Meta action block (error 368) so pendpost and the scheduler skip the Meta lane. A 368 carries no machine-readable clear time, so the block stays active until it is EXPLICITLY cleared: pass blockedUntil: null (source: "owner") to record "block cleared" once you have confirmed out of band that Meta lifted it. blockedUntil on a new block is only a recorded-at anchor, not an auto-expiry. Use immediately when any Meta publish fails with error code 368 - and never retry the publish.
Inputs: blockedUntil (required), actor, reason, source, +4 more.
plan_create_postA
Create a new post in a campaign - ALWAYS as a draft (approval can only be flipped by approve_post from a different actor). Required: campaign, actor, post.id, post.type (reel|story|video|text|youtube-short|youtube-longform), post.platforms. Optional: caption, firstComment, title, link (article URL for type=text LinkedIn posts), image (absolute http(s) Cloudinary hero URL - LinkedIn renders it as the article-card thumbnail for type=text posts), scheduledAt (ISO), file, path, executionMode, description (also the LinkedIn article-card description line), tags (comma-separated), blogSlug, audience. YouTube posts (platforms include "youtube") need a non-empty title + description (run platform_validate); description <=5000 chars, tags <=500 chars. type=text is a media-less LinkedIn text/article post (no file/path needed); set link + image + description for a fully-automated article card.
Inputs: post (required), actor (required), campaign (required), clientId.
plan_delete_postADestructive
Delete a post row from its plan. Refuses posts with publish evidence (posted / platform ids) unless force: true - deleting the row never removes anything from the platforms.
Inputs: actor (required), postId (required), campaign (required), force, +1 more.
plan_getARead-only
Get the full normalized posts of one campaign (captions, schedule, platforms, per-platform publish ids, media availability, approval, derived state). Optionally a single post via postId. Read-only.
Inputs: campaign (required), postId, clientId.
plan_listARead-only
List all social campaigns (plan files) with per-state post counts, the next due post, schedulerRunning and manifestError. Read-only.
Inputs: clientId.
plan_update_postA
Update owner-editable fields of a post (caption, firstComment, title, scheduledAt, platforms, type, file, path, executionMode, link, image, description, tags, blogSlug, audience - NEVER approval/cover/publish-result fields). For type=text LinkedIn posts, image is the absolute http(s) Cloudinary hero URL LinkedIn shows as the article-card thumbnail and description is the card description line. YouTube posts need a non-empty title + description (run platform_validate); description <=5000 chars, tags <=500 chars. Optimistic concurrency: pass ifRev from plan_get; a 409 stale_write means re-read, merge, retry once. Set a field to null to remove it.
Inputs: actor (required), ifRev (required), fields (required), postId (required), +2 more.
platform_validateARead-only
Per-platform readiness of one post: media present, caption length caps, credentials/auth, Meta action block, YouTube future-publishAt, approval state. Returns { platform: { ready, problems[] } }. Read-only.
Inputs: postId (required), campaign (required), clientId.
publish_due_runA
Run one publish-due sweep NOW (spawns the real engines for due, approved posts; optionally scoped to one campaign/post). This publishes REAL content - only call it on the owner's explicit instruction, and never while a Meta 368 block is active. Requires confirm: true.
Inputs: confirm (required), actor, postId, campaign, +1 more.
publish_previewARead-only
Read-only publish preview / dry-run (C3): for each due post in the horizon, reports which posts would fire, on which lanes, in which mode (mock|live), and with what blockers - { ok, ready, schedulerRunning, posts:[{campaign, postId, scheduledAt, platforms:[{platform, lane, mode, ready, blockers[]}]}] }. facebook + instagram both resolve to the meta lane (mode is resolveMode of the LANE, matching the engines/ModeBadge). It DESCRIBES readiness (approval!=approved, missing media, a recorded Meta-368 block) but NEVER publishes, NEVER spawns an engine, and NEVER writes - a 368 surfaces as a blocker and the preview still returns ok:true. Read-only.
Inputs: horizon, campaign, clientId.
reject_postA
Reject a post (approval: rejected) with an optional note explaining what to fix. Same actor rules as approve_post.
Inputs: actor (required), postId (required), campaign (required), note, +1 more.
rename_assetA
Rename one media file within data/media, renaming its paired .jpg cover sibling to match. sanitizeAssetName runs on BOTH names (rejects path segments / leading dots / bad charset / a disallowed extension); the extension may NOT change. Never overwrites: an existing toName is invalid_input. Confirm-gated + in-use-protected: renaming a file referenced by a plan post breaks that post's media reference, so it refuses with needs_confirm naming the using post(s) unless confirm:true (the plan rows are not auto-rewritten). A missing source is invalid_input.
Inputs: file (required), actor (required), toName (required), confirm, +1 more.
rescheduleA
Move a post to a new scheduledAt (ISO datetime). Waiting-due posts just change their due time; NATIVELY-scheduled posts have their platform object deleted and re-queue for the new time (confirm: true required).
Inputs: actor (required), postId (required), campaign (required), scheduledAt (required), +2 more.
scheduler_setA
Start or stop the in-process publish scheduler (60s tick over active campaigns; only approved + fully-scheduled posts publish). The setting persists across restarts.
Inputs: running (required), clientId.
set_coverA
Set a cover override for one post: extract a frame from the post's media (frameSec), or re-encode a repo-local image (filePath) or base64 bytes. Materializes data/plans//covers/.jpg and writes post.cover; returns a per-platform applicability map (what the engines can actually apply - IG frame-only at publish, FB Reels + YouTube at publish and post-hoc, LinkedIn upload-ceremony-only).
Inputs: postId (required), campaign (required), base64, clientId, +2 more.
token_refreshA
Refresh a platform token programmatically. linkedin and x are refreshable (each wraps its engine's refresh); Meta uses a long-lived page token and YouTube refreshes per call. On refresh-token expiry the hint carries the interactive re-auth command.
Inputs: platform (required), clientId.
unscheduleADestructive
Take a post off the schedule (executionMode: parked, so the scheduler ignores it). If the post is NATIVELY scheduled (FB scheduled post / YouTube publishAt video), the platform object is DELETED via the engine - that needs confirm: true.
Inputs: actor (required), postId (required), campaign (required), confirm, +1 more.
validate_mediaARead-only
Probe one post's local media file (ffprobe): resolution/codec/faststart/duration spec checks for 9:16 story / 4:5 feed. Read-only.
Inputs: postId (required), campaign (required), clientId.
verify_postB
Read a handed-off post back from its platforms to confirm it is actually live (turns the guessed fired-assumed state into verified-live or verify-failed). Pure read - spawns each engine's read-only verify subcommand and writes a non-destructive post.verify block; never publishes, never mints an id, never mutates status. Meta is read even while its lane is paused (a read is not a blocked action).
Inputs: actor (required), postId (required), campaign (required), clientId.
x_update_profileA
Edit the connected X (Twitter) profile (name, bio <=160, url, location, profile image, 1500x500 banner) via the v1.1 account/* endpoints (OAuth 1.0a). Account-level, not a post. This makes a REAL, immediate change to the live account - only call it on the owner's explicit instruction. Requires confirm: true to apply. probe: true runs a read-only access-tier check and changes nothing. image/banner are LOCAL file paths the engine reads under the client root. The engine refuses unless the authenticated handle matches the client's X_HANDLE (it never edits the wrong account).
Inputs: bio, url, name, actor, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 43 tools
Most tools have clearly distinct purposes, but a few could be confused (e.g., health_recheck vs pendpost_health both deal with health, and client_list vs clients_overview overlap in client information). Descriptions are detailed enough to disambiguate with care.
The majority follow a verb_noun pattern (e.g., approve_post, plan_create_post), but some use noun_noun (account_status, activity_log) or noun_verb (health_recheck). The pattern is mostly consistent but not uniform.
With 43 tools, the server is very large for a single MCP server. While each tool has a defined role, the count exceeds typical scope (3-15) and could lead to cognitive overload. A split into sub-servers might improve coherence.
The tool surface covers the full lifecycle of social media management: client management, campaign/post CRUD, asset management, publishing, scheduling, health checks, insights, and compliance. No obvious gaps are present for the stated domain.
Maintenance
Related MCP Connectors
PostHero MCP server — schedule and publish social media posts from any MCP-compatible AI tool
Create, schedule, and publish social posts, manage accounts, and read analytics as MCP tools.
Hosted MCP server for AI agents to post to LinkedIn profiles and X and upload to YouTube.
PerfectPost is a LinkedIn content management platform. This MCP server gives AI assistants read and write access to a user's PerfectPost account: published posts with their engagement analytics, drafts lifecycle (create / edit / schedule), and LinkedIn profile data.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for the Post for Me API, enabling publishing, scheduling, editing, deleting, and analyzing social media posts across 9 platforms from any MCP client.2763 npm1MIT
- AlicenseAqualityBmaintenanceMCP server for publishing to WordPress. 13 tools cover posts, categories, tags, image hosting, featured images, and SEO metadata (Rank Math, etc.) One call runs the full markdown-to-live-URL pipeline.134AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceA personal-use remote MCP server that lets you post to LinkedIn, queue/schedule drafts, and pull your own post analytics from Claude.18 npmMIT
- AlicenseAqualityBmaintenanceMCP server for TimeToPost that lets AI agents list accounts, schedule/publish/cancel posts, manage drafts and approvals, run AutoSEO, and read analytics via 32 tools.54MIT

