SmartrMail MCP by usefulapi
Read subscriber lists and one subscriber; create lists and update subscribers in SmartrMail.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (2)
- LOWen smartrmail_unsubscribe_subscriber
- LOWen smartrmail_resubscribe_subscriber
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": {
"smartrmail": {
"url": "https://smartrmail.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://smartrmail.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (8)
🟢smartrmail_list_lists
List all subscriber lists in the account, with each list's id, name and subscriber count. Good first call to find a list_id. SmartrMail API: GET /lists.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢smartrmail_get_list(list_id)
Get one subscriber list by id: its name and subscriber count. SmartrMail API: GET /lists/{list_id}.
Esquema de entrada
{
"type": "object",
"properties": {
"list_id": {
"type": "string",
"minLength": 1,
"description": "The list id (from smartrmail_list_lists)."
}
},
"required": [
"list_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢smartrmail_get_subscriber(subscriber_id)
Get one subscriber by email address, phone number or UID: contact fields, subscribed state, unsubscribed_at, delivery, open and click counts, and custom fields. SmartrMail API: GET /subscribers/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴smartrmail_create_list(name)
Create a new subscriber list with a name. Each call creates a new list. SmartrMail API: POST /lists.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Name of the new list."
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_rename_list(list_id, name)
Change the name of one subscriber list. Repeating the same call leaves the list unchanged. SmartrMail API: PUT /lists/{list_id}.
Esquema de entrada
{
"type": "object",
"properties": {
"list_id": {
"type": "string",
"minLength": 1,
"description": "The list id (from smartrmail_list_lists)."
},
"name": {
"type": "string",
"minLength": 1,
"description": "The new name for the list."
}
},
"required": [
"list_id",
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_update_subscriber(subscriber_id, first_name, last_name, phone, subscribed, ...)
Update a subscriber's name, phone, subscribed flag or custom fields. Only the fields you pass change. Custom fields are matched by field_name. Repeating the same call leaves the subscriber unchanged. SmartrMail API: PUT /subscribers/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
},
"first_name": {
"description": "New first name.",
"type": "string"
},
"last_name": {
"description": "New last name.",
"type": "string"
},
"phone": {
"description": "New phone number.",
"type": "string"
},
"subscribed": {
"description": "Set false to mark as unsubscribed, true to mark as subscribed.",
"type": "boolean"
},
"custom_fields": {
"description": "Custom fields to set or update.",
"type": "array",
"items": {
"type": "object",
"properties": {
"field_name": {
"type": "string",
"minLength": 1,
"description": "Custom field name, for example \"City\"."
},
"value": {
"description": "Field value. Use YYYY-MM-DD for date and birthday types.",
"type": [
"string",
"number"
]
},
"value_type": {
"type": "string",
"enum": [
"text",
"number",
"date",
"birthday"
],
"description": "Field type."
}
},
"required": [
"field_name",
"value",
"value_type"
]
}
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_unsubscribe_subscriber(subscriber_id)
Unsubscribe a subscriber so they receive no more campaigns. Changes only the subscription status; custom field data stays. SmartrMail API: POST /subscribers/{id}/unsubscribe.
Esquema de entrada
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_resubscribe_subscriber(subscriber_id)
Mark a subscriber as subscribed again. Does not trigger list welcome automations. Custom field data stays. SmartrMail API: POST /subscribers/{id}/resubscribe.
Esquema de entrada
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia