Skip to content

Schedule social media posts with Codex

Add Postelk to OpenAI Codex with one command and sign in from your browser. Codex can then schedule posts while it works on the rest of your project.

  • Two commands to connect
  • Sign in through your browser, no key in your shell history
  • Pairs with the REST API for scripts

Needs a paid Postelk plan. Setup steps last checked against OpenAI’s documentation on November 7, 2026.

Setup

How do I connect Postelk to Codex?

Codex connects to Postelk over HTTP and signs in through your browser.

1Connectabout a minute

Add Postelk to Codex

  1. Run the first command below to add the server.
  2. Run the second command: your browser opens, log in to Postelk and approve access.
  3. Ask Codex to list your accounts or schedule a post.
Terminal
codex mcp add postelk --url https://mcp.postelk.com/mcp
codex mcp login postelk

Prefer a config file? Add [mcp_servers.postelk] with url = "https://mcp.postelk.com/mcp" to ~/.codex/config.toml.

Menus change. If yours looks different, follow OpenAI’s Codex MCP documentation.

2Askruns in Postelk

Then ask Codex from your project

Once connected, Codex can call the Postelk tools from the session where it works on your code. Postelk’s servers publish scheduled posts on time, so nothing depends on your editor or terminal staying open.

What it can do

What can Codex do with Postelk?

Codex can schedule and publish posts, change them later and report back without leaving your project, through the Postelk tools it discovers when you connect.

Stay where you work

Ask Codex in the session where you ship. It calls Postelk for you, so there is no dashboard to open and no form to fill in.

Announce what you ship

Schedule the launch post when the feature merges: one post or several accounts at once, now or at a set time. Move or cancel it later from the same session.

Posts from your project

Point Codex at a changelog or a notes file and ask for posts. It writes the text and schedules each one through Postelk.

Results without switching tabs

Ask how the last posts did and get views, likes and comments back per account, right where you asked.

A version for each network

One request can carry a different text, first comment or time for each network, exactly as the Postelk composer does.

First comments

A request can include a first comment. Postelk posts it right after the post, on the networks that support one.

Ideas

What can you ask Codex to post?

Anything you would otherwise leave your editor for. Name the accounts and the time; Codex does the rest through Postelk.

Release

Announce the release

We just merged the new export feature. Write a short announcement and schedule it to LinkedIn and Threads for tomorrow at 10 AM.

Batch

Schedule from a file

posts.csv has a caption, a date and a video link on every line. Schedule each row to Instagram and TikTok.

Cleanup

Cancel outdated posts

List the scheduled posts that mention the old pricing and cancel them.

Queue

See what is queued

What is scheduled for the next seven days? Print it as a list with accounts and times.

Codex and Postelk: frequently asked questions

How do I add Postelk to Codex?

Run the first command from the setup steps above to add the server. Run the second command: your browser opens, log in to Postelk and approve access. Ask Codex to list your accounts or schedule a post. The Postelk MCP link is https://mcp.postelk.com/mcp.

Do I need a paid Codex plan?

OpenAI lists MCP support in Codex for Plus, Pro, Business and Enterprise accounts and for API-key use.

Can I add Postelk to Codex with a config file instead?

Yes. Add [mcp_servers.postelk] with url = "https://mcp.postelk.com/mcp" to ~/.codex/config.toml.

Can Codex upload a video file from my project?

Not through the MCP connector, which has no upload tool. Give Codex a public link to the file (a Google Drive or Dropbox share link works, up to 95 MB), or upload the file in Postelk first and ask Codex to use it from your library. The REST API also has an upload endpoint that a script can call with a Postelk API key. Text and schedules can come straight from your project.

Can Codex schedule a post that has no media?

Yes, on the networks that take text posts: Facebook, Threads, LinkedIn and Bluesky. Instagram, TikTok, YouTube and Pinterest always need a video or an image.

Does Codex need my social media passwords?

No. You connect your social accounts inside Postelk, through each platform’s own sign-in. Codex only talks to Postelk, with the access you approve.

Is this included in my Postelk plan?

Yes. The MCP server and the REST API are included in every paid Postelk plan. The same daily limits and checks apply as in the app.

Codex does not show the Postelk tools. What should I check?

Check that the server URL is exactly https://mcp.postelk.com/mcp, that you finished the Postelk sign-in, and that you approved access with the account that has your connected channels. Removing the connection and adding it again fixes most cases.

Plan the week. Fill every feed.

Schedule posts to every connected account from one calendar. Start with a 7-day free trial.

Start your free trial →