Diagnose and fix common issues with mcp-eval
. Learn debugging techniques, understand error messages, and get your tests running smoothly.
🔧 Having trouble? Don’t worry! This comprehensive guide will help you diagnose and fix common issues quickly. We’ve got your back!
Error: Invalid API key or authentication failed
.gitignore
for secrets files.Error: Rate limit exceeded
Error: MCP server not found or failed to start
pip install -r requirements.txt
/full/path/to/server.py
chmod +x server.py
Error: No tools detected from server
tools/list
methodError: Test execution timed out
Error: High token usage or costs
Error: Assertion failed but seems correct
Error: Flaky or inconsistent test results
llm_time_ms
: Time spent in LLM callstool_time_ms
: Time in tool executionidle_time_ms
: Wasted time between operationsmax_concurrent_operations
: Parallelism levelCommand not found errors
Path and encoding issues
Permission and container issues
Code | Meaning | Quick Fix |
---|---|---|
AUTH001 | Invalid API key | Check environment variables |
SRV001 | Server not found | Verify server name in config |
SRV002 | Server failed to start | Check command and dependencies |
TOOL001 | Tool not found | Verify server implements tool |
TIMEOUT001 | Test timeout | Increase timeout_seconds |
ASSERT001 | Assertion failed | Check expected vs actual values |
NET001 | Network error | Check connectivity and proxy |
RATE001 | Rate limited | Reduce concurrency or add delays |