KosmoKrator

marketing

Brevo MCP Integration for Claude Agent SDK

Connect Brevo to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write API key auth

Connect Brevo to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Brevo MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Brevo instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Brevo Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Brevo integration catalog.

MCP toolSource functionTypeDescription
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.

Related Brevo Pages