关于 Customer Io
Customer Io 是只读 MCP 服务,可读取 Customer.io Journeys 的营销活动、受众细分和消息投递数据。它面向需要查看活动状态与互动情况的 Agent,并提供 Pipeworx 网关和本地 stdio 两种接入方式。
主要功能
- 01列出生命周期营销活动及状态
- 02获取按时间分段的投递与互动指标
- 03查看受众细分及构建状态
- 04检查消息投递和收件人结果
适用场景
- 01查看营销活动状态与表现
- 02比较不同时段的投递和互动情况
- 03核查细分构建状态
- 04检查收件人的消息结果
MCP 相关
向 MCP 客户端提供只读的 Customer.io Journeys App API 工具。可经 Pipeworx 使用,也可作为本地 stdio MCP 服务运行;网关端点还包含 Pipeworx 共享元工具。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/customer-io/mcpclaude mcp add --transport http pipeworx-io-customer-io https://gateway.pipeworx.io/customer-io/mcp{"mcpServers":{"pipeworx-io-customer-io":{"type":"http","url":"https://gateway.pipeworx.io/customer-io/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-customer-io":{"type":"http","url":"https://gateway.pipeworx.io/customer-io/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-customer-io":{"type":"http","url":"https://gateway.pipeworx.io/customer-io/mcp"}}}{"mcpServers":{"pipeworx-io-customer-io":{"serverUrl":"https://gateway.pipeworx.io/customer-io/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
Customer.io MCP
从 Customer.io Journeys App API 读取营销活动、细分受众和消息投递数据。
属于 Pipeworx — 一个将 AI Agent 连接到 1875+ 个实时数据源的 MCP 网关。这是一个独立的非官方集成,与上游提供商无关联、未获其认可,也不是由其发布。
工具
cio_list_campaigns— 列出生命周期营销活动及其状态cio_campaign_metrics— 获取按时间分段的投递和互动指标cio_list_segments— 列出受众细分及其构建状态cio_list_messages— 检查范围限定的消息投递及收件人级别结果
身份验证
将范围受限的 Customer.io App API 密钥作为 _apiKey 传入。对于欧盟区域工作区,设置 _region: "eu";默认值为美国区域。此工具包为只读。
数据源
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"customer-io": {
"url": "https://gateway.pipeworx.io/customer-io/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/customer-io/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 共享元工具 — ask_pipeworx、
discover_tools、search_within、remember/recall 和网关全局工具集中的其他工具。因此,你看到的工具数量会多于此表所列:目前,单个工具包端点除自身工具外,还会列出约 30 个共享工具。连接的 initialize 响应会说明其确切范围,是了解当天实际情况的权威依据。
这是有意为之,并非意外复用。元工具让范围受限的连接也能回答此工具包未涵盖的问题 — 通过 ask_pipeworx 跨整个目录路由 — 无需添加第二个 MCP 服务。目前无法在不启用这些工具的情况下挂载工具包端点;如果额外的架构定义消耗的上下文超过路由功能带来的价值,请连接一次完整网关,而不是连接多个工具包端点。
或者,连接完整的 Pipeworx 网关,直接列出每个工具包的所有工具,而不仅是此工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都会访问同一个网关和相同的 1875+ 个数据源。唯一的区别是哪些工具包的工具会被直接列出;通过任一端点,ask_pipeworx 都能访问所有工具。
没有 MCP 客户端?通过 HTTP 调用
此工具包需要你自己的 API 密钥(_apiKey)— 我们不会代为提供,因此没有无需密钥即可运行的 curl 示例。查看任意工具:GET https://gateway.pipeworx.io/v1/tools/cio_list_campaigns。查找工具:POST https://gateway.pipeworx.io/v1/tools/search_packs,并传入 {"query":"..."}。
独立运行(无需网关账户)
此软件包也可作为本地 stdio MCP 服务运行 — 无需 Pipeworx 账户,也无需往返网关:
{
"mcpServers": {
"customer-io": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-customer-io"]
}
}
}
或者直接运行以确认服务已启动:
npx -y @pipeworx/mcp-customer-io
它通过 stdin/stdout 使用 MCP 通信,并针对仅此工具包的工具响应 initialize/tools/list/tools/call — 不包含上方网关连接额外提供的任何共享元工具。数据源相同,工具相同,但没有 ask_pipeworx 路由功能。
与 ask_pipeworx 搭配使用
你可以用通俗英语提出问题,而不必直接调用工具 — 此方式既适用于上方的工具包端点,也适用于完整网关:
ask_pipeworx({ question: "your question about Customer Io data" })
网关会自动选择合适的工具并填充参数。
更多信息
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。