Add proposal for operator registry integration via Gateway API #2591
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This proposal enables automatic MCP registry population based on Gateway API resources, making it easy for administrators to expose and discover MCP servers.
Summary
The operator will watch Gateway API HTTPRoute resources (annotated with
toolhive.stacklok.dev/registry-export: "true") to discover which MCP servers are externally accessible. It constructs the full endpoint URL by traversing to the parent Gateway resource and creates registry entries in the upstream MCP Registry format.Key Features
registry-exportannotation are discoveredTwo Discovery Methods
Annotations
Discovery control:
toolhive.stacklok.dev/registry-export: Enable discoverytoolhive.stacklok.dev/registry-url: Direct URL (fallback)toolhive.stacklok.dev/registry-name: Override entry nameMetadata:
toolhive.stacklok.dev/registry-tier: "Official" | "Community" | "Partner"toolhive.stacklok.dev/registry-tools: Comma-separated tool namestoolhive.stacklok.dev/registry-tags: Comma-separated tagstoolhive.stacklok.dev/registry-description: Human-readable descriptionDesign Decisions
Implementation Phases
🤖 Generated with Claude Code