{
  "markdown": "# @eusend_dev/mcp\n\nModel Context Protocol server for [Eusend](https://eusend.dev). Lets any MCP-compatible\nAI client — Claude Code, Claude Desktop, Cursor, Windsurf, and others — send email and\nmanage domains, audiences, and broadcasts through your Eusend account.\n\nIt's a thin wrapper over [`@eusend_dev/sdk`](../sdk): each tool is a typed call into the\nSDK. The same server runs two ways — **stdio** (local, launched by your client) and\n**HTTP** (hosted/remote) — from one codebase.\n\n## Tools\n\n| Area                 | Tools                                                                    |\n| -------------------- | ------------------------------------------------------------------------ |\n| Emails               | `send_email`, `list_emails`, `get_email`, `cancel_email`                 |\n| Domains              | `list_domains`, `get_domain`, `create_domain`, `verify_domain`           |\n| Audiences & contacts | `list_audiences`, `create_audience`, `list_contacts`, `create_contact`   |\n| Broadcasts           | `list_broadcasts`, `get_broadcast`, `create_broadcast`, `send_broadcast` |\n\nDestructive operations (deleting domains, audiences, contacts, API keys) are intentionally\n**not** exposed. `send_broadcast` is a bulk send — clients are instructed to confirm first.\n\n## Local setup (stdio)\n\nGet an API key at <https://eusend.dev/api-keys>.\n\n### Claude Code\n\n```bash\nclaude mcp add eusend --env EUSEND_API_KEY=eusend_live_xxx -- npx -y @eusend_dev/mcp\n```\n\n### Claude Desktop / Cursor / Windsurf\n\nAdd to the client's MCP config (`claude_desktop_config.json`, `.cursor/mcp.json`, …):\n\n```json\n{\n  \"mcpServers\": {\n    \"eusend\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@eusend_dev/mcp\"],\n      \"env\": {\n        \"EUSEND_API_KEY\": \"eusend_live_xxx\",\n        \"EUSEND_FROM\": \"you@yourdomain.com\"\n      }\n    }\n  }\n}\n```\n\nSetting `EUSEND_FROM` pins a default sender so the agent doesn't have to guess one on\n`send_email` / `create_broadcast`.\n\n## Remote setup (HTTP)\n\nThe same binary serves Streamable HTTP. The API key is taken per-request from the\n`Authorization: Bearer <key>` header, so one endpoint serves many accounts.\n\n```bash\n# run locally on :3000\nnpx -y @eusend_dev/mcp --http --port 3000\n\n# behind a TLS reverse proxy at mcp.eusend.dev\nnpx -y @eusend_dev/mcp --http --host 0.0.0.0 --port 3000 --allowed-hosts mcp.eusend.dev\n```\n\nConnect a client to it:\n\n```bash\nclaude mcp add --transport http eusend https://mcp.eusend.dev/mcp\n```\n\nDNS-rebinding protection is on by default (localhost only); pass `--allowed-hosts` with\nyour public host when running behind a proxy.\n\n## Configuration\n\n| Flag              | Env                                    | Purpose                                         |\n| ----------------- | -------------------------------------- | ----------------------------------------------- |\n| `--key`           | `EUSEND_API_KEY`                       | API key (stdio only; HTTP takes it per-request) |\n| `--from`          | `EUSEND_FROM` / `SENDER_EMAIL_ADDRESS` | Default sender address                          |\n| `--reply-to`      | `EUSEND_REPLY_TO`                      | Default Reply-To                                |\n| `--base-url`      | `EUSEND_BASE_URL`                      | Override the API base URL                       |\n| `--http`          | —                                      | Run the HTTP transport instead of stdio         |\n| `--port`          | `MCP_PORT`                             | HTTP port (default 3000)                        |\n| `--host`          | `MCP_HOST`                             | HTTP bind host (default 127.0.0.1)              |\n| `--allowed-hosts` | `MCP_ALLOWED_HOSTS`                    | Comma-separated Host allowlist                  |\n\n## Development\n\n```bash\nbun run build        # bundle to dist/ (stdio + http entries)\nbun run typecheck\nbun run inspect      # open the MCP Inspector against the stdio server\n```",
  "bytes": 3920,
  "sha": "51ea5f60e5fb6caf8a10e16bf742a9fdcd83a3c3c424f5feda9ee18621899694",
  "repo_slug": "",
  "fonte": "npm",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_dev_eusend_eusend_6f3c7ff9/readme"
}