issues with Crewai mcpadapter #3110
Unanswered
toheedakhtar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I have a local mcp which have bunch of tools (converted from custom crewai to mcp tools) which uses external api’s. Working fine on individual execution.
I have tasks and agents (5 each) which together creates a coding workflow.
Before when the tools were crewai custom tools the workflow/crew was working properly.
Now that i have converted the tool to mcp tools and am serving them through my mcp locally ‘stdio’ the crew hallucinates a lot and the failure rate is almost 80%.
What it does now after mcp integration,
loads the tools correctly.
hallucinates and gives wrong outputs or creates output based on tasks not using tools.
dosen’t use tools even though explictly prompted in the tasks and agents prompts.
What I have tried.
Cleaned the prompts. Make it directive.
give proper names and descriptions to mcp tools.
explicitly called tools in the tasks and agents prompt.
Tested tools and mcp with claude, no issues with them.
I run the agent using two crews the first crew has 3 agents and the latter two. Tools are equal no in both crews. Both crew fails and gives hallucinated outputs and not from tools. Sometimes invoke tools , sometimes doesn’t.
Why is this happening and how can i resolve it?
to start mcp I am using enter() and for stopping using exit() as the code is modular and I can't use agents and tasks under the with context manager.
Beta Was this translation helpful? Give feedback.
All reactions