SendLayer MCP by usefulapi

Send emails, check delivery events and manage webhooks in SendLayer.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
84%
Calidad de los nombres
100%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,559Tokens (definiciones de herramientas)
~2.8 KBTamaño de respuesta típico
Impacto moderado en la atención (1.22% del contexto de 128k)

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": {
    "sendlayer": {
      "url": "https://sendlayer.usefulapi.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://sendlayer.usefulapi.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (5)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢sendlayer_get_events(start_date, end_date, event, message_id, start_from, ...)

Get the delivery events of your emails: accepted, rejected, failed, delivered, opened, clicked, unsubscribed, complained. Filter by time window, event type, or one email's MessageID. Pages with start_from and retrieve_count. Uses GET /events.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "start_date": {
      "description": "Start of the window, Unix timestamp in seconds.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "end_date": {
      "description": "End of the window, Unix timestamp in seconds.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "event": {
      "description": "Only this event type.",
      "type": "string",
      "enum": [
        "accepted",
        "rejected",
        "failed",
        "delivered",
        "opened",
        "clicked",
        "unsubscribed",
        "complained"
      ]
    },
    "message_id": {
      "description": "Only events of this email (MessageID from sendlayer_send_email).",
      "type": "string"
    },
    "start_from": {
      "description": "Offset of the first record (default 0).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "retrieve_count": {
      "description": "How many records to return (API default if omitted).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢sendlayer_list_webhooks

List the webhooks of your sender domain: id, event type, target URL, status, and the last response code. Uses GET /webhooks.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴sendlayer_send_email(from, to, cc, bcc, reply_to, ...)

Send a real email now: SendLayer accepts it at once and cannot recall it. The From address must use your verified sender domain. Give html_content, plain_content, or both (both is recommended). Limits: 10 To, 10 CC, 5 BCC recipients. This server accepts at most 4 MiB per request, base64 attachments included. Only send to people who consented to receive it. Uses POST /email and returns the MessageID; check delivery with sendlayer_get_events.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "from": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "Display name (required by the API)."
        },
        "email": {
          "type": "string",
          "minLength": 3,
          "description": "Email address. The From address must use your verified sender domain."
        }
      },
      "required": [
        "name",
        "email"
      ]
    },
    "to": {
      "minItems": 1,
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name (required by the API)."
          },
          "email": {
            "type": "string",
            "minLength": 3,
            "description": "Email address. The From address must use your verified sender domain."
          }
        },
        "required": [
          "name",
          "email"
        ]
      },
      "description": "1 to 10 recipients."
    },
    "cc": {
      "description": "Up to 10 CC recipients.",
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name (required by the API)."
          },
          "email": {
            "type": "string",
            "minLength": 3,
            "description": "Email address. The From address must use your verified sender domain."
          }
        },
        "required": [
          "name",
          "email"
        ]
      }
    },
    "bcc": {
      "description": "Up to 5 BCC recipients.",
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name (required by the API)."
          },
          "email": {
            "type": "string",
            "minLength": 3,
            "description": "Email address. The From address must use your verified sender domain."
          }
        },
        "required": [
          "name",
          "email"
        ]
      }
    },
    "reply_to": {
      "description": "Reply-To addresses.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Display name (required by the API)."
          },
          "email": {
            "type": "string",
            "minLength": 3,
            "description": "Email address. The From address must use your verified sender domain."
          }
        },
        "required": [
          "name",
          "email"
        ]
      }
    },
    "subject": {
      "type": "string",
      "minLength": 1,
      "description": "Subject line."
    },
    "html_content": {
      "description": "HTML body. Give this, plain_content, or both.",
      "type": "string"
    },
    "plain_content": {
      "description": "Plain-text body. Give this, html_content, or both.",
      "type": "string"
    },
    "tags": {
      "description": "Tags sent with the email.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "headers": {
      "description": "Extra message headers, for example X-Mailer.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "attachments": {
      "description": "Attachments; the whole request must stay under 4 MiB (base64 adds about 33%).",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "minLength": 1,
            "description": "Base64-encoded file content."
          },
          "type": {
            "type": "string",
            "minLength": 1,
            "description": "MIME type, for example application/pdf."
          },
          "filename": {
            "type": "string",
            "minLength": 1,
            "description": "File name shown to the recipient."
          },
          "disposition": {
            "description": "Default attachment.",
            "type": "string",
            "enum": [
              "attachment",
              "inline"
            ]
          },
          "content_id": {
            "description": "Content-ID for inline images.",
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "content",
          "type",
          "filename"
        ]
      }
    }
  },
  "required": [
    "from",
    "to",
    "subject"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴sendlayer_create_webhook(event, webhook_url)

Create a webhook that SendLayer calls for one event type: bounce, click, open, unsubscribe, complaint, or delivery. Each call adds a new webhook, so do not repeat it. Uses POST /webhooks and returns the new webhook id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "event": {
      "type": "string",
      "enum": [
        "bounce",
        "click",
        "open",
        "unsubscribe",
        "complaint",
        "delivery"
      ],
      "description": "Event type that triggers the webhook."
    },
    "webhook_url": {
      "type": "string",
      "minLength": 1,
      "description": "URL that receives the webhook calls (use https)."
    }
  },
  "required": [
    "event",
    "webhook_url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴sendlayer_delete_webhook(webhook_id)

Delete one webhook by its id (from sendlayer_list_webhooks). The webhook stops receiving events at once. Uses DELETE /webhooks/{id}.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "webhook_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "The webhook id (WebhookID from sendlayer_list_webhooks)."
    }
  },
  "required": [
    "webhook_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada5 herramientas