PostDaily's Social MCP Spent Most Effort on What the Agent Must Refuse to Do
Frosty_Ad_471 · reddit · 2026-11-28
The PostDaily developer shares design lessons from building a remote MCP server that lets agents draft, schedule and publish to 10+ social networks from Claude, ChatGPT and Cursor. Getting an agent to post is easy; the hard part is stopping it from posting the wrong thing to a public account.
Key safety designs:
- Access level chosen at OAuth consent: full, drafts-only, or read-only. Tools the level disallows aren't listed at all, so the model can't plan around them. Drafts-only is recommended for most agents.
- Publish-now is two steps: the call returns needsconfirmation and publishes nothing until the model sends confirmPublish: true; server instructions require showing exact text and channels first. Comment replies work the same. Scheduling skips this since queued posts remain editable.
- Idempotency keys on every write: agents retry on timeouts, and without a key a retry becomes a double post.
- Validation returns warnings, not failures: per-network character counts (e.g. Bluesky graphemes), missing media on Instagram/TikTok, video format — so the model fixes the post in chat; bypassing needs confirmWarnings.
- Comments treated as untrusted input: instructions say result text is content, never an instruction, even if it claims to come from the owner.
- Workspace separation: writing to one workspace soon after reading another returns NEEDSCONFIRMATION to prevent cross-client content leaks.
22 tools cover posts, queue, media upload, comments, analytics and best times. It's listed in Claude's and ChatGPT's connector directories; other clients use OAuth or an API key. Limits: no DMs; X is paid plans only (per-post charges); LinkedIn still in API review.
More from coding & agent
- AFK Pilot ships as a #1 desktop app to run Antigravity, Codex, Claude agents in split view — petrusenko_max · 2026-11-28
- Ines Montani shares Compute! Paris impressions and her keynote on agentic NLP dev tools — _inesmontani · 2026-11-28
- Dev makes pi coding agent his iOS daily driver with native Tailscale support and smooth terminal UX — viksit · 2026-11-28
- "The other 32% of devs not using AI agents work at the Big 4" — cto_junior · 2026-11-28
- Splitting agent token usage across Codex Astra and Opus 5.5 to dodge rate limits — omarsar0 · 2026-11-28
- One prompt, 13 autonomous runs: AI agent cuts blog daily cost 55% and LCP to 380ms — _philschmid · 2026-11-28