
Brevo
STDIOComprehensive MCP server for Brevo marketing platform integration using official SDK
Comprehensive MCP server for Brevo marketing platform integration using official SDK
📧 Complete Brevo API Integration for Claude & Smithery using Official SDK
A comprehensive MCP server that provides Claude with full access to Brevo's marketing automation platform using the official @getbrevo/brevo
Node.js SDK. Features 8 organized tools covering all major Brevo functionalities.
@getbrevo/brevo
for maximum compatibilitybrevo-mcp: apiKey: "your-brevo-api-key" # Required defaultSenderEmail: "[email protected]" # Optional defaultSenderName: "Your Name" # Optional
Install:
npm install npm run build
Set Environment Variables:
export BREVO_API_KEY="your-brevo-api-key" export BREVO_DEFAULT_SENDER_EMAIL="[email protected]" export BREVO_DEFAULT_SENDER_NAME="Your Name"
Run:
npm start
contacts
- Contact ManagementComplete contact database operations with bulk capabilities.
Operations:
get
- Retrieve contact by email/IDcreate
- Create new contactupdate
- Update contact informationdelete
- Delete contactbulk_import
- Import contacts in bulkexport
- Export contactsadd_to_list
/ remove_from_list
- List managementget_lists
/ create_list
- Manage contact listsget_attributes
/ create_attribute
/ update_attribute
- Custom attributesExample:
{ "operation": "bulk_import", "contacts": [ { "email": "[email protected]", "attributes": { "FIRSTNAME": "John", "LASTNAME": "Doe" } } ] }
email
- Transactional EmailsSend emails, manage templates, track delivery and events.
Operations:
send
- Send transactional emailsend_template
- Send using templateget_events
- Track email eventsget_templates
- List email templatescreate_template
/ update_template
/ delete_template
- Template managementget_blocked_domains
- Check blocked domainsget_email_statistics
- Email analyticsExample:
{ "operation": "send", "to": [{"email": "[email protected]", "name": "John Doe"}], "subject": "Welcome to our service", "htmlContent": "<h1>Welcome!</h1><p>Thank you for joining us.</p>", "sender": {"email": "[email protected]", "name": "Your Company"} }
campaigns
- Marketing CampaignsCreate and manage email and SMS marketing campaigns.
Operations:
get_email_campaigns
/ create_email_campaign
/ update_email_campaign
send_email_campaign
/ schedule_email_campaign
/ delete_email_campaign
get_sms_campaigns
/ create_sms_campaign
/ update_sms_campaign
send_sms_campaign
/ schedule_sms_campaign
/ delete_sms_campaign
get_campaign_statistics
- Campaign analyticsExample:
{ "operation": "create_email_campaign", "campaignData": { "name": "Newsletter Campaign", "subject": "Monthly Newsletter", "htmlContent": "<h1>Newsletter</h1>", "recipients": {"listIds": [1, 2]} } }
sms
- SMS OperationsSend transactional SMS and manage SMS campaigns.
Operations:
send
- Send single SMSsend_batch
- Send to multiple recipientsget_events
- Track SMS eventsget_statistics
- SMS analyticsExample:
{ "operation": "send_batch", "recipients": ["+1234567890", "+0987654321"], "content": "Your order is ready for pickup!", "sender": "YourBrand" }
conversations
- Chat ManagementHandle customer conversations and chat interactions.
Operations:
get_conversations
- List conversationsget_conversation
- Get specific conversationget_messages
- Get conversation messagessend_message
- Send messageupdate_conversation
- Update conversation statuswebhooks
- Event AutomationManage webhooks for real-time event notifications.
Operations:
get_webhooks
/ create_webhook
/ update_webhook
/ delete_webhook
get_webhook
- Get specific webhookExample:
{ "operation": "create_webhook", "url": "https://your-app.com/brevo-webhook", "events": ["delivered", "opened", "clicked"], "description": "Email tracking webhook", "type": "transactional" }
account
- Account ManagementManage account settings, senders, domains, and folders.
Operations:
get_account
- Account informationget_senders
/ create_sender
/ update_sender
/ delete_sender
get_domains
/ create_domain
/ validate_domain
get_folders
/ create_folder
/ update_folder
/ delete_folder
ecommerce
- E-commerce IntegrationManage orders, products, and categories for e-commerce tracking.
Operations:
get_orders
/ create_order
/ get_order
/ update_order
get_products
/ create_product
/ update_product
/ delete_product
get_categories
/ create_category
/ update_category
/ delete_category
Example:
{ "operation": "create_order", "orderData": { "id": "order-123", "email": "[email protected]", "products": [ { "id": "product-1", "name": "Widget", "price": 29.99, "quantity": 2 } ], "total": 59.98 } }
Variable | Description | Required |
---|---|---|
BREVO_API_KEY | Your Brevo API key | ✅ Yes |
BREVO_DEFAULT_SENDER_EMAIL | Default sender email | ❌ No |
BREVO_DEFAULT_SENDER_NAME | Default sender name | ❌ No |
DEBUG | Enable debug logging | ❌ No |
version: 1 startCommand: type: stdio configSchema: type: object required: ['apiKey'] properties: apiKey: type: string description: "Brevo API key for authentication (required)" defaultSenderEmail: type: string description: "Default sender email address" defaultSenderName: type: string description: "Default sender name" debug: type: boolean description: "Enable debug mode" default: false
# Install dependencies npm install # Build the project npm run build # Run the server npm start # Test the server npm test # Run with Smithery npm run smithery
{ "operation": "bulk_import", "contacts": [ { "email": "[email protected]", "attributes": { "FIRSTNAME": "John", "LASTNAME": "Doe", "COMPANY": "Acme Corp" } } ] }
{ "operation": "create_email_campaign", "campaignData": { "name": "Product Launch", "subject": "Introducing Our New Product", "htmlContent": "<h1>New Product Launch</h1>", "recipients": {"listIds": [1]}, "scheduler": { "sendAt": "2024-01-01T10:00:00Z" } } }
{ "operation": "create_order", "orderData": { "id": "order-456", "email": "[email protected]", "products": [ {"id": "prod-1", "name": "T-Shirt", "price": 25.00, "quantity": 1} ], "total": 25.00, "status": "pending" } }
MIT License
Built with ❤️ using the official Brevo Node.js SDK for maximum reliability and features