posteverywhere
PostEverywhere
Manage a user's social media through the PostEverywhere CLI. Every command prints JSON.
If PostEverywhere MCP tools are available in this session, prefer them over the CLI —
they need no local install and no key handling. The workflow and the rules below are the
same either way; list_accounts maps to accounts, create_post to post, and so on.
Fall back to the CLI when the tools are absent, or when the user wants it run in a terminal
or in CI.
Setup (once)
Authenticate one of two ways:
- Interactive:
posteverywhere loginopens the browser; the user approves a short code and a scoped key is saved locally. Thenposteverywhere connect <platform>to add accounts (instagram, tiktok, youtube, linkedin, facebook, x, threads, pinterest = browser OAuth; bluesky/telegram/discord/wordpress = the CLI prompts for credentials). - Non-interactive (CI / headless agents):
export POSTEVERYWHERE_API_KEY=pe_live_...(from posteverywhere.ai → Settings → Developers).
To give a coding agent the PostEverywhere MCP tools instead, run posteverywhere connect (no platform). It adds the hosted server https://mcp.posteverywhere.ai to Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Cline and Zed, and the user signs in inside each agent. --dry-run shows the changes first; --remove undoes them.
Run commands with npx @posteverywhere/cli <command> (or posteverywhere <command> if installed).