Skip to main content
OpenAI Codex is OpenAI’s CLI agent for software development. You can connect it to TryPost’s MCP server to manage your social media scheduling with natural language.

Prerequisites

  • Codex CLI installed (npm install -g @openai/codex)
  • A TryPost Cloud account with an active trial or subscription (start a 7-day free trial)

Setup

1

Open the configuration file

Edit ~/.codex/config.toml and add the TryPost server:
No Authorization header — Codex discovers OAuth from the URL.
2

Sign in via codex mcp login

Run the OAuth flow so Codex caches the token:
Codex opens your browser to TryPost; approve the request and return to the terminal.
3

Verify the connection

Start Codex and ask:
Codex uses TOML for configuration (not JSON). For sandboxed environments where the default callback port isn’t reachable, set mcp_oauth_callback_port or mcp_oauth_callback_url in config.toml.

Example prompts