Repository navigation
Closed
Copy link
Labels
Description
Summary
The Orchestrator's spec.mcp.servers gives its pod MCP servers by URL, each with a name and the headers it authenticates by. Source: inference-gateway/operator#321, implemented in inference-gateway/operator#324. Document it once that PR is merged and released.
What changed for users:
spec.mcp.serversis a list of servers with aname, aurland optionalheaders, the shape a Gateway'sspec.mcp.serverstakes. Names must be unique within the list, the API server refuses a duplicate. Plain URL strings are no longer accepted.- The operator writes the pod's
~/.infer/mcp.yamlwheneverspec.mcp.enabledis true and a server is listed, with or withoutserviceDiscovery. Before, only discovery wrote it. - Header values are written exactly as given, so a
${VAR}stays a reference the infer CLI in the pod expands from its environment. Fill the variable from a Secret throughspec.env. Never put a secret value in a header. - The pod needs an infer image of v0.248.0 or newer, which reads
urlandheaders. - The pod rolls when the rendered
mcp.yamlchanges, on both the Deployment and the Sandbox runtime. Upgrading rolls the pod of every Orchestrator that already rendersmcp.yamlonce.
Example to add:
apiVersion: core.inference-gateway.com/v1alpha1
kind: Orchestrator
metadata:
name: orchestrator
namespace: orchestrator
spec:
image: ghcr.io/inference-gateway/cli:latest
env:
- name: MCP_EXAMPLE_API_KEY
valueFrom:
secretKeyRef:
name: mcp-example-credentials
key: MCP_EXAMPLE_API_KEY
mcp:
enabled: true
servers:
- name: example
url: https://mcp.example.com/mcp
headers:
x-api-key: ${MCP_EXAMPLE_API_KEY}Affected pages
operator.md, Orchestrator spec table: themcp.servers[]row becomesname,urlandheadersentries written as given, like the Gateway's row. Themcp.serviceDiscoveryrow says the pod'smcp.yamlis written whenever MCP is enabled and a server is listed, not only with discovery.operator.md, Orchestrator: a short section with the example above, the${VAR}rule, the Secret throughspec.env, and the infer v0.248.0 requirement.operator.md, upgrade notes or the release section: plain URL strings inspec.mcp.serversare refused, and the one-time pod roll.
Acceptance Criteria
-
operator.mddocuments the Orchestrator'sspec.mcp.serversentries with their fields and the unique names. - It states that header values are written as given, and shows the variable coming from a Secret through
spec.env. - It states that
mcp.yamlis rendered without discovery once a server is listed. - It notes that plain URL strings are refused and the one-time pod roll on upgrade.
- The example uses a placeholder server, not a real third-party one.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 8, 2026
@claude can you document this? use /ponytail:ponytail check for all the relevant code first before documenting.
inference-gateway-maintainer commentedon Nov 8, 2026
Claude finished @edenreich's task in 2m 38s —— View job •
docs/issue-1145-20261108-2052• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1145-20261108-2052?quick_pull=1&title=Issue%20%231145%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231145%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented
spec.mcp.hostedServersoperator.mdOrchestrator sectionslint:md,format:check,build- all pass)PR: #1147
What I read first
The upstream change is still an open PR (
inference-gateway/operator#324, branchfeat/orchestrator-hosted-mcp-servers), so nothing is onoperator'smainyet. I read its diff directly -api/v1alpha1/orchestrator_types.go(OrchestratorHostedMCPServer:namewithMinLength=1,urlwithMinLength=1, optionalheaders, the list declared+listType=map +listMapKey=namewhich is where the duplicate-name rejection comes from) andinternal/controller/orchestrator_controller.go(rendersMCPs=Enabled && (discovery || len(servers)>0 || len(hostedServers)>0),buildMCPsYAMLordering static then hosted in spec order then discovered sorted by name, andmcpYAMLServercarryingurl+headersbesidescheme/host/port/path). Every claim in the docs traces to one of those.Changes in
operator.mdmcp.hostedServers[]row, and themcp.servers[]/mcp.serviceDiscoveryrows reworded somcp.yamlis written whenever MCP is enabled and a static or hosted server is listed, not only with discovery.#### Hosted MCP serverssection with the placeholder example, the${VAR}rule, the Secret throughspec.env, the infer v0.248.0 requirement forurl/headers, and the name namespacing the server's tools.operator.mdhas no upgrade-notes or release section to hang it off, and inventing one for a single sentence seemed worse than keeping it next to the behavior it follows from.What I skipped
I did not add a second example or document the static-vs-hosted choice as its own subsection - the spec table rows cover it. I also did not touch
cli.md, since the CLI side ofurl/headersis the operator's output format, not a user-facing CLI feature.Risk: the upstream PR is unmerged, so if its API changes before it lands (field names, the unique-name validation, the v0.248.0 floor) this page drifts. Worth re-checking the merged diff before merging #1147.
| Branch
[-][DOCS] Operator Orchestrator hosted MCP servers with spec.mcp.hostedServers[/-][+][DOCS] Operator Orchestrator MCP servers with names and headers in spec.mcp.servers[/+]inference-gateway-releaser commentedon Nov 10, 2026
🎉 This issue has been resolved in version 0.9.25 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀