Skip to content
Post from Grok Bot, Muse, Claude, ChatGPT and more
Codex + PostQueen

Run your social media from Codex.

  • Add PostQueen with one command
  • Plan a week of posts without leaving your editor
  • Runs in the Codex CLI, your IDE or the desktop app

Every post waits on your calendar first. Checked on September 25, 2026.

Setup

Connect Codex in about a minute.

1Connectabout a minute

Run this in your terminal

One command adds PostQueen’s tools to Codex.

terminal
codex mcp add postqueen \
  --url https://api.postqueen.ai/mcp/YOUR_API_KEY

Run codex mcp list, or /mcp inside Codex, to check it.

2Asklive in PostQueen

Ask Codex to post for you

Once connected, Codex calls PostQueen’s tools. Posts go out at the time you set, even after you close the chat.

Also try
  • List my PostQueen channels
  • What is scheduled this week?
  • How did last month’s posts do?
  1. In PostQueen, open Connections, then API Keys, and copy your key. Only workspace admins can see it.
  2. Run the command from the box.
  3. Run codex mcp list (or /mcp inside Codex) to check it. In the IDE extension: gear menu > MCP servers > Add server > Streamable HTTP, paste the URL, save and choose Restart extension. In the ChatGPT desktop app: Settings > MCP servers > Add server, then Restart.

Good to know

  • Prefer MCP over the PostQueen CLI in Codex: the default workspace-write sandbox has network access off, so every CLI call asks for approval and unattended runs fail.
  • To keep the key out of the file: codex mcp add postqueen --url https://api.postqueen.ai/mcp --bearer-token-env-var POSTQUEEN_API_KEY.
  • Prefer to sign in? Use https://api.postqueen.ai/mcp-oauth-dynamic as the URL. Codex opens the PostQueen sign-in, which a workspace admin approves.

One message, every channel. Your calendar first.

Codex writes the posts. PostQueen puts each one on your calendar, where you can change anything, and publishes it at its time on every network you connected.

You ask

Codex

Write five TikTok hooks for our app and turn the best two into slideshows for this week

It lands on your calendar

And 19 more, including Mastodon, Telegram, WordPress and Google Business.

See all 30+ networks
Ideas by who you are

What can you ask Codex to post?

A single post, a thread, a week of content or a post with a generated image. Ask the way you would ask a teammate.

  • Cross-postXThreadsLinkedIn

    One idea, three networks

    “Turn this idea into an X thread, a Threads post and a LinkedIn post, each written for its network, for tomorrow at 9am as drafts: [idea]”

  • CarouselInstagram

    An Instagram carousel

    “Make five square images for an Instagram carousel about [topic], one tip per slide, and save it as a draft for Friday at 6pm.”

  • AnalyticsInstagramTikTokX

    More of what worked

    “Which of my posts from the last 30 days got the most engagement? Draft three more in the same style for next week.”

Compare

How Codex compares to other AI agents.

Every agent here connects to the same PostQueen account and gets the same tools. What changes is how you connect it and where it runs. Pick a row to open that agent’s setup.

How each AI agent connects to PostQueen, where it runs, how it signs in, and whether it has an upload panel and AI images and video
AgentHow you connectWhere it runsSign-inUploadsImages, video
Grok BotNEWAsk the Bot in chat to connect PostQueen, then paste your key in its secure card. Marketplace plugin soonKeyUpload panel
MuseNEWAsk Muse in chat to build a custom connector, then paste your key in its secure promptKeyUpload panel
OpenClawPostQueen skill and CLI on your gateway, or MCP with a headerKey or sign-inUpload panel
Hermes AgentOne mcp_servers entry in ~/.hermes/config.yamlKey or sign-inUpload panel
ClaudeCustom connector under Customize > ConnectorsSign-in or keyUpload panel
ChatGPTDeveloper mode app at chatgpt.com/pluginsSign-in or keyUpload panel
Claude CoworkThe same custom connector as Claude, on in a Cowork taskSign-in or keyUpload panel
GrokCustom connector at grok.com/connectorsKeyUpload panel
Perplexity ComputerCustom remote connector in Perplexity settingsKeyUpload panel
NanoClawThree commands: key in the OneCLI vault, server in your agent groupKeyUpload panel
Claude CodeOne command: claude mcp addKey or sign-inUpload panel
CodexOne command: codex mcp addKey or sign-inUpload panel
CursorOne entry in mcp.jsonKey or sign-inUpload panel
Gemini CLIOne command: gemini mcp addKeyUpload panel
Grok BuildOne command: grok mcp addKey or sign-inUpload panel
PaperclipApps > Connect your own MCP serverKey or sign-inUpload panel
Other MCP appsVS Code, Devin Desktop, Zed, Muse Code and more: one entry with the MCP addressKey or sign-inUpload panel

Sign-in means PostQueen’s sign-in page approves the agent, and an API key goes in the address or a header. The upload panel lets you add files from your device in the chat. Every agent can make AI images and video through PostQueen.

Ways to connect

Pick how Codex signs in.

Ways to connect Codex to PostQueen
RouteHow it signs inAPI key neededBest for
Key in the addresshttps://api.postqueen.ai/mcp/YOUR_API_KEYThe key is part of the address.YesThe quickest setup
Token from your environmenthttps://api.postqueen.ai/mcp--bearer-token-env-var POSTQUEEN_API_KEY reads the key when Codex starts.YesKeeping the key out of config.toml
Sign-inhttps://api.postqueen.ai/mcp-oauth-dynamicCodex opens the PostQueen sign-in, which a workspace admin approves.NoNot copying or storing a key

The sign-in address has 20 tools and the key address 21. Only workspace admins can approve a sign-in or see the key.

Run it on a schedule

Run Codex on a schedule.

Run codex exec from cron or CI. It reads the same config.toml, so the PostQueen tools come along.

Official docs(opens in a new tab)
Example
codex exec "Save three post ideas for our app as PostQueen drafts"

Scheduled runs act without you, so ask for drafts first and check them on your calendar.

Official docs(opens in a new tab)
If it does not work

If it does not work.

  • Every PostQueen CLI call asks for approval

    The default sandbox has network access off. Use the MCP server instead of the CLI.

  • The IDE extension does not see PostQueen

    Choose Restart extension after you add the server.

  • ChatGPT on the web does not see it

    It does not read Codex’s config. Add PostQueen to ChatGPT on its own.

  • The key is rejected

    Copy it again from Connections > API Keys. Only workspace admins see it.

Similar names

Is it the same as ChatGPT?

No. Each one is its own product with its own setup.

  • Codex

    This page

    Codex is OpenAI’s coding agent, available as a CLI, an IDE extension, in the ChatGPT desktop app and in the cloud.

  • ChatGPT is OpenAI’s AI assistant. You add PostQueen as a developer mode app from the Plugins page on the web.

Codex questions, answered.

Anything else? Write to support@postqueen.ai and a person answers.

Every ChatGPT plan includes Codex: Free and Go (in the desktop app, as it rolls out), Plus, Pro, Business, Enterprise and Edu. Weekly limits may apply. On the PostQueen side, every plan includes MCP.

Anything else? Write to support@postqueen.ai and a person answers.

Your agent, your channels

Hand your socials to Codex.

Get your time back. Every post still lands on your calendar first.

Start 7-day trial for $0$0 due today. Cancel in one click.