-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Labels
Description
Describe the bug
Maybe I'm missing something but from the definition of Agent's tools init param, one can pass only a list of Tool or one ToolSet. For MCP servers we have MCPToolSet. So we can only use one MCPServer. This is a heavy limitation if you want to use, e.g. github MCP server and gmail MCP server together.
Agent's tool definition:
https://github.com/deepset-ai/haystack/blob/2a27e0d13193fd3910600ef2cbda21cabc2da659/haystack/components/agents/agent.py#L100
MCPToolSet:
haystack-core-integrations/integrations/mcp/src/haystack_integrations/tools/mcp/mcp_toolset.py
Line 30 in c633ac1
| class MCPToolset(Toolset): |
To Reproduce
Describe your environment (please complete the following information):
- OS: [e.g. iOS]
- Haystack version: 2.18.0
- Integration version: 0.7.0