Advanced configuration
Multi-Service Setup
For comprehensive Brevo integration, configure multiple specific services:
JSON
Service Selection Strategy
Recommended: Use specific service endpoints
- Better performance and focused tool sets
- Reduced complexity for AI assistants
- Clearer separation of concerns
- Easier debugging and monitoring
Alternative: Use complete service access
- Single configuration for all features
- May overwhelm AI assistants with tool options
- Higher complexity but complete functionality
Environment Variables
Shell
SSE Support
If your application requires an SSE based endpoint you can simply append /sse to the base endpoint. We support this !
https://mcp.brevo.com/v1/brevo_deals/mcp/YOUR_MCP_TOKEN/sse
Error Handling
Common Error Responses
Error Codes
Error Handling Best Practices
JavaScript
Rate Limiting
Limits
- API Calls: Follows standard Brevo API rate limits (varies by plan)
- MCP Connections: 10 concurrent connections per MCP token
- Token Refresh: Tokens are valid for 24 hours
Best Practices
- Implement exponential backoff for rate limit errors
- Cache responses when appropriate
- Use specific service endpoints to reduce tool overhead
- Monitor API usage through Brevo dashboard
Development Environment Setup
Local Testing
Debugging
Enable MCP debugging:
JSON
Security Considerations
MCP Token Management
- Rotate MCP tokens regularly through your Brevo account
- Never commit tokens to version control
Token Security
- Store tokens securely (environment variables, secret managers)
- Obtain fresh tokens from your Brevo account as needed