Skip to content llms.txt

per_agent_mcp

Whether agents can have their own MCP server configuration, scoping which external tools each agent can access.

Type: bool Content type: agents

ProviderSupportedMechanism
claude-codemcpServers frontmatter field: list of server names referencing already-configured workspace servers or inline server definitions
copilot-climcp-servers inline config in frontmatter; available for cloud agent only; workspace MCP config shared by default
kiroinline mcpServers map per agent config; includeMcpJson boolean controls whether workspace .kiro/mcp.json is merged into agent's server set
codexMCP configuration is workspace-wide; no per-role MCP scoping mechanism
crushnot documented
cursorCursor custom agents do not document a per-agent mcpServers field; they inherit the workspace MCP configuration.
factory-droidno per-droid MCP configuration documented; MCP is workspace-wide
opencodeOpenCode agent frontmatter does not document a per-agent mcpServers field; agents inherit the workspace MCP configuration.
roo-codeCustom modes do not declare their own MCP server lists — MCP configuration is global per the .roo/mcp.json and global MCP settings
windsurfnot documented
zednot documented