POSTDELEGATE × CODEX

Social media publishing
for Codex.

Create drafts, work with media and schedule posts through MCP. Keep your channels, calendar and approvals together in PostDelegate.

Public preview · Hosted connections are not open yet. Launch status
START WITH A CONNECTION

Bring your agent into the workflow.

Add the configuration to your Codex environment and supply the key securely. Follow the setup guide below for permissions and prerequisites.

MCP configuration · replace the placeholder
[mcp_servers.postdelegate]
url = "https://YOUR-WORKSPACE-HOST/api/v1/mcp"
bearer_token_env_var = "POSTDELEGATE_API_KEY"

Use the server address from your PostDelegate workspace.

01 / DRAFT

Turn a brief into a saved post.

Send content from your agent to the workspace. Review it before choosing when it goes live.

02 / SCHEDULE

Plan the next week of content.

Schedule prepared posts and check each channel’s result from the same workflow.

03 / OVERSEE

Keep the final say.

Choose which accounts your agent can use and keep required approvals in place.

WHAT TO ASK

Start with a real publishing task.

Your AI client prepares the content. PostDelegate handles the draft and scheduling workflow.

EXAMPLE REQUEST
“Create a draft from my launch notes. Use the LinkedIn account I choose and leave the post ready for review.”
list_accountscreate_draftget_post
Example workflow, not a recorded publishing result.
SETUP GUIDE

Connect Codex, step by step.

01Before you connect

These guides describe the implemented workspace protocols. Customer access and live platform publishing remain subject to launch availability. Use the endpoint from your own PostDelegate workspace, not the public marketing website. Examples use a placeholder origin.

02Configure an HTTP MCP server

Add the server below to your Codex config.toml. Replace the workspace hostname and make POSTDELEGATE_API_KEY available securely to the process running Codex. Your organization may manage these settings for you.

[mcp_servers.postdelegate]
url = "https://YOUR-WORKSPACE-HOST/api/v1/mcp"
bearer_token_env_var = "POSTDELEGATE_API_KEY"
03Start with restricted access

Issue a PostDelegate API key for the intended workspace and accounts. Grant create_posts, and add upload_media only when needed. Leave publish_directly disabled for a draft-only connection. Do not commit the token to config.toml, a repository or a prompt.

  • For a client using OAuth instead, follow its supported authorization flow. PostDelegate OAuth inherits the signed-in user’s authority.
  • An MCP endpoint must be reachable from the environment executing the connection. Remote environments cannot use your laptop’s loopback address.
  • No PostDelegate-specific Codex plugin, skill package or CLI installation is required by this protocol guide.
04Start with one draft

Use list_accounts to discover the connected accounts your client can access. If the list is empty, connect a supported account in the web workspace first.

List the accounts I can access and their capabilities. Ask which one to use. Turn my brief into one draft using create_draft. Do not schedule or publish. Return the post ID so I can review it in PostDelegate.
05Review, then schedule the same post

Complete required approval stages in the web workspace. Scheduling requires both create_posts and publish_directly. An approval requirement still applies when the actor has scheduling permission.

  • Use schedule_draft with the existing post_id and an ISO 8601 scheduled_at timestamp, including its timezone offset or Z for UTC.
  • schedule_post creates a new scheduled post. Do not use it as a substitute for scheduling an existing draft.
  • Use get_post to inspect per-channel results. Scheduled means queued, not published.
  • If the social platform’s outcome is uncertain, review the account before making another publishing attempt.
06Verify the result, not just the tool call

Have Codex return the post ID, selected account and draft status. Check that draft in the web workspace before enabling scheduling. A successful connector configuration does not establish that platform permissions or live publishing have been qualified for this deployment.

Create one draft for the account I select. Return its post ID and account. Do not schedule or publish. If the create response is uncertain, stop and tell me to check the workspace before retrying.

Your agent does the legwork.
Your workspace keeps it organized.

Explore the app, review the connection steps and start with a draft.

View launch status ↗More agent guides →