KosmoKrator

marketing

Customer.io MCP, CLI, and Lua Integration for AI Agents

Customer.io integration docs for AI agents: MCP gateway setup, Customer.io CLI commands, Lua API reference, credentials, and function schemas.

7 functions 5 read 2 write API key auth

Customer.io for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
customerio
route_slug
customerio
package
customerio
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Customer.io MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Customer.io.

Customer.io CLI Matrix

Use these pages for direct Customer.io CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
customerio.customerio_identify_customer Write write 4 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.
customerio.customerio_track_event Write write 3 Track a custom event for a customer in Customer.io. Events trigger campaign workflows and can be used to segment customers.
customerio.customerio_list_segments Read read 0 List all segments in the Customer.io workspace. Segments are dynamic groups of customers defined by conditions.
customerio.customerio_list_campaigns Read read 0 List all campaigns in the Customer.io workspace. Campaigns are automated message sequences triggered by events or segments.
customerio.customerio_get_campaign Read read 1 Get detailed information about a specific campaign in Customer.io, including its triggers, actions, and performance metrics.
customerio.customerio_list_newsletters Read read 0 List all newsletters in the Customer.io workspace. Newsletters are one-time broadcast messages sent to segments.
customerio.customerio_get_current_user Read read 0 Get the currently authenticated user and account information from Customer.io. Useful for verifying API credentials and checking workspace details.