Open
Description
Description
There are cases where we may want to restrict an agent to only be allowed to use a subset of tools returned by a particular MCP server. For example for a filesystem MCP server, we may want to restrict the agent to tools that are read only. This can be support by adding a allowed_tools parameter to the MCPServer class.
Initially we this could be supported through by an explicit list of tool names; subsequent improvements could support regex/glob patterns.
References
No response