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.
Connect Codex in about a minute.
Run this in your terminal
One command adds PostQueen’s tools to Codex.
codex mcp add postqueen \ --url https://api.postqueen.ai/mcp/YOUR_API_KEY
Run codex mcp list, or /mcp inside Codex, to check it.
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.
- List my PostQueen channels
- What is scheduled this week?
- How did last month’s posts do?
- In PostQueen, open Connections, then API Keys, and copy your key. Only workspace admins can see it.
- Run the command from the box.
- Run
codex mcp list(or/mcpinside 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-dynamicas 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
Write five TikTok hooks for our app and turn the best two into slideshows for this week
It lands on your calendar
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-post
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]”
- Carousel
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.”
- Analytics
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.”
- Content calendar
Plan the whole week
“Plan next week for [business] in [city]: one Instagram and Facebook post a day at 11am about [this week’s special], each with a realistic image, all as drafts.”
- Announcement
Closed for a day
“We are closed on [date]. Make a simple image that says so and draft a Google Business update and a Facebook post for [date] at 9am.”
- Weekly special
This week’s special
“Draft this week’s special for Instagram and Facebook from my notes, with an image, and save it for Monday at 8am: [notes]”
- Slideshow
A TikTok slideshow
“Make a six-slide TikTok slideshow about [feature] of [app], with a hook on the first slide, and save it for TikTok and Instagram on [day] at 6pm as drafts.”
- Video
A narrated slideshow
“Make a narrated vertical slideshow that explains [feature] in four slides and draft it for TikTok, Instagram and YouTube on Friday at 6pm.”
- Analytics
Learn from your best videos
“Rank my TikTok posts from the last 30 days by impressions and draft five new slideshows that open the same way.”
- Client plan
A week for one client
“For [client], plan next week: three Instagram posts with images and two Facebook posts about [topics]. Use only [client]’s channels and save them as drafts.”
- Overview
Who needs more posts?
“List what is scheduled next week for each client and tell me which one has fewer than three posts.”
- Report
A 30-day client summary
“For [client], sum up the last 30 days on each channel: posts sent, reactions, impressions and the three best posts, as a note I can send.”
- Demo video
A demo video
“Make an 8-second video that shows [product] doing [one job], and draft it for TikTok, Reels and Shorts on [day] at [time].”
- Launch
Launch day, every network
“We launch on [date] at [time UTC]. Draft posts for X, LinkedIn, Bluesky and Threads for that time, and a thank-you post a day later.”
- Visual post
Explain it in one image
“Make a minimalist image that shows how [product] works in one scene, and use it in a LinkedIn and an X post for Tuesday at 9am.”
- New article
Share today’s article
“I just published [article URL]. Here is the opening: [paste]. Write a post for X, Bluesky, Threads and LinkedIn that links to it, for tomorrow at 9am, as drafts.”
- Thread
An article as a thread
“Turn this article into a 5-part X thread with the link in the last part, for Wednesday at 8am: [paste article]”
- Header image
A header image and a post
“Make a header image for my post about [topic] and draft a LinkedIn post with it for Monday at 10am.”
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.
| Agent | How you connect | Where it runs | Sign-in | Uploads | Images, video |
|---|---|---|---|---|---|
| Ask the Bot in chat to connect PostQueen, then paste your key in its secure card. Marketplace plugin soon | Key | Upload panelNo | Yes | ||
| Ask Muse in chat to build a custom connector, then paste your key in its secure prompt | Key | Upload panelNo | Yes | ||
| PostQueen skill and CLI on your gateway, or MCP with a header | Key or sign-in | Upload panelNo | Yes | ||
| One mcp_servers entry in ~/.hermes/config.yaml | Key or sign-in | Upload panelNo | Yes | ||
| Custom connector under Customize > Connectors | Sign-in or key | Upload panelYes | Yes | ||
| Developer mode app at chatgpt.com/plugins | Sign-in or key | Upload panelYes | Yes | ||
| The same custom connector as Claude, on in a Cowork task | Sign-in or key | Upload panelYes | Yes | ||
| Custom connector at grok.com/connectors | Key | Upload panelNo | Yes | ||
| Custom remote connector in Perplexity settings | Key | Upload panelNo | Yes | ||
| Three commands: key in the OneCLI vault, server in your agent group | Key | Upload panelNo | Yes | ||
| One command: claude mcp add | Key or sign-in | Upload panelNo | Yes | ||
| One command: codex mcp add | Key or sign-in | Upload panelNo | Yes | ||
| One entry in mcp.json | Key or sign-in | Upload panelNo | Yes | ||
| One command: gemini mcp add | Key | Upload panelNo | Yes | ||
| One command: grok mcp add | Key or sign-in | Upload panelNo | Yes | ||
| Apps > Connect your own MCP server | Key or sign-in | Upload panelNo | Yes | ||
| VS Code, Devin Desktop, Zed, Muse Code and more: one entry with the MCP address | Key or sign-in | Upload panelNo | Yes |
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.
Pick how Codex signs in.
| Route | How it signs in | API key needed | Best for |
|---|---|---|---|
| Key in the addresshttps://api.postqueen.ai/mcp/YOUR_API_KEY | The key is part of the address. | Yes | The quickest setup |
| Token from your environmenthttps://api.postqueen.ai/mcp | --bearer-token-env-var POSTQUEEN_API_KEY reads the key when Codex starts. | Yes | Keeping the key out of config.toml |
| Sign-inhttps://api.postqueen.ai/mcp-oauth-dynamic | Codex opens the PostQueen sign-in, which a workspace admin approves. | No | Not 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 Codex on a schedule.
Run codex exec from cron or CI. It reads the same config.toml, so the PostQueen tools come along.
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.
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.
Is it the same as ChatGPT?
No. Each one is its own product with its own setup.
Codex
This pageCodex is OpenAI’s coding agent, available as a CLI, an IDE extension, in the ChatGPT desktop app and in the cloud.

ChatGPT
Open the guideChatGPT 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.
Anything else? Write to support@postqueen.ai and a person answers.
Hand your socials to Codex.
Get your time back. Every post still lands on your calendar first.