Brevo in OpenCode
Add Brevo's MCP server under mcp in your OpenCode config with your MCP token, then ask OpenCode in plain language to work with your Brevo contacts, campaigns and deals.

Ask OpenCode to...
How many contacts do I have, and how many joined this week?
Add jane@example.com to my Newsletter list with the first name Jane.
Create a list called Beta testers.
Draft an email campaign to the Customers list announcing our new pricing.
Show my last five email campaigns with their open and click rates.
Send my Order confirmation transactional template to a test address.
Which of my senders and domains are verified?
List the deals in the Negotiation stage.
Create a deal for Acme Corp worth 12,000 in the Qualified stage.
Once Brevo is connected, ask OpenCode questions like these.
Add Brevo to OpenCode
Create your MCP key
In Brevo, go to Settings > SMTP & API > API Keys & MCP and click Generate a new API key. Name it after the AI assistant that will use it, activate Create MCP server API key, and copy the key: it is only visible once.
Add the Brevo server
In your OpenCode config, define a brevo server under mcp, servers: set "type" to "remote" and "url" to https://mcp.brevo.com/v1/brevo/mcp. In headers, pass Authorization: Bearer {env:BREVO_MCP_TOKEN}, and set BREVO_MCP_TOKEN to your MCP token.
Check the connection
Run opencode mcp list to see all MCP servers and their auth status. Then try a first prompt: How many contacts do I have?



What you can do with Brevo in OpenCode
Manage contacts and lists
Manage contacts and lists, view contact segments, manage contact attributes, and import and export contacts in bulk.
Create and track email campaigns
Ask your AI assistant to create an email campaign for your product launch. Manage email templates and view campaign performance.
Keep transactional templates close
Manage transactional email templates, and send one to a test address before you ship.
Check deals and pipelines
Ask your AI assistant: Show me deals in the Negotiation stage. Brevo's MCP servers also manage CRM tasks and add notes to contacts and deals.



