Customer.io MCP by usefulapi
Query people, segments, campaigns, and message deliveries; send transactional email or broadcasts.
使うべきか
品質と安全性
検出事項(5)
- LOWcustomerio_get_customer_attributes 内
- LOWcustomerio_get_customer_segments 内
- LOWcustomerio_get_customer_messages 内
- LOWcustomerio_get_campaign_metrics 内
- LOWcustomerio_send_transactional_email 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"customerio": {
"url": "https://customerio.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://customerio.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(13)
🟢customerio_search_customers(filter, limit, start)
Search/list people by a Customer.io filter (segment or attribute conditions). e.g. filter={"segment":{"id":7}} or {"and":[...]}. App API: POST /v1/customers.
入力スキーマ
{
"type": "object",
"properties": {
"filter": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Customer.io filter object, e.g. {\"segment\":{\"id\":7}} or {\"and\":[{\"attribute\":{\"field\":\"email\",\"operator\":\"exists\"}}]}."
},
"limit": {
"description": "Max people to return.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"start": {
"description": "Pagination cursor from a previous response's `next`.",
"type": "string"
}
},
"required": [
"filter"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_get_customer_attributes(customer_id)
Get a single person's attributes (profile fields). App API: GET /v1/customers/{customer_id}/attributes.
入力スキーマ
{
"type": "object",
"properties": {
"customer_id": {
"type": "string",
"description": "The person's id (or cio_id / email, per your identifier setup)."
}
},
"required": [
"customer_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_get_customer_segments(customer_id)
List the segments a single person belongs to. App API: GET /v1/customers/{customer_id}/segments.
入力スキーマ
{
"type": "object",
"properties": {
"customer_id": {
"type": "string",
"description": "The person's id."
}
},
"required": [
"customer_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_get_customer_messages(customer_id, limit, start)
List messages (deliveries) sent to a single person. App API: GET /v1/customers/{customer_id}/messages.
入力スキーマ
{
"type": "object",
"properties": {
"customer_id": {
"type": "string",
"description": "The person's id."
},
"limit": {
"description": "Max messages to return.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"start": {
"description": "Pagination cursor from a previous response's `next`.",
"type": "string"
}
},
"required": [
"customer_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_list_segments
List all segments in the workspace (id + name + type). App API: GET /v1/segments.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_list_campaigns
List all campaigns in the workspace. App API: GET /v1/campaigns.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_get_campaign(campaign_id)
Get a single campaign by id. App API: GET /v1/campaigns/{campaign_id}.
入力スキーマ
{
"type": "object",
"properties": {
"campaign_id": {
"description": "Campaign id.",
"type": [
"string",
"number"
]
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_get_campaign_metrics(campaign_id, period, steps, type)
Get delivery/engagement metrics for a campaign over time. App API: GET /v1/campaigns/{campaign_id}/metrics.
入力スキーマ
{
"type": "object",
"properties": {
"campaign_id": {
"description": "Campaign id.",
"type": [
"string",
"number"
]
},
"period": {
"description": "Bucket size. Default days.",
"type": "string",
"enum": [
"hours",
"days",
"weeks",
"months"
]
},
"steps": {
"description": "Number of periods to return.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"type": {
"description": "Metric type filter (e.g. email, push, sms).",
"type": "string"
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_list_messages(limit, start, type, campaign_id, newsletter_id, ...)
List sent messages (deliveries) across the workspace, filterable by type/campaign/newsletter. App API: GET /v1/messages.
入力スキーマ
{
"type": "object",
"properties": {
"limit": {
"description": "Max messages to return.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"start": {
"description": "Pagination cursor from a previous response's `next`.",
"type": "string"
},
"type": {
"description": "Message type filter, e.g. email | push | sms | in_app | webhook | slack | twilio.",
"type": "string"
},
"campaign_id": {
"description": "Filter to a specific campaign.",
"type": [
"string",
"number"
]
},
"newsletter_id": {
"description": "Filter to a specific newsletter.",
"type": [
"string",
"number"
]
},
"drafts": {
"description": "Include drafts.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_list_exports
List data exports in the workspace. App API: GET /v1/exports.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢customerio_list_collections
List reusable data collections in the workspace. App API: GET /v1/collections.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴customerio_send_transactional_email(transactional_message_id, to, identifiers, message_data, from, ...)
⚠️ SENDS A REAL EMAIL. Send a transactional email using a transactional message template. Delivers immediately to the `to` recipient. App API: POST /v1/send/email.
入力スキーマ
{
"type": "object",
"properties": {
"transactional_message_id": {
"description": "The transactional message template id (or trigger name).",
"type": [
"string",
"number"
]
},
"to": {
"type": "string",
"description": "Recipient email address."
},
"identifiers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Person identifiers, e.g. {\"id\":\"...\"} or {\"email\":\"...\"}."
},
"message_data": {
"description": "Template variables (liquid) to interpolate into the message.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"from": {
"description": "Override the sender address.",
"type": "string"
},
"subject": {
"description": "Override the subject line.",
"type": "string"
},
"body": {
"description": "Override the email body.",
"type": "string"
},
"disable_message_retention": {
"description": "If true, don't retain the message body.",
"type": "boolean"
},
"send_to_unsubscribed": {
"description": "If true, send even to unsubscribed recipients.",
"type": "boolean"
}
},
"required": [
"transactional_message_id",
"to",
"identifiers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴customerio_trigger_broadcast(broadcast_id, data, recipients, email_add_duplicates, email_ignore_missing, ...)
⚠️ SENDS TO REAL RECIPIENTS. Trigger an API-triggered broadcast, delivering to the resolved recipient set. App API: POST /v1/send/broadcast (posts to /v1/campaigns/{broadcast_id}/triggers).
入力スキーマ
{
"type": "object",
"properties": {
"broadcast_id": {
"description": "The API-triggered broadcast id.",
"type": [
"string",
"number"
]
},
"data": {
"description": "Liquid variables available to the broadcast templates.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"recipients": {
"description": "Recipient filter object (overrides the broadcast's configured audience).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"email_add_duplicates": {
"description": "Allow duplicate email recipients.",
"type": "boolean"
},
"email_ignore_missing": {
"description": "Skip recipients missing an email instead of erroring.",
"type": "boolean"
},
"id_ignore_missing": {
"description": "Skip recipients missing an id instead of erroring.",
"type": "boolean"
}
},
"required": [
"broadcast_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス