FoPost for Codex
Register the FoPost MCP server with codex mcp add and Codex can draft, schedule, and verify posts across your connected accounts. Every tool call is shown for approval before it runs.
codex mcp add fopost --env FOPOST_API_KEY=your-api-key -- npx -y @fopost/mcpCLI or config
Use codex mcp add, or write the block into ~/.codex/config.toml by hand.
Approval first
Codex asks before running a tool. The server never publishes on its own.
14 tools
Posts, deliveries, accounts, workspaces, and AI rewriting.
Registered from the shell, ready in the next session
Create an API key in the FoPost dashboard and run the add command, or paste the TOML block. Start Codex and ask it to list accounts to confirm the server is reachable.
Set up Codex[mcp_servers.fopost]
command = "npx"
args = ["-y", "@fopost/mcp"]
[mcp_servers.fopost.env]
FOPOST_API_KEY = "your-api-key"Scoped key
Limit the key to the scopes Codex needs. Revoke any time.
Workspace per key
One key reaches one workspace, never another client’s.
Verify first
Ask for list_accounts before you trust it with a schedule.
Let the release announce itself
Codex has the diff and the commit log in context. Ask for a post per network and a time, and it drafts with rewrite_for_platforms, schedules with schedule_post, and prints the post ids.
Try it on your next release
rewrite_for_platforms
Per-network lengths and conventions from one draft.
repurpose_url
Turn the changelog page into a series of posts.
schedule_post
Named times or the next open queue slot.
Verify delivery from the same prompt
Ask whether the post landed. Codex reads deliveries per network, flags any account that needs a reconnect, and reports the remaining AI balance if you ask.
Get your API key> Did this morning's post go out everywhere?
Codex: list_post_deliveries → 3 of 3 delivered.
X, LinkedIn, Mastodon all live.list_posts
Recent posts with status, by account or label.
get_account_health
Which tokens are healthy and which need a reconnect.
get_ai_credits
Balance before a long repurposing run.
Codex questions, answered
How do I install it?
Will it post without asking?
Does it need Node?
Does it use my AI credits?
Can it read analytics?
Can I use it for several clients?
Run FoPost from Codex
Starting is free and the MCP server is included. Create a key, add the server, and schedule your first post from your agent.
Get your API key