Skip to content

Add Codex agent configuration support#63

Merged
ozzafar merged 1 commit intomicrosoft:mainfrom
rayenchtioui:codex/add-codex-support
May 3, 2026
Merged

Add Codex agent configuration support#63
ozzafar merged 1 commit intomicrosoft:mainfrom
rayenchtioui:codex/add-codex-support

Conversation

@rayenchtioui
Copy link
Copy Markdown
Contributor

Summary

Adds Codex as a first-class DebugMCP agent configuration target.

DebugMCP already exposes a Streamable HTTP MCP endpoint at /mcp; this change lets the extension configure Codex automatically by writing the matching MCP server entry to Codex's config.toml.

Changes

  • Adds Codex to the agent setup flow
  • Writes DebugMCP configuration to ~/.codex/config.toml, or ${CODEX_HOME}/config.toml when CODEX_HOME is set
  • Preserves existing Codex TOML content while upserting [mcp_servers.debugmcp]
  • Migrates an existing DebugMCP /sse Codex URL to /mcp
  • Documents Codex setup in the README and architecture notes
  • Adds focused tests for Codex TOML upsert behavior

Validation

  • npm run compile
  • npm run lint
  • npm test - 13 passing
  • Manually verified the extension setup flow writes the Codex MCP config and Codex recognizes debugmcp as a streamable_http MCP server

@rayenchtioui
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@ozzafar ozzafar merged commit dba1de2 into microsoft:main May 3, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants