feat: add MCP Discovery tool for dynamic MCP server discovery

This adds a new MCPDiscoveryTool that enables CrewAI agents to dynamically
discover MCP servers based on natural language queries using the MCP
Discovery API.

Features:
- Semantic search for MCP servers using natural language
- Support for constraints (max latency, required features, excluded servers)
- Returns server recommendations with installation instructions, capabilities,
  and performance metrics
- Includes comprehensive test coverage

Closes #4249

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2026-01-17 19:38:49 +00:00
parent ceef062426
commit ca1f8fd7e0
6 changed files with 5149 additions and 4245 deletions

8507
uv.lock generated

File diff suppressed because it is too large Load Diff