Codex
Add PostChamp to Codex with one command or a config file entry.
Add PostChamp to Codex with one command or a config file entry. The connection URL is the same for every client:
https://api.postchampai.com/api/v1/mcp
https://api.postchampai.com/api/v1/mcpcodex mcp --help to see the ones your version has.Before you start
- Codex CLI, the IDE extension or the ChatGPT desktop app. They share one configuration.
- A PostChamp account on a plan that includes assistants, with the owner or admin role in the workspace you want to share. See Authentication.
Connect Codex
Add the server with the first command below.
Sign in: run
codex mcp login postchamp. On a machine with no browser add--no-browser, open the printed URL elsewhere, then paste the full redirect URL back into the terminal.Approve in the browser: sign in to PostChamp and choose the workspaces to share.
Or edit
~/.codex/config.tomlyourself. OAuth is the default sign-in mode, so the table below is enough. A trusted project can use.codex/config.tomlinstead.
Command line
codex mcp add postchamp --url https://api.postchampai.com/api/v1/mcp
codex mcp login postchamp
codex mcp list
codex mcp add postchamp --url https://api.postchampai.com/api/v1/mcp
codex mcp login postchamp
codex mcp listConfiguration file
Add this to ~/.codex/config.toml:
[mcp_servers .postchamp ]
url = "https://api.postchampai.com/api/v1/mcp"
enabled = true
[mcp_servers.postchamp]
url = "https://api.postchampai.com/api/v1/mcp"
enabled = trueCheck the connection
Ask:
Use PostChamp to list my workspaces.
Use PostChamp to list my workspaces.This reads your workspaces, costs nothing and changes nothing. Then try one of these:
- Plan next week: three posts, one on each of my main topics. Show me the plan before you schedule anything.
- Write a LinkedIn post about what I learned from my last client project, in my voice.
- Check my newest draft for filler and weak lines, then suggest fixes.
- How did my posts do over the last 30 days? What worked best?
Disconnect
- Sign out with
codex mcp logout postchamp, then remove the server withcodex mcp remove postchamp. Removing alone does not revoke the sign-in at PostChamp. - You can also disconnect in PostChamp: open Settings and choose Assistants.
Troubleshooting
You are not signed in. Run codex mcp login postchamp.
Use codex mcp login postchamp --no-browser and paste the redirect URL back.
Enterprise admins can restrict which MCP servers Codex may use. Ask your admin to allow it.
Only owners and admins of a workspace can connect an assistant to it, and the plan must include assistants. Sign in with an account that has that role. Check the account in Settings, Members.
FAQ
Saving a post that Codex wrote itself is free. Credits are used only when PostChamp does the AI work, such as writing a post or making an image.
In ~/.codex/config.toml, shared by the CLI, the IDE extension and the ChatGPT desktop app.
Related
- How sign-in, consent and revocation work.
- Every tool the assistant can call.