Skip to content

[codex] remove root MCP aggregate endpoint#70

Merged
hunner merged 1 commit into
mainfrom
codex/remove-root-mcp-aggregate
Jun 12, 2026
Merged

[codex] remove root MCP aggregate endpoint#70
hunner merged 1 commit into
mainfrom
codex/remove-root-mcp-aggregate

Conversation

@hunner

@hunner hunner commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove support for connecting to the Atryum root MCP endpoint without a server name. Agents must connect to /mcp/{server} so tool listing, routing, and policy annotation always have an explicit upstream context.

Changes

  • Return 404 for exact /mcp and trailing-slash /mcp/ instead of redirecting or serving aggregate MCP behavior.
  • Remove aggregate tools/list and no-server tools/call routing from the MCP handler and invocation service interface.
  • Update the fake agent helper so an empty MCP server name is rejected instead of targeting aggregate /mcp/.
  • Add regression coverage for root MCP paths.

Validation

  • go test ./...
  • git diff --check

@hunner hunner force-pushed the codex/remove-root-mcp-aggregate branch from 98f977a to 81f7ba3 Compare June 12, 2026 19:42
@hunner hunner marked this pull request as ready for review June 12, 2026 19:43
@hunner hunner merged commit 4e604bf into main Jun 12, 2026
3 checks passed
@hunner hunner deleted the codex/remove-root-mcp-aggregate branch June 12, 2026 19:43
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