Skip to content

Issue on docs (MCP for codex doesn't work) #3052

@boxxxie

Description

@boxxxie

Path: /building-with-ai

Seems like the mcp config for codex is broken in some way. i'm not sure how, though.
I tried to install it for my project, but it would only write to the global config (maybe this is by design for codex)

i have the MCP working in gemini-cli fine.

.codex/config.toml

[mcp_servers.trigger]
command = "npx"
args = [ "trigger.dev@4.3.3", "mcp", "--dev-only" ]

codex log:

╭────────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.101.0)                         │
│                                                    │
│ model:     gpt-5.2-codex medium   /model to change │
│ directory: ~/projects/nvestiv-deals-workflow       │
╰────────────────────────────────────────────────────╯

  Tip: New Build faster with Codex.

⚠ MCP client for `trigger` timed out after 10 seconds. Add or adjust `startup_timeout_sec` in your config.toml:
  [mcp_servers.trigger]
  startup_timeout_sec = XX

⚠ MCP startup incomplete (failed: trigger)

• Model changed to gpt-5.2-codex medium

/mcp

🔌  MCP Tools

  • No MCP tools available.

  • trigger
    • Status: enabled
    • Auth: Unsupported
    • Command: npx trigger.dev@4.3.3 mcp --dev-only
    • Tools: (none)
    • Resources: (none)
    • Resource templates: (none)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions