Customer.io MCP by usefulapi
Query people, segments, campaigns, and message deliveries; send transactional email or broadcasts.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (5)
- LOWen customerio_get_customer_attributes
- LOWen customerio_get_customer_segments
- LOWen customerio_get_customer_messages
- LOWen customerio_get_campaign_metrics
- LOWen customerio_send_transactional_email
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"customerio": {
"url": "https://customerio.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://customerio.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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}.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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).
Esquema de entrada
{
"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"
}Comunidad
Evidencia