Fix native MCP projection duplicating existing Codex server tables #133

Closed
opened 2026-07-30 07:49:52 +00:00 by coilyco-ops · 0 comments
Member

Problem

When Codex already has an MCP server table whose name is present in the canonical mcporter inventory, the first agent-compose projection appends a managed table with the same name. The resulting config contains duplicate TOML tables instead of updating the existing server definition.

Acceptance

  • Projection absorbs pre-existing Codex MCP tables for inventory-managed server names.
  • Canonical endpoint, command, arguments, environment, and approval policy replace stale values.
  • Unrelated Codex settings and unmanaged MCP server tables remain unchanged.
  • Repeated projection is idempotent.
  • Focused regression coverage includes quoted and bare server-table names.
## Problem When Codex already has an MCP server table whose name is present in the canonical mcporter inventory, the first agent-compose projection appends a managed table with the same name. The resulting config contains duplicate TOML tables instead of updating the existing server definition. ## Acceptance * Projection absorbs pre-existing Codex MCP tables for inventory-managed server names. * Canonical endpoint, command, arguments, environment, and approval policy replace stale values. * Unrelated Codex settings and unmanaged MCP server tables remain unchanged. * Repeated projection is idempotent. * Focused regression coverage includes quoted and bare server-table names.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agent-compose#133
No description provided.