Connect Codex
Codex CLI and the IDE extension read MCP configuration from ~/.codex/config.toml.
Set POYO_API_KEY before starting Codex, then add:
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.
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, pricing, execution, and task-waiting guidance. It complements MCP rather than replacing it. See PoYo Agent Skill.
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.