
pendpost
io.github.pendpost由 GitHub 账号 pendpost 发布v2.12.0更新于 Nov 7, 2026
Local-first social MCP: an agent drafts and schedules posts; you approve before anything publishes.
概览
本地优先的社交媒体规划 MCP 服务器:智能体起草、检查并排期帖子,但未经人工批准不会发布任何内容。
- 可以做什么
- 读取和查看计划、账号状态、素材、活动日志、健康状态、发布预览与品牌检查结果
- 撰写和管理帖子与活动,包括创建、更新、删除和恢复草稿
- 通过人工审批环节批准或拒绝帖子,并设置、改期或取消排期
- 上传、重命名、设置或删除封面与媒体素材
- 获取平台数据洞察、刷新令牌、记录封禁并重新检查通道健康
- 管理配置与客户记录
- 适用场景
- 当你希望由 AI 智能体完成 Instagram、LinkedIn、X、YouTube、Mastodon、WordPress、Ghost 等平台上的社交与博客内容起草、检查与排期,同时保留发布前的人工审批时,适合使用。
- 运行要求
- 以 Node.js 本地进程运行,可通过 npx(stdio)或 git、Docker 启动;仪表盘仅在回环地址提供。起草和排期无需账号或注册。实际发布需在各平台创建开发者应用,并在本地 .env 文件或仪表盘 Setup 页面填入凭据。
安装
在 SourceWeft 中
- 打开 控制台中的 pendpost,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
pendpost
Agent-operated social media with a human approval gate.
[CI] [npm] [MCP Registry] [Glama] [License: MIT] [Node] [MCP native] [PRs welcome]
[pendpost: an AI agent drafts and schedules posts; a human approval gate decides what publishes]
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:
[The approval gate: an agent drafts, you approve by default, and only then does it publish]
- 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.
Quickstart
One line, no setup:
No account, no signup - pendpost runs locally and starts immediately. You can draft, approve, and schedule a full campaign right away; the first run ships an example "Acme Launch" campaign in data/plans, so you see real content at once. 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?
The 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.
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/. Both launch the same pinned npx pendpost@<version> --stdio server. Agents that install servers for you (for example Cline) can follow llms-install.md.
Any stdio MCP client:
Advanced / dev (HTTP transport): pendpost also serves MCP over streamable-HTTP at /mcp. This needs the server already running via npx pendpost:
AI-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:
Running 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, never phones home, 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).
- 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.
- 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: [email protected]
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.
来源:README.md,提交 fed44dc
工具
0版本历史
7- v2.11.0Nov 5, 2026
- v2.10.0Nov 3, 2026
- v2.9.0Oct 29, 2026
- v2.7.0Oct 14, 2026
- v2.6.1Sep 23, 2026
- v2.6.0Sep 19, 2026
- v2.3.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分