Skip to content

Investigate: 1ES target MCP service connection mapping — legacy artifact? #233

@jamesadevine

Description

@jamesadevine

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

  1. Confirm whether service-connection: on MCP configs is still functional for the 1ES target
  2. If not: remove the field from McpOptions, update docs/prompts, remove any dead code
  3. If yes: document how it interacts with MCPG and ensure the prompt guidance is accurate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions