The Customer.io MCP Server
UpdatedHow it works
Our Model Context Protocol (MCP) Server helps you interact with Customer.io through your favorite AI tools—Claude, Cursor, and so on.
Where you might be able to use our APIs to do some things, the MCP server is a layer of tools that includes features that aren’t possible with our APIs today.
Make sure you trust your AI tools
Our MCP server works with your AI provider of choice and it includes tools that return information about people in your workspace. While our LLM subprocessors don’t store this data, the AI providers you use might. Make sure that you use AI tools that are approved by your organization to ensure the safety of your—and your customers’—data.
What tools does the MCP server support?
The table below shows the tools that are currently available to our MCP server. Most definitions come directly from the tools themselves, though we’ve summarized some of the more complex tools to make them easier to understand.
While we’re actively working on MCP features, our list of tools is rapidly changing. We’re working on new tools, and consolidating existing tools, to help you use Customer.io effectively. Do you have a specific tool in mind? Let us know and we’ll add it to our list.
Tool Name | Description |
---|---|
customerio_sdk_setup | Set up and configure Customer.io SDKs in your application. This tool provides helps you integrate Customer.io into mobile and web applications, including authentication and adding necessary code to your app.* |
generate_segment | Generates a segment based on the user’s request and optional discovered data obtained with the search_workspace tool. |
inspect_user_profile | Fetches the complete state of a single customer profile in a workspace — attributes, objects, present-moment segment memberships, and related history in different campaigns. Use when someone asks questions like "Show me everything we know about user 123" or "Why didn’t this person receive message X?" |
list_attributes | Returns every attribute for any customer profile in a workspace. |
list_segments | Returns every segment (manual and dynamic) plus live profile count, last refreshed timestamp, and segment type in the given workspace. Use to diagnose sudden membership drops or to pick a target audience programmatically. Never reveals the actual member list—only tallies. |
list_workspaces | Lists the workspaces the user has access to and has allowed via the MCP OAuth flow. |
search_workspace | Search the current workspace for various data, ex: attributes, events, message names, etc. |
* Summary of tool's description. See the tool in your environment for the full description.
Enable MCP support for your account
You must be an account admin to enable MCP support for your account. This enables the feature for your account, but you and other users still need to set up your clients to use it.
Go to > Account Settings and then click Privacy & Data.
Enable Customer.io MCP.
Set up your MCP client
Before you can use the MCP server, you’ll need to Enable MCP support for your account. If you haven’t done that yet, you won’t see MCP support in your personal settings.
Cursor and other IDEs (Windsurf, VS Code, etc)
Adding MCP support to your integrated development environment (IDE) depends on whether you use Cursor—for which we have a one-click setup—or another tool like Windsurf.
Go to > Personal Settings.
Click the Cursor tab and enable support for your IDE:
- If you use Cursor, click Add to Cursor.
- If you use another tool like Windsurf, you’ll add some JSON to your MCP file. The example below is for Cursor; the exact JSON for your tool might change but, no matter which tool you use, you’ll need to add our MCP
url
.
{ "mcpServers": { "CustomerIO": { "url": "https://mcp.customer.io/mcp" } } }
When you’ve added MCP support, your IDE will show that you need to login or authenticate with Customer.io. In Cursor, you’ll click Needs Login to authenticate with Customer.io.
Pick the workspaces you want to use with the MCP server.
Claude Desktop and similar tools
The instructions below focus on Claude Desktop, but the exact path to add Customer.io MCP support depends on the tool you use, but you’ll need to add the URL of our server to any tool you use: https://mcp.customer.io/mcp
or https://mcp-eu.customer.io/mcp
if your Customer.io account is in the EU.
Go to > Personal Settings.
Click the Claude Desktop tab and enable support for your tool.
- For Claude Desktop, go to Settings > Connectors and click Add custom connector.
- Add the MCP server URL:
https://mcp.customer.io/mcp
orhttps://mcp-eu.customer.io/mcp
if your Customer.io account is in the EU. - Click Connect.
Pick the workspaces you want to use with the MCP server.
Find your workspace
When you use our MCP server, you’ll often need to tell it which workspace you want to work in. Otherwise, the MCP server may ask you to select a workspace. You can select your workspace by name or by ID. You can even use the MCP server to list your available workspaces.
You’ll find the name of your workspace in the upper-left corner of our interface. You’ll find the ID of your workspace in the URL when you’re on the Dashboard page.


See MCP sessions
We log MCP sessions so you can control and revoke your own MCP sessions.
- Go to > Personal Settings.
- Under Connected clients, click View sessions.
From here you can see active sessions for a client. Click Revoke to end a session and require the client to re-authenticate with Customer.io

