Aerostack
electrical_services

Customer Io MCP Server — Hosted Api Connectors Integration

MCP Server language Hosted language Public

Track customer events, manage profiles and segments, trigger campaigns and broadcasts with Customer.io.

aerostack @aerostack verified
v0.1.0 MIT Updated Jun 28, 2026
robot_2

Use with AI AssistantsMCP

Connect Claude, Cursor, or any MCP-compatible client — then call tools directly

① Add This MCP Server

Paste into your AI client config — then all its tools are available instantly.

.claude/mcp.json
{
  "mcpServers": {
    "customer-io": {
      "url": "https://mcp.aerostack.dev/s/aerostack/mcp-customer-io",
      "headers": {
        "Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
      }
    }
  }
}

Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.

② Call a Tool

Ask your AI assistant to call a specific tool, or send raw JSON-RPC:

+14 more

Natural Language Prompt

“Use the identify_customer tool to create or update (upsert) a customer profile by id. safe to call repeatedly — will update attributes without creating duplicates

Using a Workspace?

Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.

add_circleAdd to Workspace

description Overview

mcp-customer-io — Customer.io MCP Server

Track customer events, manage profiles, trigger campaigns and broadcasts via Customer.io — behavioral messaging automation for your AI agents.

Customer.io is a behavior-based messaging platform that lets you send targeted emails, push notifications, and SMS based on what people actually do. This MCP server gives your agents complete access: identify and update customer profiles, track events that trigger automations, manage segments, inspect campaigns, send transactional broadcasts, and retrieve delivery metrics.

Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-customer-io


What You Can Do

  • Identify and upsert customer profiles instantly from any inbound event or pipeline
  • Track named events (purchases, signups, cancellations) that trigger Customer.io automations
  • Batch multiple identify + track operations in a single call for bulk processing
  • Manage manual segments — add or remove customers programmatically
  • Trigger transactional broadcasts (password resets, one-time notifications) to specific customers
  • Pull campaign metrics and customer activity history for reporting and audits

Available Tools

Tool Description
Customers
identify_customer Create or update a customer profile (upsert by ID)
get_customer Get a customer profile by ID from the App API
update_customer Update attributes on an existing customer
delete_customer Permanently delete a customer and all their data
list_customers Search for customers using filter parameters
Events
track_event Track a named event for a specific customer
track_anonymous_event Track an event for an anonymous visitor
batch_track Send multiple identify/track operations in one request
get_customer_activities Get activity history for a customer
Segments
list_segments List all segments in the workspace
get_segment Get segment details including customer count
add_to_segment Add customers to a manual segment
remove_from_segment Remove customers from a manual segment
Campaigns
list_campaigns List all campaigns in the workspace
get_campaign Get full campaign details including actions
list_broadcasts List all transactional broadcasts
trigger_broadcast Trigger a transactional broadcast to a customer
Messages
get_campaign_metrics Get delivery and engagement metrics for a campaign
list_messages List messages sent to a specific customer
list_webhooks List all reporting webhooks

Configuration

Variable Required Description How to Get
CUSTOMER_IO_SITE_ID Yes Your Customer.io Site ID (used for Track API basic auth) Settings → API Credentials
CUSTOMER_IO_API_KEY Yes Your Customer.io API Key (used for both Track and App APIs) Settings → API Credentials

Quick Start

Add to Aerostack Workspace
  1. Go to aerostack.dev → Your Project → MCPs
  2. Search for "Customer.io" and click Add to Workspace
  3. Add CUSTOMER_IO_SITE_ID and CUSTOMER_IO_API_KEY under Project → Secrets

Once configured, every AI agent in your workspace can track events, manage customer data, and trigger campaigns automatically.

Example Prompts
"Identify user 'user-12345' in Customer.io with email alice@example.com and plan=pro"
"Track a 'subscription_cancelled' event for customer user-12345 with reason='price'"
"Add customers user-001, user-002, user-003 to manual segment ID 5"
"Trigger broadcast ID 20 to send a password reset to alice@example.com"
"Get campaign metrics for campaign 10 grouped by weeks"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-customer-io \
  -H 'Content-Type: application/json' \
  -H 'X-Mcp-Secret-CUSTOMER-IO-SITE-ID: your-site-id' \
  -H 'X-Mcp-Secret-CUSTOMER-IO-API-KEY: your-api-key' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"track_event","arguments":{"customer_id":"user-001","name":"purchased","data":{"plan":"pro","amount":49}}}}'
MCP Initialize
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-customer-io \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize"}'

Authentication Details

Customer.io uses two separate APIs with different auth schemes:

API Base URL Auth Method
Track API https://track.customer.io/api/v1 Basic auth: base64(SITE_ID:API_KEY)
App API https://api.customer.io/v1 Bearer token: Authorization: Bearer API_KEY

Write operations (identify, track events, delete) use the Track API. Read operations (list customers, segments, campaigns, metrics) use the App API. The worker handles this routing automatically — you only need to provide both secrets once.

Notes

  • identify_customer is an upsert — calling it repeatedly with the same id updates the profile without creating duplicates
  • batch_track uses the v2 batch endpoint (/api/v2/batch) which supports up to 1,000 operations per call
  • trigger_broadcast accepts either to.id (customer ID) or to.email — use whichever identifier you have
  • Segment membership via add_to_segment / remove_from_segment only works on manual segments; dynamic segments are computed automatically
  • get_customer_activities is paginated — use the next cursor from the response to fetch more

terminal Tools (20)

Available tools on this MCP server. Each tool can be called directly from any AI agent.

terminal
identify_customer #1

Create or update (upsert) a customer profile by ID. Safe to call repeatedly — will update attributes without creating duplicates.

terminal
get_customer #2

Get a customer profile by ID including email, attributes, and metadata.

terminal
update_customer #3

Merge new attribute values into an existing customer profile.

terminal
delete_customer #4

Permanently delete a customer and all their data from Customer.io.

terminal
list_customers #5

Search for customers using filter parameters such as email.

terminal
track_event #6

Track a named event for an identified customer. Triggers automations configured in Customer.io.

terminal
track_anonymous_event #7

Track an event for a visitor who has not yet been identified as a customer.

terminal
batch_track #8

Send multiple identify and/or track operations in one API call (up to 1000 operations).

terminal
get_customer_activities #9

Get the activity history for a customer (emails sent, events received, segment changes).

terminal
list_segments #10

List all segments in the Customer.io workspace.

terminal
get_segment #11

Get segment details including name, description, type, and customer count.

terminal
add_to_segment #12

Add one or more customers to a manual segment by customer ID.

terminal
remove_from_segment #13

Remove one or more customers from a manual segment by customer ID.

terminal
list_campaigns #14

List all campaigns in the Customer.io workspace.

terminal
get_campaign #15

Get full details of a specific campaign including name, active status, type, and timestamps.

terminal
list_broadcasts #16

List all transactional (API-triggered) broadcasts in the workspace.

terminal
send_broadcast #17

Trigger a transactional broadcast to a specific customer. Provide either to.id or to.email.

terminal
get_campaign_metrics #18

Get delivery and engagement metrics for a campaign, optionally grouped by time period.

terminal
list_webhooks #19

List all reporting webhooks configured in the Customer.io workspace.

terminal
get_workspace_info #20

Get workspace information including name and timezone. Also used as health check.

Details

upgrade Version 0.1.0
gavel License MIT
wifi Transport streamable-http
lock Access Public
category Category API Connectors
terminal Tools 20

language Live Endpoint

https://mcp.aerostack.dev/s/aerostack/mcp-customer-io

Sub-50ms globally · Zero cold start

Publisher

aerostack
@aerostack verified

Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.

Tags

Browse more servers

More in API Connectors

Browse API Connectors MCPs →

Frequently asked questions

What is the Customer Io MCP server and what can it do? +

The Customer Io MCP server is hosted on Aerostack and exposes these tools to your AI agent: `identify_customer`, `get_customer`, `update_customer`, `delete_customer`, `list_customers`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.

Is the Customer Io MCP server hosted, or do I have to run it myself? +

It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.

Which AI agents and editors can use the Customer Io MCP server? +

Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Customer Io MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.

How do I install the Customer Io MCP server in Claude Desktop? +

Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-customer-io": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-customer-io"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.

How do I use the Customer Io MCP server in Cursor? +

In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-customer-io", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-customer-io"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.

Does Customer Io MCP require authentication? +

Yes. Customer Io requires authentication. Check the MCP's documentation for the required credentials.