Post to Instagram from Codex

Attach PostWharf to Codex once, then publish or schedule Instagram feed posts, reels and carousels by asking for them — and get a receipt saying what actually landed.

Connect it

Point the connector at the hosted server and the tools appear alongside the rest. One workspace key scopes every call to a single brand, so Codex can only ever reach the accounts in that workspace — not every account you run.

# Point the connector at:
https://mcp.postwharf.com/mcp
# with the header:
Authorization: Bearer YOUR_WORKSPACE_KEY

Ask for an Instagram post

Once the server is attached the ask is a prompt, not a form — alongside whatever else the agent has been asked to finish:

"Draft three caption options for this reel and queue the best one for Tuesday at 11am."

Codex finds your connected Instagram channel, checks the text against the 2,200-character ceiling before anything is queued, and hands back the queued time. Nothing publishes because a model decided it should.

Treat the post as the last step of a task rather than a task of its own. The agent already knows what it just did, which is most of what the announcement needs to say.

What Instagram accepts

Character limit2,200
Counted onthe caption
Formatsfeed posts, reels and carousels

Requires a Business or Creator account linked to a Facebook Page. Personal accounts cannot be posted to programmatically by any tool.

What comes back

Every post carries a delivery receipt per channel: the state, the live URL once it is out, and the platform's own reason if it failed. Deliveries are re-checked after publishing, so an Instagram post removed later stops reporting as live instead of sitting in your history as a success. Ask Codex for the status and it reads that receipt back rather than guessing.

Questions

Can Codex post to Instagram automatically?

Yes. Connect the PostWharf MCP server to Codex and it can publish or schedule to a connected Instagram channel, then read the delivery receipt back. The workspace key limits it to the accounts in one workspace, and you keep the approval step.

What do I need before Instagram will work?

Requires a Business or Creator account linked to a Facebook Page. Personal accounts cannot be posted to programmatically by any tool. Once the channel is connected in PostWharf, Codex reaches it the same way it reaches every other network.

How long can a Instagram post be?

2,200 characters, counted on the caption. PostWharf checks that before the post is queued, so an over-length post is refused immediately rather than failing at Instagram after everything else in the same batch has already published.