Pydantic v2 Compatibility Issue with CrewAI MCP Tools Integration
Hi guys, i hope you are well, I'm encountering a compatibility issue while integrating Model Context Protocol (MCP) tools with CrewAI. The error occurs specifically during tool instantiation, preventing the creation of MCP tools for CrewAI agents.
Error:
Tool creation error (echo): 'MCPSpecificTool' object has no attribute '__pydantic_private__'
Tool creation error (tavily_search): 'MCPSpecificTool' object has no attribute '__pydantic_private__'
current status:
  • MCP Server successfully starts and registers tools
  • Server confirms 2 tools available: echo and tavily_search
  • Client fails to create tool instances
  • Result: 0 tools available to CrewAI agents
Does anyone know how to fix this problem, or maybe you know some resources that use crewai and mcp
0
0 comments
Tural Huseynov
1
Pydantic v2 Compatibility Issue with CrewAI MCP Tools Integration
AI Developer Accelerator
skool.com/ai-developer-accelerator
Master AI & software development to build apps and unlock new income streams. Transform ideas into profits. 💡➕🤖➕👨‍💻🟰💰
Leaderboard (30-day)
Powered by