Repository navigation
Labels
Description
Summary
Two CLI features change how an agent reaches a hosted MCP server with its own credentials. They replace the per-thread frame fields that inference-gateway/cli#1754 asked for, which the CLI will not apply.
- [FEATURE] Hosted MCP servers: url and headers in mcp.yaml cli#1755 (PR feat(mcp): reach hosted servers through a url and headers in mcp.yaml cli#1757): a server entry in the CLI's
mcp.yamlacceptsurl, a hosted endpoint that replacesscheme/host/port/path, andheaders, sent on every request.${VAR}expansion keeps the credential out of the file, and it expands from the environment of the process that loads the file. An enabled server whose expanded header is empty is skipped with a warning, and no container is started for it. - [FEATURE] Kubernetes workspace secrets from existing cluster Secrets cli#1756 (PR feat(workspaces): give a kubernetes workspace its own Secrets cli#1758): a Kubernetes workspace in
daemon.yamlacceptssecrets, a list of existing Secrets in its namespace. Every key of each becomes a variable of the pod daemon through asecretKeyRef, so each agent's computer holds its own credentials and the values never pass through the machine that opens the thread. The keys are read when a session's Orchestrator is created, and a missing Secret fails the teleport before anything is created.
Document these once both PRs are merged and released.
Example to add:
# ~/.infer/mcp.yaml
servers:
- name: agentmail
enabled: true
url: https://mcp.agentmail.to/mcp
headers:
x-api-key: ${AGENTMAIL_API_KEY}# ~/.infer/daemon.yaml
workspaces:
- name: code-reviewer
kind: kubernetes
namespace: agents
image: ghcr.io/inference-gateway/cli:latest
secrets:
- code-reviewer-credentialsAffected pages
cli.md, MCP Integration section: themcp.yamlexample comment says "there is nourlkey". Replace it with a hosted-server entry usingurlandheaders, and state the empty-header skip rule.cli.md, Workspace kinds section: addsecretsto the example and to the sentence thatmodeandgateway_envapply tokind: kubernetesonly. Say how it differs fromenv(plain text in the Orchestrator),gateway_env(provider keys for the gateway) andforward_env(sealed from this machine on each teleport).desktop.md, Agent computers section: one sentence that an agent's credentials come from the computer it runs on, thesecretsof its workspace, linking to the Workspace kinds section.
Not affected: mcp.md documents the gateway's own MCP middleware (MCP_SERVERS), not the CLI's mcp.yaml. The Markdown agents section of cli.md needs no change, because agents gained no new frontmatter key.
Acceptance Criteria
- The
cli.mdMCP Integration section documentsurlandheaderswith the hosted-server example and the empty-header skip rule, and no longer says there is nourlkey. - The
cli.mdWorkspace kinds section documentssecretsfor Kubernetes workspaces, with an example of one agent per workspace each with its own Secret. - The
desktop.mdAgent computers section says where an agent's credentials come from. - No tracker numbers or links in the doc content, per the repo's AGENTS.md.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(mcp): reach hosted servers through a url and headers in mcp.yaml (…
feat(workspaces): give a kubernetes workspace its own Secrets (#1758)
edenreich commentedon Nov 8, 2026
@claude can you adjust the docs? use /ponytail:ponytail
inference-gateway-maintainer commentedon Nov 8, 2026
Claude finished @edenreich's task in 1m 59s —— View job •
docs/issue-1128-20261108-1500Done - PR #1129
cli.mdMCP Integration: hosted-server entry withurl+headers,${VAR}expansion from the loading process, empty-header skip rule, and the "there is nourlkey" comment removedcli.mdWorkspace kinds:secretsin the example and in the Kubernetes-only sentence, plus a new Credentials the cluster already holds (secrets) section -secretKeyRefwiring, keys read at Orchestrator creation, missing Secret fails the teleport, an example of one agent per workspace each with its own Secret, and a table contrastingenv/gateway_env/forward_env/secretsby who can read the valuedesktop.mdAgent computers: one sentence that an agent's credentials come from the computer it runs on, linking to that sectionbun run format,bun run lint:md,bun run build- all passNo tracker numbers or links in the content, per AGENTS.md.
Create a PR - already opened as #1129.
I wrote the behavior straight from the issue description - I did not read the CLI source to confirm the merged PRs match it, so if the field names or the skip semantics shifted during review, those paragraphs need a second look.
| Branch
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀