Master mcp-eval configuration. Learn file structures, precedence rules, environment variables, and programmatic APIs for complete control over your testing environment.
⚙️ Configure with confidence! This comprehensive guide covers every configuration option, from basic setup to advanced customization. You’ll learn exactly how to tune mcp-eval for your specific needs.
mcp-agent.config.yaml
- Base configuration for servers and providersmcp-agent.secrets.yaml
- Secure API keys and credentialsmcpeval.yaml
- mcp-eval specific settingsmcpeval.secrets.yaml
- mcp-eval specific secrets.secrets.yaml
files and add to .gitignore
mcp-eval validate
in CI to catch configuration issues earlyIssue | Solution |
---|---|
Config not found | Check file name and location, use --config flag |
Invalid YAML | Validate syntax with yamllint or online validator |
Server won’t start | Check command path, permissions, and dependencies |
API key errors | Verify key in secrets file or environment variable |
Wrong model used | Check precedence: code > env > config file |
Timeout too short | Increase execution.timeout_seconds |