SponsorHoxiHoxiHit 429? Hot-swap Codex/Claude mid-session, zero context lost. Native Go · Worktrees · BYOK.MINI GAME🎮Tibo 2048Merge tokens to unlock a 2048 Full Reset.
TiboSay (@thsottiaux)🎉
TiboSay$ npx tibosay

186 here now·Wed 4:55 AM PT

config.tomlQuota CalcErrors FixPlaybooks CLI/API
← Back to Reset Tracker
🧮 Quota & Tier Calculator🛠️ Error Dictionary
⚙️ ~/.codex/config.toml · SCHEMA 0.171+

OpenAI Codex config.toml Builder & Claude .mcp.json to TOML Converter

Convert Claude Code or Cursor .mcp.json files into valid OpenAI Codex [mcp_servers] TOML in one click, extract secrets into safe env_vars, and lint retired startup-breaking keys.

📥 Paste .mcp.json / Cursor MCP JSON.mcp.json / claude_desktop_config.json
📤 Valid Codex TOML Output (3)
#:schema https://developers.openai.com/codex/config-schema.json

# Generated by TiboSay (.mcp.json -> OpenAI Codex ~/.codex/config.toml)

[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]

[mcp_servers.github-remote]
url = "https://api.githubcopilot.com/mcp/"
bearer_token_env_var = "GITHUB_REMOTE_BEARER_TOKEN"

[mcp_servers.postgres-local]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-postgres"]
cwd = "/workspace/backend"
env_vars = ["DATABASE_URL"]
env = { PGSSLMODE = "require" }
🔐 Extracted secrets — add these exports to ~/.zshrc or ~/.bashrc:
export GITHUB_REMOTE_BEARER_TOKEN="ghp_replace_with_env_token_123456"
export DATABASE_URL="postgresql://app:secret_pw@localhost:5432/prod_db"
  • [github-remote] Extracted hardcoded Bearer token into bearer_token_env_var = "GITHUB_REMOTE_BEARER_TOKEN".
  • [postgres-local] Moved secret "DATABASE_URL" to env_vars = ["DATABASE_URL"] so config.toml stays safe to commit.

Codex config.toml & MCP Configuration FAQ

Where is OpenAI Codex config.toml located on macOS, Linux, and WSL2?

User-wide settings live at ~/.codex/config.toml (or $CODEX_HOME/config.toml). Project-specific overrides live at .codex/config.toml inside your repository root, which Codex loads only after the project is marked trusted.

How do I convert Claude Code or Cursor .mcp.json to Codex config.toml?

Codex replaces JSON "mcpServers" with TOML [mcp_servers.<id>] tables: STDIO servers use command, args, cwd, and env_vars, while Streamable HTTP servers use url, bearer_token_env_var, http_headers, or auth = "oauth".

Can OpenAI Codex read my existing CLAUDE.md or .cursorrules file automatically?

Yes. Set project_doc_fallback_filenames = ["CLAUDE.md", ".cursorrules"] and project_doc_max_bytes = 65536 in ~/.codex/config.toml so Codex falls back to your existing repo instructions whenever AGENTS.md is absent.

📚 Official Specs: OpenAI Codex config.toml Reference ↗ · AGENTS.md Discovery Guide ↗ · Playbooks

Powered by @thsottiaux X telemetry & AI classification. Not affiliated with OpenAI.

Tibo, no pressure (try `npx tibosay`).

Want the raw data? Free public CLI (`npx tibosay`), OpenAPI (`/api/codex/v1/status`), Markdown (`/api/codex/markdown`), and Terminal ANSI (`/api/codex/ansi`).

v1.0.36·Changelog →
config.toml·Quota Calc·Errors Fix·Playbooks· 28d ·Support & FAQ·Privacy Policy·Terms of Service
SponsorGoPanelGoPanelStop babysitting Nginx. Self-hosted Go panel: rootless Docker, auto-HTTPS, CI/CD & mobile ops.