Brevo MCP server

Integrates with Brevo's Multi-Channel Platform API to enable email campaign management, contact list handling, and automated marketing communications.
Back to servers
Setup instructions
Provider
Antoine Picolet
Release date
Feb 12, 2025
Language
TypeScript

This MCP server enables seamless integration between Claude AI and Brevo's marketing/email platform, allowing you to manage contacts and send emails directly from Claude conversations.

Getting Started

Installation

To use the Brevo MCP server with Claude Desktop:

  1. Add the Brevo MCP configuration to your Claude Desktop config file (typically located at ~/.config/claude-next/config.json):
{
  "MCPServers": {
    "brevo": {
      "command": ["npx", "@apicolet/brevo-mcp"],
      "config": {
        "apiKey": "your-brevo-api-key-here"
      }
    }
  }
}
  1. Restart Claude Desktop for the configuration to take effect

Obtaining a Brevo API Key

To get your Brevo API key:

  1. Create an account on Brevo if you don't already have one
  2. Navigate to your account settings
  3. Look for the API Keys section and generate a new key
  4. Copy this key to your Claude Desktop configuration

Using Brevo MCP

Sending Emails

Send transactional emails directly from Claude:

// Send a transactional email
const result = await mcp.brevo.send_email({
  to: [{ 
    email: "[email protected]",
    name: "John Doe"
  }],
  subject: "Hello from Claude!",
  htmlContent: "<h1>Welcome!</h1><p>This is a test email.</p>"
});

Managing Contacts

Retrieve contact information:

// Get contact details by email
const contact = await mcp.brevo.get_contact("[email protected]");

Update contact attributes:

// Update contact attributes
await mcp.brevo.update_contact(contact.id, {
  attributes: {
    FIRSTNAME: "John",
    LASTNAME: "Doe",
    COMPANY: "Acme Inc"
  }
});

Available Tools

The Brevo MCP provides these core functions:

  • get_contact: Retrieve contact details by email or ID
  • update_contact: Update a contact's attributes
  • create_attribute: Create new custom contact attributes
  • send_email: Send transactional emails with customizable content
  • get_email_events: Track email delivery and engagement metrics

Security Best Practices

  • Never include your API key directly in conversations with Claude
  • Use the secure config section in Claude Desktop for storing your API key
  • Remember that the MCP server handles communication between Claude and Brevo without storing data locally

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "brevo" '{"command":"npx","args":["@apicolet/brevo-mcp"],"config":{"apiKey":"your-brevo-api-key-here"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "brevo": {
            "command": "npx",
            "args": [
                "@apicolet/brevo-mcp"
            ],
            "config": {
                "apiKey": "your-brevo-api-key-here"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "brevo": {
            "command": "npx",
            "args": [
                "@apicolet/brevo-mcp"
            ],
            "config": {
                "apiKey": "your-brevo-api-key-here"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later