Skip to main content

Connect Codex

Codex CLI and the IDE extension read MCP configuration from ~/.codex/config.toml. Set POYO_API_KEY before starting Codex, then add:
export POYO_API_KEY=... or $env:POYO_API_KEY=... applies only to the current terminal session. The Codex app and IDE extension do not see it unless they are started from that session or the variable is set at the system or user level.
Start a new Codex session after saving.
Keep the API key in the environment. Do not put it in the URL or commit it to project configuration.

Add typed tools

Use a filtered URL when a task benefits from model-specific schemas:
See Choose MCP tools for filter behavior and limits.

Add workflow guidance

The poyo-ai-models Agent Skill adds model selection, execution, and task-waiting guidance. It works with MCP or the CLI. To use Codex without MCP, follow the Quickstart with --agent codex.

Verify

Ask Codex: Use PoYo to check my account, find an image model, inspect its schema and price, and explain how you would run it.