marketing
Customer.io MCP Integration for Claude Code
Connect Customer.io to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Customer.io to Claude Code
Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.
Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Code can inspect read-capable tools without receiving write access by default.
Customer.io MCP Config for Claude Code
Claude Code can launch the local kosmo binary directly from the project MCP config.
{
"mcpServers": {
"kosmokrator-customerio": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=customerio",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=customerio --write=deny Why Use KosmoKrator Here
Expose only Customer.io 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.
Customer.io Tools Visible to Claude Code
Claude Code sees stable MCP tool names generated from the Customer.io integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__customerio__customerio_identify_customer | customerio.customerio_identify_customer | Write | Create or update a customer profile in Customer.io. Use this to add new customers or update existing customer attributes like email, name, and custom properties. |
integration__customerio__customerio_track_event | customerio.customerio_track_event | Write | Track a custom event for a customer in Customer.io. Events trigger campaign workflows and can be used to segment customers. |
integration__customerio__customerio_list_segments | customerio.customerio_list_segments | Read | List all segments in the Customer.io workspace. Segments are dynamic groups of customers defined by conditions. |
integration__customerio__customerio_list_campaigns | customerio.customerio_list_campaigns | Read | List all campaigns in the Customer.io workspace. Campaigns are automated message sequences triggered by events or segments. |
integration__customerio__customerio_get_campaign | customerio.customerio_get_campaign | Read | Get detailed information about a specific campaign in Customer.io, including its triggers, actions, and performance metrics. |
integration__customerio__customerio_list_newsletters | customerio.customerio_list_newsletters | Read | List all newsletters in the Customer.io workspace. Newsletters are one-time broadcast messages sent to segments. |
integration__customerio__customerio_get_current_user | customerio.customerio_get_current_user | Read | Get the currently authenticated user and account information from Customer.io. Useful for verifying API credentials and checking workspace details. |