marketing
Brevo MCP Integration for Vercel AI SDK
Connect Brevo to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Brevo to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Brevo MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |