An HTTPRoute that points to a backend MCP server. The controller discovers the backend service from this HTTPRoute and configures the broker to federate its tools
prefix
String
No
Prefix added to all federated tools from referenced servers. Avoids naming conflicts when aggregating tools from multiple sources (e.g. server1_search and server2_search). Must match ^[a-z0-9][a-z0-9_]*$. Immutable once set
path
String
No
URL path where the MCP server endpoint is exposed. Default: /mcp
Reference to a Secret containing static authentication credentials used exclusively by the broker for tool discovery and session management. Never injected into client tools/call requests. The Secret must have the label mcp.kuadrant.io/secret=true. Mutually exclusive with oauth2ClientCredentials
OAuth 2.0 client credentials configuration used exclusively by the broker to obtain and renew access tokens for upstream tool discovery and session management. Never injected into client tools/call requests. Mutually exclusive with credentialRef. See upstream OAuth authentication
state
String
No
Desired operational state of the server. Enum: Enabled (default), Disabled. When set to Disabled, the broker stops connecting to the server and removes its tools from the gateway. The server can be re-enabled at any time by setting this field back to Enabled
Reference to a Secret containing a PEM-encoded CA certificate bundle. The broker uses this CA to verify TLS connections to the upstream MCP server and its OAuth token endpoint, if configured. The Secret must have the label mcp.kuadrant.io/secret=true. CA cert data must not exceed 64 KiB
Enables per-user token collection via URL elicitation (-32042 flow). When set, the router collects tokens from elicitation-capable clients at tool-call time. See URL Elicitation guide
userSpecificList
String (Enabled / Disabled)
No
When Enabled, the broker fetches tools from this server per-user using their session headers instead of caching the service account's tool list. When Enabled, the prefix field is required (enforced by CEL validation). Default: Disabled
category
[]String
No
One or more categories for tool discovery filtering. Used by discover_tools to let agents filter servers by category. Default: ["uncategorised"]. Max 3 items, max 128 chars each
hint
String
No
Short description of what this MCP server offers. Returned by discover_tools to help agents decide which tools to select. Max 256 chars
tags
[]String
No
Arbitrary labels for this MCP server. Used to filter and discover tools via the list_tags and filter_tools_by_tags broker tools. Max 10 items, 1-128 chars each
Reference to a Secret containing the client ID and client secret
scopes
[]String
No
Scopes requested with the access token. Maximum 10 entries; each entry must be nonempty. The scope parameter is omitted from the token request when this list is absent or empty
The broker caches tokens and obtains a new token as needed near expiry. An upstream HTTP 401 response invalidates the cached token. Updates to Secret data trigger reconciliation while the Secret retains the required label. Removing the label alone does not revoke credentials already copied into broker configuration. Revoke the OAuth client at the authorization server; to remove broker configuration, remove oauth2ClientCredentials from the registration while the Secret is still labeled, or delete the registration.
Token requests use the upstream TLS trust pool: system roots, the gateway CA bundle, and the per-server CA bundle. These credentials do not authenticate MCP clients or replace client credentials on tool calls.
Nonempty name of a Secret in the same namespace as the MCPServerRegistration. The Secret must have the label mcp.kuadrant.io/secret=true and contain nonempty clientID and clientSecret values. These key names are fixed; no key or namespace override is supported
Overrides the default broker token page URL. When set, users are directed to this external URL instead of the built-in page. The gateway appends ?elicitation_id=<id> to the URL
tokenURLElicitation and broker credentials serve different purposes: credentialRef or oauth2ClientCredentials provides the broker with credentials for tool discovery, whereas tokenURLElicitation collects per-user tokens at tool-call time.
Examples:
# Minimal: uses the built-in broker token pagespec:credentialRef:name:my-server-credtokenURLElicitation:{}
# External URL: directs users to a custom credential pagespec:credentialRef:name:my-server-credtokenURLElicitation:url:"https://vault.example.com/ui/tokens"
Comma-separated list of NeMo Guardrails config IDs applied to this server in addition to the global configIDs set in the gateway guardrails Secret. Requires mcp.kuadrant.io/guardrails-ref on the MCPGatewayExtension — without it, the server is set to NotReady with reason GatewayGuardrailsNotConfigured. Per-server IDs are additive and cannot remove global policies. An empty value, or one with only commas and whitespace, also sets the server to NotReady with reason GatewayGuardrailsNotConfigured; remove the annotation instead of emptying it