Repository navigation
Description
Summary
The pod daemon's mcp.yaml is rendered from spec.mcp.servers entries, each with a name, a url and headers. The CLI's mcp.yaml entry also takes include_tools and exclude_tools, which pick the tools of a server the agent gets, and timeout, the seconds one request to the server may take before it falls back to connection_timeout. The CLI applies all three on a machine.
A Kubernetes workspace passes servers of the machine's mcp.yaml to its pods through mcp_servers (inference-gateway/cli#1767). It sends only the name, URL and headers, because OrchestratorMCPServer has no fields for the rest. A server filtered to two tools on the laptop exposes every tool in the pod, and its timeout falls back to the default.
Proposed shape:
type OrchestratorMCPServer struct {
Name string `json:"name"`
URL string `json:"url"`
Headers map[string]string `json:"headers,omitempty"`
// IncludeTools limits the agent to these tools of the server. When set,
// ExcludeTools is ignored.
// +optional
IncludeTools []string `json:"includeTools,omitempty"`
// ExcludeTools hides these tools of the server.
// +optional
ExcludeTools []string `json:"excludeTools,omitempty"`
// TimeoutSeconds bounds one request to the server.
// +optional
TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
}mcpYAMLServer in internal/controller/orchestrator_controller.go embeds OrchestratorMCPServer, so its JSON names become the mcp.yaml keys. The new fields need the CLI's keys (include_tools, exclude_tools, timeout), so the render maps them explicitly.
Cross-repo impact: once released, the CLI's Kubernetes workspace forwards the three settings from mcp.yaml and asks for that operator version.
Acceptance Criteria
-
spec.mcp.servers[]acceptsincludeTools,excludeToolsandtimeoutSeconds. - The pod's
mcp.yamlrenders them asinclude_tools,exclude_toolsandtimeout, and leaves out the unset ones. - Changing one rolls the pod like any other server change, through the
mcps-config-hashannotation. - The orchestrator example shows a server with a tool filter.
- A
[DOCS]ticket is filed with the PR.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
inference-gateway-releaser commentedon Nov 9, 2026
🎉 This issue has been resolved in version 0.34.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀