> ## Documentation Index
> Fetch the complete documentation index at: https://apidoc.mailercloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mailercloud MCP server

> Let AI agents act on your Mailercloud account — create campaigns, manage contacts, send email, and analyze performance via the Model Context Protocol.

Mailercloud ships a full-platform [Model Context Protocol](https://modelcontextprotocol.io) server. Connect it to Claude, Cursor, or any MCP-compatible agent and your assistant can **take real actions on your account** — not just read documentation.

```
https://mcp.mailercloud.com/mcp
```

<Info>
  This is different from the docs search MCP (`apidoc.mailercloud.com/mcp`), which lets agents *read this documentation*. The Mailercloud MCP server lets agents *operate your account*: create campaigns, manage contacts, send transactional email, and more. Most integrations want both.
</Info>

## What agents can do

47 tools covering the platform, including:

* **Campaigns** — list, create, update, schedule, send test emails, AI performance analysis and comparison
* **Contacts & lists** — create/update/upsert contacts, batch imports, manage lists and tags
* **Templates** — full CRUD
* **Transactional email** — send via the Email API
* **Webhooks & automations** — manage webhooks, inspect automations
* **Analytics** — engagement funnels, deliverability health, campaign audits and benchmarks

## Connect

**Claude (web/desktop):** Settings → Connectors → Add custom connector → paste the URL above; authenticate when prompted.

**Claude Code:**

```bash theme={null}
claude mcp add mailercloud --transport http https://mcp.mailercloud.com/mcp
```

**Cursor / other MCP clients:** add an HTTP (streamable) MCP server with the same URL.

## Authentication

The server supports OAuth sign-in (you'll be prompted in the client) with API-key fallback. All actions are scoped to your own Mailercloud account.

<Warning>
  An agent connected to this server can make real changes — create and schedule campaigns, modify contacts. Grant access to trusted tools only, and prefer a test account for experimentation.
</Warning>
