Overview
Test your MCP integrations thoroughly before deploying to production.Testing Levels
Unit Testing
Test individual tools
Integration Testing
Test with live AI teammates
Production Testing
Monitor in production
Unit Testing
Test Individual Tools
Test each tool in isolation:1
Create Test AI teammate
Create a test AI teammate specifically for testing integrations
2
Connect MCP Server
Test AI teammate ’ Tools ’ Add Tool ’ Add your MCP server
3
Open the builder chat
Open a Site and use the builder chat
4
Test Each Tool
Test Parameters
Test different parameter combinations:Test Error Cases
Test failure scenarios:Integration Testing
Test with AI teammates
Test your MCP server with real AI teammate workflows:Customer Support Flow
- Customer lookup works
- Order history retrieved
- AI teammate uses correct tools
Sales Flow
- Contact created
- Calendar checked
- Meeting scheduled
- Email sent
Multi-Tool Testing
Test tools working together:Automated Testing
Test Scripts
Create automated test scripts:CI/CD Integration
Add tests to your CI/CD pipeline:Performance Testing
Response Time
Test tool response times:Load Testing
Test under high load:Production Testing
Gradual Rollout
Deploy gradually to production:1
Deploy to Test AI teammate
Test with internal test AI teammate first
2
Deploy to Staging
Test with staging environment
3
Limited Production
Deploy to 10% of users
4
Monitor
Watch logs and metrics for 24 hours
5
Full Rollout
Deploy to all users if no issues
Monitor Metrics
Track key metrics in production: Dashboard ’ MCP Servers ’ Your Server ’ AnalyticsA/B Testing
Test changes with A/B testing:Troubleshooting Tests
Test failing unexpectedly
Test failing unexpectedly
- Check MCP server is running
- Verify authentication credentials
- Check API service status
- Review error logs
Timeouts
Timeouts
- Increase timeout limits
- Optimize API calls
- Check network connectivity
- Review server performance
Inconsistent results
Inconsistent results
- Check for race conditions
- Verify test data cleanup
- Review caching behavior
- Test in isolation
Test Checklist
Before deploying to production:- All tools tested individually
- Error cases handled properly
- Parameter validation working
- Authentication working
- Response times acceptable
- Load testing passed
- Integration flows tested
- Documentation updated
- Logs reviewed
- Monitoring configured
Next Steps
Debugging Guide
Learn how to debug issues
Best Practices
Follow integration best practices