Post to social media from Codex
Codex is OpenAI's coding agent. It runs as the Codex CLI in your terminal, as an IDE extension and inside the ChatGPT desktop app, and all three can use MCP servers.
Pick a platform
- Post to InstagramA video from your Kreatix library or a public link, posted as a Reel; Instagram takes no text-only post.
- Post to TikTokA video with your caption, shared with the privacy you choose; TikTok takes no text-only post.
- Post to YouTubeA video with a title, a description and the visibility you choose; YouTube takes no text-only post.
- Post to FacebookA video posted as a Reel on your Facebook Page, or a text-only Page post.
- Post to XA text-only post or a video with text, cut to X's 280-character count.
- Post to LinkedInA text-only post or a video with text, published publicly on your own LinkedIn profile.
- Post to PinterestA video pin with a cover picture, on one of your boards.
Connect Codex to Kreatix
Sign in with Kreatix
No key to copy: paste the address, sign in to Kreatix and press Allow.
- Run once in a terminal: codex mcp add kreatix --url https://api.kreatix.cc/mcp
- Run codex mcp login kreatix, sign in to Kreatix in the browser and press Allow.
- Start codex and type /mcp to check that kreatix is listed.
codex mcp add kreatix --url https://api.kreatix.cc/mcpWith a key
For setups without sign-in. The key works like a password, so keep it to yourself.
- In Kreatix, open Settings > AI agent and create a key. It is shown once.
- Add the [mcp_servers.kreatix] table from the snippet to the end of ~/.codex/config.toml.
- To keep the key out of the file instead, run export KREATIX_API_KEY=YOUR_KEY in your shell and then codex mcp add kreatix --url https://api.kreatix.cc/mcp --bearer-token-env-var KREATIX_API_KEY.
- Check with codex mcp list, or with /mcp inside codex.
[mcp_servers.kreatix]
url = "https://api.kreatix.cc/mcp"
http_headers = { "Authorization" = "Bearer YOUR_KEY" }Tips for Codex
- Add default_tools_approval_mode = "writes" to [mcp_servers.kreatix]. Codex then asks before schedule_post, reschedule_post and cancel_post, and runs the reading tools straight away.
- Set it up once: the Codex CLI, the IDE extension and Codex in the ChatGPT desktop app share ~/.codex/config.toml.
- In the IDE extension you can skip the terminal: gear menu > MCP servers > Add server, choose Streamable HTTP, enter the address, save, select Restart extension, then Authenticate.
- The agent checks the pages, caption and time with you before it posts. It cannot delete pages, read messages or change your account, and you can remove it any time in Settings > AI agent.
Questions
Can I sign in on a machine without a browser?
Yes. Run codex mcp login kreatix --no-browser, open the printed link on another device, sign in and press Allow, then paste the full redirect URL back into the terminal.
Does the config go in my home folder or the project?
~/.codex/config.toml works everywhere. A project's .codex/config.toml also works, but only in projects you trust.
Kreatix schedules one video to every page you run, each with its own platform settings.
Start free, then connect Codex