MCP servers · Instagram · MCP server
Connect Codex CLI to Instagram
One line gives Codex CLI your Instagram account as tools: 10 endpoints, media, comments, insights, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Instagram. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "List media in Instagram".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Instagram
Media · Create and manage media posts4
List media
GET /{igUserId}/mediaGet a media
GET /{mediaId}Create a media container
POST /{igUserId}/mediaPublish a media
POST /{igUserId}/media_publishComments · Moderate comments3
List comments
GET /{mediaId}/commentsReply a to comment
POST /{commentId}/repliesDelete a comment
DELETE /{commentId}Insights · View account and media insights1
Get insights
GET /{igUserId}/insightsStories · List active stories1
List stories
GET /{igUserId}/storiesMore · Everything else this app exposes.1
Get a profile
GET /{igUserId}Instagram in other AI clients
Claude Code + InstagramMCP server + skillClaude (desktop & claude.ai) + InstagramconnectorChatGPT + Instagramconnector · GPT actionGemini CLI + InstagramMCP serverCursor + InstagramMCP serverVS Code (Copilot) + InstagramMCP serverWindsurf + InstagramMCP server
