marketing
Customer.io MCP Integration for Generic MCP Clients
Connect Customer.io to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Customer.io to Generic MCP Clients
Connect any stdio-compatible MCP client to local KosmoKrator integration tools.
Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with
--write=deny so MCP clients can inspect read-capable tools without receiving write access by default.
Customer.io MCP Config for Generic MCP Clients
Start with read-only write policy and expand only for trusted projects.
{
"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 MCP clients
MCP clients 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. |