Schedule social media posts from Codex
Connect Codex to Wavnil, then ask it in plain language to write posts, create visuals and schedule them on your channels. Everything it prepares lands in your Wavnil calendar.
Codex is OpenAI’s coding agent, available as a CLI, an IDE extension and an app. With Wavnil, it can write launch posts from your commits and schedule them.
How to connect Codex to Wavnil
- 1
Get your configuration
In Wavnil, open Settings > Developers and select Codex. Wavnil shows the configuration with your own URL already filled in.
- 2
Add Wavnil to Codex
Add this to ~/.codex/config.toml, then run codex mcp login wavnil:
[mcp_servers.wavnil] url = "<your-wavnil-mcp-url>"The configuration copied from Wavnil already contains your URL; this example shows where it goes.
- 3
Sign in to Wavnil
The first time Codex connects, it asks you to sign in to Wavnil and approve access. There is no API key to copy.
- 4
Ask for your first posts
Try one of the prompts below, or simply describe what you want to publish.
Other ways to connect Codex
You can also add the Wavnil skill, which drives the Wavnil CLI with your API key. It comes in handy for images and videos stored on your computer, which the CLI can upload:
npx skills add wavnilhub/wavnil-agentWhat Codex can do in Wavnil
- List your connected channels and client groups
- Write posts, then schedule them, save them as drafts or publish them right away
- Generate images and short videos for your posts
- Import an image or a video from a link into your media library
- Check what is scheduled between two dates
Prompts to try
- “Write 3 LinkedIn posts about our product launch and schedule them for Tuesday, Wednesday and Thursday at 9 a.m.”
- “What's scheduled on Instagram and TikTok next week?”
- “Create an image for our summer sale and post it on Facebook and X tomorrow at noon.”
Frequently asked questions
Do I need an API key to connect Codex?
No. Codex signs in to Wavnil with your account. If you prefer, Settings > Developers also gives you a configuration that uses your API key instead.
Which Wavnil plans include Codex?
All of them. The public API and the MCP server are included in every plan, from $24 a month, with a 7-day free trial.
Can Codex publish without my approval?
Codex creates, schedules or publishes posts when you ask it to. Everything it prepares appears in your Wavnil calendar, where you can edit, move or delete it before it goes out.
Can I connect more than one AI agent?
Yes. Connect as many agents as you like: they all work with the same Wavnil workspace, channels and calendar.
Other AI agents
Ready to get started?
Connect your channels and schedule your first post in minutes. Your first 7 days are free.