Troubleshooting Guide
Quick fixes for common FlowMCP issues.Common Issues
Schema Validation Errors
“namespace must contain only letters”Server Startup Issues
Port already in useAPI Request Failures
401 Unauthorized- Check API key format
- Verify token hasn’t expired
- Ensure correct header format
- Implement exponential backoff in your application
- Check API documentation for rate limits
- Consider using multiple API keys if available
- Check network connectivity
- Verify API endpoint is responding
- Consider increasing request timeout in your HTTP client
Claude Desktop Integration
MCP server not showing-
Check config location:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Mac:
- Verify config format:
- Restart Claude Desktop completely
- Check server logs for errors
- Verify schemas are valid with
FlowMCP.validateSchema() - Ensure
FlowMCP.activateServerTools()is called correctly
Performance Issues
High memory usage- Validate schemas once during development, not at runtime
- Use schema filtering to reduce the number of activated schemas
- Consider lazy loading of schemas only when needed
Error Messages
Schema Errors
| Error | Cause | Solution |
|---|---|---|
namespace invalid | Contains non-letters | Use only a-zA-Z |
route missing requestMethod | Incomplete route | Add all required fields |
parameter missing z validation | No Zod schema | Add z object to params |
serverParams not declared | Missing from requiredServerParams | Add to array |
Runtime Errors
| Error | Cause | Solution |
|---|---|---|
ECONNREFUSED | Server not running | Start server first |
ETIMEDOUT | Request timeout | Increase timeoutMs |
ENOTFOUND | Invalid URL | Check root URL |
Invalid JSON | Malformed response | Check API response format |
Debug Mode
Enable detailed logging:Testing Tools
Schema Validator
API Tester
Health Check
Getting Help
Resources
- GitHub Issues - Bug reports
- Discussions - Q&A
- Schema Examples - Working examples
Debug Checklist
Before asking for help: ✅ Schema validates without errors✅ Environment variables are set
✅ Server starts without errors
✅ Test with simple schema first
✅ Check server logs for details
✅ Try example from docs
✅ Update to latest version