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
替代品

Vestige
Vestige是一個基於認知科學的AI記憶引擎,通過實現預測誤差門控、FSRS-6間隔重複、記憶夢境等29個神經科學模塊,為AI提供長期記憶能力。包含3D可視化儀表板和21個MCP工具,完全本地運行,無需雲端。
Rust
6.4K
4.5分
M
Moltbrain
MoltBrain是一個為OpenClaw、MoltBook和Claude Code設計的長期記憶層插件,能夠自動學習和回憶項目上下文,提供智能搜索、觀察記錄、分析統計和持久化存儲功能。
TypeScript
6.0K
4.5分

Bm.md
一個功能豐富的Markdown排版工具,支持多種樣式主題和平臺適配,提供即時編輯預覽、圖片導出和API集成能力
TypeScript
4.3K
5分
S
Security Detections MCP
Security Detections MCP 是一個基於Model Context Protocol的服務器,允許LLM查詢統一的安全檢測規則數據庫,涵蓋Sigma、Splunk ESCU、Elastic和KQL格式。最新3.0版本升級為自主檢測工程平臺,可自動從威脅情報中提取TTPs、分析覆蓋差距、生成SIEM原生格式檢測規則、運行測試並驗證。項目包含71+工具、11個預構建工作流提示和知識圖譜系統,支持多SIEM平臺。
TypeScript
6.5K
4分

Paperbanana
PaperBanana是一個自動化生成學術圖表和統計圖的智能框架,支持從文本描述生成高質量的論文插圖,採用多智能體管道和迭代優化,提供CLI、Python API和MCP服務器等多種使用方式。
Python
6.8K
5分

Better Icons
一個提供超過20萬圖標搜索和檢索的MCP服務器和CLI工具,支持150多個圖標庫,幫助AI助手和開發者快速獲取和使用圖標。
TypeScript
6.6K
4.5分

Assistant Ui
assistant-ui是一個開源TypeScript/React庫,用於快速構建生產級AI聊天界面,提供可組合的UI組件、流式響應、無障礙訪問等功能,支持多種AI後端和模型。
TypeScript
6.7K
5分
A
Apify MCP Server
Apify MCP服務器是一個基於模型上下文協議(MCP)的工具,允許AI助手通過數千個現成的爬蟲、抓取器和自動化工具(Apify Actor)從社交媒體、搜索引擎、電商等網站提取數據。它支持OAuth和Skyfire代理支付,可通過HTTPS端點或本地stdio方式集成到Claude、VS Code等MCP客戶端中。
TypeScript
6.6K
5分

Markdownify MCP
Markdownify是一個多功能文件轉換服務,支持將PDF、圖片、音頻等多種格式及網頁內容轉換為Markdown格式。
TypeScript
31.8K
5分

Baidu Map
已認證
百度地圖MCP Server是國內首個兼容MCP協議的地圖服務,提供地理編碼、路線規劃等10個標準化API接口,支持Python和Typescript快速接入,賦能智能體實現地圖相關功能。
Python
39.2K
4.5分

Firecrawl MCP Server
Firecrawl MCP Server是一個集成Firecrawl網頁抓取能力的模型上下文協議服務器,提供豐富的網頁抓取、搜索和內容提取功能。
TypeScript
121.6K
5分

Sequential Thinking MCP Server
一個基於MCP協議的結構化思維服務器,通過定義思考階段幫助分解複雜問題並生成總結
Python
31.6K
4.5分

Notion Api MCP
已認證
一個基於Python的MCP服務器,通過Notion API提供高級待辦事項管理和內容組織功能,實現AI模型與Notion的無縫集成。
Python
19.3K
4.5分

Magic MCP
Magic Component Platform (MCP) 是一個AI驅動的UI組件生成工具,通過自然語言描述幫助開發者快速創建現代化UI組件,支持多種IDE集成。
JavaScript
19.4K
5分

Edgeone Pages MCP Server
EdgeOne Pages MCP是一個通過MCP協議快速部署HTML內容到EdgeOne Pages並獲取公開URL的服務
TypeScript
23.2K
4.8分

Context7
Context7 MCP是一個為AI編程助手提供即時、版本特定文檔和代碼示例的服務,通過Model Context Protocol直接集成到提示中,解決LLM使用過時信息的問題。
TypeScript
81.1K
4.7分