marketing
Braze MCP Integration for LangGraph
Connect Braze to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Braze to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Braze MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-braze": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=braze",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=braze --write=deny Why Use KosmoKrator Here
Expose only Braze 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.
Braze Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Braze integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__braze__braze_list_campaigns | braze.braze_list_campaigns | Read | List marketing campaigns from Braze. Returns campaign IDs, names, tags, and creation dates. Use pagination to browse large numbers of campaigns. |
integration__braze__braze_get_campaign | braze.braze_get_campaign | Read | Get detailed information about a specific Braze campaign, including targeting rules, messaging content, schedule, and analytics. |
integration__braze__braze_list_canvases | braze.braze_list_canvases | Read | List canvases (multi-step customer journeys) from Braze. Returns canvas IDs, names, tags, and creation dates. Use pagination to browse large result sets. |
integration__braze__braze_get_canvas | braze.braze_get_canvas | Read | Get detailed information about a specific Braze canvas, including steps, targeting rules, messaging channels, and analytics. |
integration__braze__braze_list_users | braze.braze_list_users | Read | Export users from Braze by segment ID or external IDs. Returns user profile data including attributes and subscription state. Provide either a segment_id to get users in a segment, or external_ids to look up specific users. |
integration__braze__braze_get_user | braze.braze_get_user | Read | Get a single user profile from Braze by their external ID. Returns full profile data including attributes, custom attributes, events, purchases, and subscription groups. |
integration__braze__braze_get_current_user | braze.braze_get_current_user | Read | Get the current authenticated Braze user profile. Useful for verifying credentials and identifying the connected workspace. |