marketing
Brevo MCP Integration for OpenAI Agents SDK
Connect Brevo to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Brevo to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Brevo MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-brevo": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=brevo",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=brevo --write=deny Why Use KosmoKrator Here
Expose only Brevo instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Brevo Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Brevo integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__brevo__brevo_list_contacts | brevo.brevo_list_contacts | Read | List contacts in your Brevo account. Supports pagination and filtering by email or search term. |
integration__brevo__brevo_get_contact | brevo.brevo_get_contact | Read | Get details of a specific contact in Brevo by their email address. Returns contact attributes, list memberships, and creation date. |
integration__brevo__brevo_create_contact | brevo.brevo_create_contact | Write | Create a new contact in Brevo. You can set attributes like first name and last name, and add the contact to one or more lists. |
integration__brevo__brevo_list_lists | brevo.brevo_list_lists | Read | List all contact lists in your Brevo account. Supports pagination with limit and offset. |
integration__brevo__brevo_get_list | brevo.brevo_get_list | Read | Get details of a specific contact list in Brevo by its ID. Returns the list name, total subscribers, and other metadata. |
integration__brevo__brevo_send_email | brevo.brevo_send_email | Write | Send a transactional email via Brevo. Specify sender, recipients, subject, and HTML or text content. |
integration__brevo__brevo_get_account | brevo.brevo_get_account | Read | Get information about the connected Brevo account, including email, plan details, and account statistics. |