You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Markdown agents pick their MCP servers with mcpServers #1759
A Markdown agent cannot choose which MCP servers it uses. The frontmatter key mcpServers, the name Claude Code uses, is accepted and ignored (internal/tools/mdagent.go, and the limitations in docs/subagents.md). Every thread gets every server of its computer. tools cannot narrow them either, because MCP tools register after the session starts, so MCP tool names in a tools list are dropped as unknown.
Proposed shape: mcpServers is a list of server names from the mcp.yaml of the computer the thread runs on. It is resolved on the daemon with the rest of the agent, the way tools is.
---
name: code-reviewerdescription: Reviews diffs and mails the verdict.mcpServers:
- agentmail
- github
---
Acceptance Criteria
An agent's mcpServers names the servers its threads bring up. Without the key, a thread gets every server of its computer, as today. An empty list gives it none.
The worker connects only the named servers. Others are neither connected nor started, so an agent does not start containers it does not use.
A name its computer does not configure is skipped with a warning naming the agent and the server, and the thread still opens.
An inline server definition in mcpServers, which Claude Code also accepts, is ignored with a warning. Agent files travel, so they never carry a URL, a header or a secret.
The daemon resolves the list when a thread opens as the agent, and the resolved list follows a relay or a teleport like the tool lists do, never the agent name.
A named subagent the Agent tool starts gets the same servers as a thread opened as that agent.
docs/subagents.md documents the key and drops it from the ignored keys and the limitations.
Activity
inference-gateway-releaser commentedon Nov 9, 2026
🎉 This issue has been resolved in version 0.250.0 🎉
The release is available on:
Your semantic-release bot 📦🚀