SendLayer MCP by usefulapi

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

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
84%
Naming quality
100%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,559Tokens (tool definitions)
~2.8 KBTypical response size
Moderate attention impact (1.22% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "sendlayer": {
      "url": "https://sendlayer.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

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

What it can do

Tool inventory

Tools (5)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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}.

Input Schema

{
  "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"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded5 tools