MCP server for Braze marketing analytics
## Braze MCP Server: Customer Engagement Automation The **Braze MCP Server** integrates the leading customer engagement platform directly into Google Antigravity, enabling AI assistants to manage campaigns, track user behavior, and orchestrate personalized messaging across channels. This integration brings enterprise-grade marketing automation to your development workflow for building customer-centric applications. ### Why Braze MCP? - **Omnichannel Messaging**: Orchestrate campaigns across push, email, SMS, in-app, and web messaging from a unified platform - **Real-Time Personalization**: Deliver personalized content based on user behavior, preferences, and predicted actions - **Canvas Workflows**: Build sophisticated customer journeys with branching logic, A/B testing, and conversion tracking - **Predictive Intelligence**: Leverage machine learning for churn prediction, optimal send times, and message optimization - **Data Flexibility**: Stream user events and attributes in real-time with comprehensive SDK and API support ### Key Features #### 1. Campaign Management ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create a push notification campaign for users who abandoned their cart in the last 24 hours" }], tools=[{ "name": "braze_campaign", "description": "Create and manage campaigns" }] ) ``` #### 2. User Tracking ```python # Track user events and attributes response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Update user profile with purchase history and set their loyalty tier to Gold" }], tools=[{"name": "braze_user_track", "description": "Track user data"}] ) ``` #### 3. Segment Management ```python # Create and manage segments response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create a segment of users who made a purchase in the last 30 days but have not opened our app in 7 days" }], tools=[{"name": "braze_segments", "description": "Manage user segments"}] ) ``` #### 4. Canvas Workflows ```python # Build customer journeys response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Design an onboarding canvas with welcome email, day-3 tips push, and day-7 feature highlight" }], tools=[{"name": "braze_canvas", "description": "Create customer journeys"}] ) ``` ### Configuration ```json { "mcpServers": { "braze": { "command": "npx", "args": ["-y", "@anthropic/mcp-braze"], "env": { "BRAZE_API_KEY": "your-braze-api-key", "BRAZE_REST_ENDPOINT": "your-braze-endpoint" } } } } ``` ### Use Cases **User Onboarding**: Create personalized onboarding sequences that adapt based on user actions and engagement patterns. **Retention Campaigns**: Build automated win-back campaigns targeting users at risk of churning with personalized offers. **Transactional Messaging**: Trigger real-time notifications for order updates, delivery status, and account activity. **Growth Marketing**: Orchestrate referral programs, upsell campaigns, and cross-channel promotional strategies. The Braze MCP Server brings enterprise customer engagement capabilities directly into your development workflow, enabling sophisticated marketing automation at scale.
{
"mcpServers": {
"braze": {
"mcpServers": {
"braze": {
"env": {
"BRAZE_API_KEY": "YOUR_API_KEY",
"BRAZE_REST_ENDPOINT": "https://rest.iad-01.braze.com"
},
"args": [
"braze-mcp-server"
],
"command": "uvx"
}
}
}
}
}