Brevo MCP
概述
工具列表
内容详情
替代品
什么是Brevo MCP服务器?
Brevo MCP服务器是一个集成平台,使Claude能够通过官方SDK访问Brevo的所有功能,包括邮件、短信、联系人管理、营销活动等。如何使用Brevo MCP服务器?
可以通过Smithery部署或本地安装,配置API密钥后即可使用。支持多种操作如发送邮件、管理联系人和创建营销活动。适用场景
适用于需要自动化的邮件营销、客户沟通、订单跟踪和数据分析的企业或开发者。主要功能
邮件操作支持发送事务性邮件、管理邮件模板、追踪邮件事件。
短信与WhatsApp可以发送短信并管理短信营销活动。
联系人管理支持添加、更新、删除联系人以及批量导入导出。
营销活动管理创建和管理电子邮件及短信营销活动,包含计划和分析功能。
对话管理处理客户聊天和互动信息。
网络钩子设置实时通知以跟踪事件(如邮件送达、点击等)。
账户管理管理发件人、域名、文件夹等账户相关设置。
电商集成跟踪订单、产品和分类,便于电商数据分析。
优势与局限性
优势
完全兼容Brevo的官方SDK,确保稳定性和功能完整性。
支持多种营销自动化功能,满足企业需求。
易于集成到Smithery平台,方便部署。
提供类型安全的TypeScript支持,提高开发效率。
局限性
需要配置API密钥,对新手可能有一定门槛。
部分高级功能可能需要更复杂的配置。
不直接支持非英文语言的界面。
如何使用
配置API密钥
在Smithery中设置Brevo API密钥,或在环境变量中配置。
选择部署方式
可以选择通过Smithery部署,或者本地安装运行。
执行操作
根据需求调用对应的功能模块,如发送邮件、管理联系人等。
使用案例
发送欢迎邮件当新用户注册时,向其发送欢迎邮件。
批量导入联系人将一批客户信息导入到Brevo的联系人列表中。
创建营销活动为新产品发布创建一个电子邮件营销活动。
常见问题
我需要什么来开始使用Brevo MCP服务器?
您需要一个Brevo API密钥,并且可以使用Smithery部署或本地运行服务器。
是否支持中文?
是的,虽然主要文本为中文,但某些技术术语可能仍为英文。
如何调试服务器?
您可以启用调试模式,通过日志查看错误信息。
如何确保数据安全?
所有通信都通过HTTPS进行,并且API密钥通过环境变量安全存储。
相关资源
Brevo API文档
Brevo官方API文档,详细说明了所有可用的功能。
Brevo Node.js SDK
Brevo官方Node.js SDK,用于与API交互。
Smithery部署指南
如何在Smithery上部署MCP服务器的详细步骤。
安装
复制以下命令到你的Client进行配置
注意:您的密钥属于敏感信息,请勿与任何人分享。
🚀 Brevo MCP 服务器
📧 借助官方 SDK 实现 Claude 和 Smithery 与 Brevo API 的全面集成
这是一个功能全面的 MCP 服务器,它借助官方的 @getbrevo/brevo
Node.js SDK,让 Claude 能够全面访问 Brevo 的营销自动化平台。该服务器拥有 8 个精心组织的工具,涵盖了 Brevo 的所有主要功能。
✨ 主要特性
- 🔧 官方 Brevo SDK:基于
@getbrevo/brevo
构建,具备极高的兼容性。 - 📧 邮件操作:支持事务性邮件、模板管理、邮件跟踪和事件处理。
- 📱 短信与 WhatsApp:可发送短信、管理营销活动,还能集成 WhatsApp。
- 👥 联系人管理:涵盖联系人、联系人列表、联系人属性管理以及批量操作。
- 🎯 营销活动管理:支持邮件和短信营销活动的创建、调度和分析。
- 💬 对话管理:负责聊天和对话的管理。
- 🔗 Webhook:实现基于事件的自动化和通知功能。
- 🛒 电子商务:支持订单、产品和类别集成。
- 🏢 账户管理:可管理发件人、域名、文件夹和账户信息。
- 🚀 与 Smithery 兼容:可随时部署到 Smithery。
- 🛡️ 类型安全:全面支持 TypeScript。
🚀 快速开始
选项 1:使用 Smithery(推荐)
- 在 Smithery 中进行配置:
brevo-mcp:
apiKey: "your-brevo-api-key" # 必需
defaultSenderEmail: "your@domain.com" # 可选
defaultSenderName: "Your Name" # 可选
选项 2:本地安装
- 安装依赖:
npm install
npm run build
- 设置环境变量:
export BREVO_API_KEY="your-brevo-api-key"
export BREVO_DEFAULT_SENDER_EMAIL="your@domain.com"
export BREVO_DEFAULT_SENDER_NAME="Your Name"
- 启动服务:
npm start
💻 使用示例
基础用法
以下是一些不同工具的使用示例:
联系人管理(contacts
)
{
"operation": "bulk_import",
"contacts": [
{
"email": "user1@example.com",
"attributes": {
"FIRSTNAME": "John",
"LASTNAME": "Doe"
}
}
]
}
事务性邮件(email
)
{
"operation": "send",
"to": [{"email": "recipient@example.com", "name": "John Doe"}],
"subject": "Welcome to our service",
"htmlContent": "<h1>Welcome!</h1><p>Thank you for joining us.</p>",
"sender": {"email": "noreply@yourcompany.com", "name": "Your Company"}
}
营销活动(campaigns
)
{
"operation": "create_email_campaign",
"campaignData": {
"name": "Newsletter Campaign",
"subject": "Monthly Newsletter",
"htmlContent": "<h1>Newsletter</h1>",
"recipients": {"listIds": [1, 2]}
}
}
短信操作(sms
)
{
"operation": "send_batch",
"recipients": ["+1234567890", "+0987654321"],
"content": "Your order is ready for pickup!",
"sender": "YourBrand"
}
Webhook(webhooks
)
{
"operation": "create_webhook",
"url": "https://your-app.com/brevo-webhook",
"events": ["delivered", "opened", "clicked"],
"description": "Email tracking webhook",
"type": "transactional"
}
电子商务(ecommerce
)
{
"operation": "create_order",
"orderData": {
"id": "order-123",
"email": "customer@example.com",
"products": [
{
"id": "product-1",
"name": "Widget",
"price": 29.99,
"quantity": 2
}
],
"total": 59.98
}
}
高级用法
批量联系人导入
{
"operation": "bulk_import",
"contacts": [
{
"email": "user1@example.com",
"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": "customer@example.com",
"products": [
{"id": "prod-1", "name": "T-Shirt", "price": 25.00, "quantity": 1}
],
"total": 25.00,
"status": "pending"
}
}
📚 详细文档
📋 配置
环境变量
属性 | 详情 | 必需 |
---|---|---|
BREVO_API_KEY |
你的 Brevo API 密钥 | ✅ 是 |
BREVO_DEFAULT_SENDER_EMAIL |
默认发件人邮箱 | ❌ 否 |
BREVO_DEFAULT_SENDER_NAME |
默认发件人姓名 | ❌ 否 |
DEBUG |
启用调试日志 | ❌ 否 |
Smithery 配置
version: 1
startCommand:
type: stdio
configSchema:
type: object
required: ['apiKey']
properties:
apiKey:
type: string
description: "用于身份验证的 Brevo API 密钥(必需)"
defaultSenderEmail:
type: string
description: "默认发件人邮箱地址"
defaultSenderName:
type: string
description: "默认发件人姓名"
debug:
type: boolean
description: "启用调试模式"
default: false
🔧 开发
# 安装依赖
npm install
# 构建项目
npm run build
# 启动服务器
npm start
# 测试服务器
npm test
# 使用 Smithery 运行
npm run smithery
🔧 技术细节
- API 密钥安全:通过环境变量安全处理 API 密钥。
- 通信安全:所有通信均通过官方 Brevo SDK 使用 HTTPS 协议。
- 输入验证:对所有工具参数进行输入验证。
- 错误处理:完善的错误处理机制可防止信息泄露。
📄 许可证
本项目采用 MIT 许可证。
🆘 支持
- 问题反馈:请在 GitHub 上提交问题。
- Brevo API 文档:https://developers.brevo.com/
- 官方 SDK:https://github.com/getbrevo/brevo-node
本项目使用官方 Brevo Node.js SDK 构建,确保了最高的可靠性和丰富的功能 ❤️
contacts
Comprehensive contact management - create, update, get, bulk import, manage lists and attributes
参数
operation : string*
描述
Contact operation to perform
参数
identifier : string*
描述
Contact email or ID (for get, update, delete operations)
参数
contactData : object*
描述
Contact information for create/update operations
参数
contacts : array*
描述
Array of contacts for bulk operations
参数
listId : number*
描述
List ID for list operations
参数
listData : object*
描述
List information for create list operation
参数
attributeName : string*
描述
Attribute name for attribute operations
参数
attributeData : object*
描述
Attribute data for create/update attribute operations
email
Transactional email operations - send emails, manage templates, track events
参数
operation : string*
描述
Email operation to perform
参数
to : array*
描述
Recipients list
参数
subject : string*
描述
Email subject
参数
htmlContent : string*
描述
HTML content of the email
参数
textContent : string*
描述
Text content of the email
参数
templateId : number*
描述
Template ID for template operations
参数
params : object*
描述
Template parameters for personalization
参数
sender : object*
描述
Sender information
参数
messageId : string*
描述
Message ID for event tracking
参数
email : string*
描述
Email address for event filtering
参数
templateData : object*
描述
Template data for create/update operations
参数
startDate : string*
描述
Start date for statistics (YYYY-MM-DD)
参数
endDate : string*
描述
End date for statistics (YYYY-MM-DD)
参数
days : number*
描述
Number of days for statistics
参数
tag : string*
描述
Tag for filtering statistics
campaigns
Email and SMS campaign management - create, update, send, schedule campaigns
参数
operation : string*
描述
Campaign operation to perform
参数
campaignId : number*
描述
Campaign ID for specific campaign operations
参数
campaignData : object*
描述
Campaign configuration data
参数
type : string*
描述
Campaign type
参数
status : string*
描述
Campaign status filter
参数
limit : number*
描述
Number of campaigns to retrieve
参数
offset : number*
描述
Offset for pagination
sms
SMS operations - send transactional SMS, manage SMS contacts
参数
operation : string*
描述
SMS operation to perform
参数
recipient : string*
描述
Phone number for single SMS
参数
recipients : array*
描述
Phone numbers for batch SMS
参数
content : string*
描述
SMS message content
参数
sender : string*
描述
SMS sender name/number
参数
type : string*
描述
SMS type
参数
tag : string*
描述
Tag for SMS tracking
参数
limit : number*
描述
Limit for events/statistics
参数
startDate : string*
描述
Start date for events/statistics (YYYY-MM-DD)
参数
endDate : string*
描述
End date for events/statistics (YYYY-MM-DD)
参数
offset : number*
描述
Offset for pagination
参数
days : number*
描述
Number of days for statistics
参数
phoneNumber : string*
描述
Phone number for filtering events
参数
event : string*
描述
Event type for filtering
参数
tags : array*
描述
Tags for filtering events
参数
sort : string*
描述
Sort order for events
conversations
Chat and conversation management - handle customer conversations
参数
operation : string*
描述
Conversation operation to perform
参数
conversationId : string*
描述
Conversation ID
参数
message : string*
描述
Message content to send
参数
agentId : string*
描述
Agent ID for conversation assignment
参数
status : string*
描述
Conversation status
webhooks
Webhook management - create, update, delete webhooks for event notifications
参数
operation : string*
描述
Webhook operation to perform
参数
webhookId : number*
描述
Webhook ID for specific operations
参数
url : string*
描述
Webhook URL
参数
events : array*
描述
List of events to subscribe to
参数
description : string*
描述
Webhook description
参数
type : string*
描述
Webhook type
参数
exportData : object*
描述
Export configuration for webhook history
account
Account management - get account info, manage senders, domains, folders
参数
operation : string*
描述
Account operation to perform
参数
senderId : number*
描述
Sender ID for sender operations
参数
senderData : object*
描述
Sender information
参数
domain : string*
描述
Domain name for domain operations
参数
folderId : number*
描述
Folder ID for folder operations
参数
folderData : object*
描述
Folder information
ecommerce
E-commerce integration - manage orders, products, coupons, and payments
参数
operation : string*
描述
E-commerce operation to perform
参数
orderId : string*
描述
Order ID
参数
orderData : object*
描述
Order information
参数
productId : string*
描述
Product ID
参数
productData : object*
描述
Product information
参数
categoryId : string*
描述
Category ID
参数
categoryData : object*
描述
Category information
参数
couponCollectionId : string*
描述
Coupon collection ID
参数
couponData : object*
描述
Coupon collection data
参数
paymentData : object*
描述
Payment request data
参数
limit : number*
描述
Number of items to retrieve
参数
offset : number*
描述
Offset for pagination
crm
Complete CRM functionality - manage companies, deals, tasks, and notes
参数
operation : string*
描述
CRM operation to perform
参数
companyId : string*
描述
Company ID
参数
companyData : object*
描述
Company information
参数
dealId : string*
描述
Deal ID
参数
dealData : object*
描述
Deal information
参数
taskId : string*
描述
Task ID
参数
taskData : object*
描述
Task information
参数
noteId : string*
描述
Note ID
参数
noteData : object*
描述
Note information
参数
entityType : string*
描述
Entity type for linking/notes
参数
entityId : string*
描述
Entity ID for linking/notes
参数
filters : object*
描述
Filters for listing operations
参数
limit : number*
描述
Number of items to retrieve
参数
offset : number*
描述
Offset for pagination
whatsapp
WhatsApp messaging - send messages, manage campaigns and templates
参数
operation : string*
描述
WhatsApp operation to perform
参数
recipient : string*
描述
WhatsApp number for single message
参数
templateId : number*
描述
WhatsApp template ID
参数
templateData : object*
描述
Template data and parameters
参数
campaignId : number*
描述
WhatsApp campaign ID
参数
campaignData : object*
描述
Campaign configuration data
参数
messageId : string*
描述
Message ID for event tracking
参数
limit : number*
描述
Number of items to retrieve
参数
offset : number*
描述
Offset for pagination
events
Custom event tracking and behavioral data management
参数
operation : string*
描述
Event operation to perform
参数
email : string*
描述
Contact email for event tracking
参数
eventName : string*
描述
Name of the event to track
参数
eventData : object*
描述
Event properties and data
inbound
Process inbound emails and attachments
参数
operation : string*
描述
Inbound parsing operation to perform
参数
uuid : string*
描述
Email UUID for specific email operations
参数
attachmentId : string*
描述
Attachment ID for download
参数
sender : string*
描述
Sender email filter
参数
startDate : string*
描述
Start date for filtering (YYYY-MM-DD)
参数
endDate : string*
描述
End date for filtering (YYYY-MM-DD)
参数
limit : number*
描述
Number of items to retrieve
参数
offset : number*
描述
Offset for pagination
enterprise
Multi-tenant account and user management for enterprise features
参数
operation : string*
描述
Enterprise operation to perform
参数
subAccountId : number*
描述
Sub-account ID
参数
subAccountData : object*
描述
Sub-account configuration data
参数
userId : string*
描述
User ID for permission operations
参数
permissions : object*
描述
User permission settings
参数
limit : number*
描述
Number of items to retrieve
参数
offset : number*
描述
Offset for pagination
bulk_contact_import
Intelligent bulk contact import from pasted text - analyzes text, maps attributes, checks duplicates, and imports efficiently
参数
text : string*
描述
Pasted contact data (CSV, email list, mixed text format)
参数
listId : number*
描述
Optional: List ID to add contacts to
参数
updateExisting : boolean*
描述
Whether to update existing contacts
参数
dryRun : boolean*
描述
Preview the import without executing
contact_with_list
Create contact and add to list in one call - universally useful combination
参数
email : string*
描述
Contact email address
参数
firstName : string*
描述
Contact first name
参数
lastName : string*
描述
Contact last name
参数
attributes : object*
描述
Contact custom attributes
参数
listIds : array*
描述
Lists to add contact to
参数
updateExisting : boolean*
描述
Update contact if already exists
email_with_tracking
Send email and return tracking info immediately - universally useful combination
参数
to : array*
描述
Recipients list
参数
subject : string*
描述
Email subject
参数
htmlContent : string*
描述
Email HTML content
参数
templateId : number*
描述
Template ID to use instead of content
参数
params : object*
描述
Template parameters
参数
sender : object*
描述
Sender information
参数
includeStats : boolean*
描述
Include detailed tracking stats
Z
Zen MCP Server
Zen MCP是一个多模型AI协作开发服务器,为Claude和Gemini CLI等AI编码助手提供增强的工作流工具和跨模型上下文管理。它支持多种AI模型的无缝协作,实现代码审查、调试、重构等开发任务,并能保持对话上下文在不同工作流间的延续。
Python
11.7K
5分
C
Container Use
Container Use是一个开源工具,为编码代理提供容器化隔离环境,支持多代理并行开发且互不干扰。
Go
8.4K
5分

Search1api
Search1API MCP Server是一个基于Model Context Protocol (MCP)的服务器,提供搜索和爬取功能,支持多种搜索服务和工具。
TypeScript
18.7K
4分

Duckduckgo MCP Server
已认证
DuckDuckGo搜索MCP服务器,为Claude等LLM提供网页搜索和内容抓取服务
Python
37.1K
4.3分

MCP Alchemy
已认证
MCP Alchemy是一个连接Claude Desktop与多种数据库的工具,支持SQL查询、数据库结构分析和数据报告生成。
Python
17.0K
4.2分

Postgresql MCP
一个基于FastMCP库的PostgreSQL数据库MCP服务,提供对指定表的CRUD操作、模式检查和自定义SQL查询功能。
Python
12.7K
4分

Agentic Radar
Agentic Radar是一个用于分析和评估代理系统的安全扫描工具,帮助开发者、研究人员和安全专家理解代理系统的工作流程并识别潜在漏洞。
Python
13.5K
5分

MCP Scan
MCP-Scan是一款针对MCP服务器的安全扫描工具,用于检测提示注入、工具污染和跨域升级等常见安全漏洞。
Python
12.7K
5分
精选MCP服务推荐

Duckduckgo MCP Server
已认证
DuckDuckGo搜索MCP服务器,为Claude等LLM提供网页搜索和内容抓取服务
Python
37.1K
4.3分

Firecrawl MCP Server
Firecrawl MCP Server是一个集成Firecrawl网页抓取能力的模型上下文协议服务器,提供丰富的网页抓取、搜索和内容提取功能。
TypeScript
58.9K
5分

Figma Context MCP
Framelink Figma MCP Server是一个为AI编程工具(如Cursor)提供Figma设计数据访问的服务器,通过简化Figma API响应,帮助AI更准确地实现设计到代码的一键转换。
TypeScript
42.4K
4.5分

Edgeone Pages MCP Server
EdgeOne Pages MCP是一个通过MCP协议快速部署HTML内容到EdgeOne Pages并获取公开URL的服务
TypeScript
18.7K
4.8分

Minimax MCP Server
MiniMax Model Context Protocol (MCP) 是一个官方服务器,支持与强大的文本转语音、视频/图像生成API交互,适用于多种客户端工具如Claude Desktop、Cursor等。
Python
29.5K
4.8分

Exa Web Search
已认证
Exa MCP Server是一个为AI助手(如Claude)提供网络搜索功能的服务器,通过Exa AI搜索API实现实时、安全的网络信息获取。
TypeScript
28.9K
5分

Baidu Map
已认证
百度地图MCP Server是国内首个兼容MCP协议的地图服务,提供地理编码、路线规划等10个标准化API接口,支持Python和Typescript快速接入,赋能智能体实现地图相关功能。
Python
30.3K
4.5分

Context7
Context7 MCP是一个为AI编程助手提供实时、版本特定文档和代码示例的服务,通过Model Context Protocol直接集成到提示中,解决LLM使用过时信息的问题。
TypeScript
40.9K
4.7分