Context
During the documentation fixes in #232 (fixing #227), we updated prompts to clarify that the 1ES target uses mcp-servers: entries "mapped to service connections." However, this may itself be a legacy agency-era concept that no longer applies now that both targets use MCPG.
Question
The 1ES target has a service-connection: field on MCP configs (src/compile/types.rs:711) and the create prompt's Step 8 note says:
1ES target: Custom containerized MCPs are mapped to service connections.
With MCPG now handling all MCP routing on both targets, is this service connection mapping still used? Or is it a leftover from the pre-MCPG agency platform that should be removed?
Evidence
McpOptions.service_connection field exists in src/compile/types.rs:711-712
- No references to
service_connection found in src/compile/onees.rs (the 1ES compiler)
- No
1es.*mcp cross-references found in the compile module
- The 1ES template (
templates/1es-base.yml) would need to be checked for how MCPs are actually wired
Desired Outcome
- Confirm whether
service-connection: on MCP configs is still functional for the 1ES target
- If not: remove the field from
McpOptions, update docs/prompts, remove any dead code
- If yes: document how it interacts with MCPG and ensure the prompt guidance is accurate
Context
During the documentation fixes in #232 (fixing #227), we updated prompts to clarify that the 1ES target uses
mcp-servers:entries "mapped to service connections." However, this may itself be a legacy agency-era concept that no longer applies now that both targets use MCPG.Question
The 1ES target has a
service-connection:field on MCP configs (src/compile/types.rs:711) and the create prompt's Step 8 note says:With MCPG now handling all MCP routing on both targets, is this service connection mapping still used? Or is it a leftover from the pre-MCPG agency platform that should be removed?
Evidence
McpOptions.service_connectionfield exists insrc/compile/types.rs:711-712service_connectionfound insrc/compile/onees.rs(the 1ES compiler)1es.*mcpcross-references found in the compile moduletemplates/1es-base.yml) would need to be checked for how MCPs are actually wiredDesired Outcome
service-connection:on MCP configs is still functional for the 1ES targetMcpOptions, update docs/prompts, remove any dead code