KosmoKrator

marketing

Braze MCP Integration for OpenAI Agents SDK

Connect Braze to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write API key auth

Connect Braze 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.

Braze MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

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

Scoped tools

Expose only Braze 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.

Braze Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Braze integration catalog.

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

Related Braze Pages