Skip to content

Commit ffe3704

Browse files
lpcoxCopilot
andcommitted
fix: inject MCP gateway connection into Codex config.toml
The compiled config.toml had backend MCP server definitions (container=, guard-policies, entrypointArgs) in mcpg gateway format that Codex doesn't understand. Codex expects 'command'+'args' (stdio) or 'url' (HTTP/SSE) fields. This caused dynamic_tool_count=0 at startup — Codex had zero MCP tools available. Fix: Before running Codex, rewrite config.toml to replace the backend server definitions with a single gateway SSE entry pointing to the already-running MCP gateway at host.docker.internal:$MCP_GATEWAY_PORT. This gives Codex access to all 31 aggregated tools (playwright, safeoutputs, etc.) through the gateway. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6afe537 commit ffe3704

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/smoke-codex.lock.yml

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)