MCP · ChatGPT
ChatGPT
ChatGPT on the web only offers OAuth (or no auth) for custom MCP servers, so it cannot send an XBeast API key. The desktop app shares the Codex host config, which supports a bearer token from an environment variable. Add the entry below and XBeast’s tools show up in the app.
Included with paid plans60 tools · 8 groups · Draft-first by default
What the agent gets
60 tools in 8 groups
60 tools, one workspaceAccounts, presets, schedules, posts, generation, content, insights and billing — all reachable from the agent.
Same key, same creditsUse the API key and plan you already have. There is no separate MCP subscription or balance.
Drafts firstAnything the agent writes lands in XBeast as a draft. Review it, edit it, or let it fill the next scheduled slot.
Safe by defaultRead-only keys for observers. Full-access keys can publish, but create_post defaults to a draft.
Connect
Connect ChatGPT
Create an API key on the Developer page, then add the server to the Codex host config. The key comes from your environment, so the file itself never contains a secret.
ChatGPT on the web needs OAuth
The hosted connector cannot send a bearer API key, and XBeast does not offer MCP OAuth yet. Use the desktop app, or one of the other agents below, until OAuth ships.
- Create an API key under Developer API in your XBeast account.
- Add the entry below to
~/.codex/config.toml. The ChatGPT desktop app and Codex CLI share this file. - Export the raw key, restart the desktop app, then ask it to list your XBeast accounts.
The value is the raw key. The host adds the Bearer header itself.
The same entry also connects Codex CLI, since both read ~/.codex/config.toml.
Add to ~/.codex/config.toml
Export the key, then restart the app
The loop
Find, inspect, write, schedule
Four messages do the whole job. The tool names below are the ones the agent calls for you.
01
Find
Find what already exists
Ask for an account, preset or post in plain language. Read tools return real IDs, statuses and dates, and cost nothing.list_accountslist_presetslist_scheduleslist_posts
02
Inspect
Read before you spend
Check credits, audience growth and post performance before the agent writes anything.get_workspaceget_account_analytics_overviewlist_account_postsget_post
03
Write
Write in your voice
Generate from a preset, rewrite a hook, add media or save a draft.create_post defaults to a draft, so nothing ships by accident.generate_textbeast_mode_generateedit_post_with_aicreate_post
04
Schedule
Put it on the calendar
Move a slot, drop the post into the next queue slot or publish now — with the same rules as the dashboard.create_scheduleupdate_schedulequeue_postpublish_post
A real session
What it looks like when it runs
Real tool names; the values are illustrative.
Three prompts to try
Start with one of these
Summarize this month's growth and tell me the three posts I should write next.
Turn those ideas into drafts in my founder voice.
Schedule the strongest draft for Thursday 9:00 and queue the other two.
FAQ
Common questions
Also works with
Every tool, protocol version and header rule: MCP server docs. The REST API behind those tools: API overview.