Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 773 Bytes

File metadata and controls

32 lines (24 loc) · 773 Bytes

OpenAI Codex CLI

OpenAI Codex CLI reads its config from ~/.codex/config.toml.

stdio

[[mcp_servers]]
name = "bridgent-hello"
command = "bridgent"
args = [
  "dev",
  "/abs/path/to/server.ts"
]

Reload Codex (/reload or restart) — add and echo show up in the tool list.

HTTP

[[mcp_servers]]
name = "bridgent-hello"
transport = "streamable-http"
url = "http://127.0.0.1:3333/mcp"

Troubleshooting

  • Codex doesn't see the server → check codex --version against the latest release; older builds might not yet support MCP
  • TOML parse error → make sure args is a string array, not a single string
  • See Codex CLI docs for the canonical config schema