Codex CLI works in your terminal against your code. Add SchedPilot and the output of a session can become a scheduled post rather than something you summarise later from memory.
In SchedPilot, open API Access and generate a key. It starts with smm_.
Drop the configuration below into Codex CLI, using your key.
Restart Codex CLI and ask it to list your connected accounts.
{
"mcpServers": {
"schedpilot": {
"command": "npx",
"args": ["-y", "schedpilot-mcp"],
"env": { "SCHEDPILOT_TOKEN": "smm_your_key" }
}
}
}
Replace smm_your_key with the key from API Access in your SchedPilot account.
Rate limits are 150 read and 100 write requests per hour, per user. Scheduling a post with media costs two writes.
Write-ups get skipped because they happen after the interesting part is over. Doing it in the same session, with the agent that has the context, is the only version that reliably happens.
Things that work well once Codex CLI is connected.
Treat anything scheduled from an automated session as a draft. The approval step in your calendar is what keeps unattended runs safe.
There is a setup guide for every agent we support, plus a REST API for anything that is not on the list.
See all agentsFree to start, and every post waits for your approval.
Start for freeSchedule posts, find your best time to publish, and keep your calendar full — without the chaos. SchedPilot makes consistency simple across every channel.
Start for freeFree trial available. Cancel anytime.