# Resend — how to use (mcp.ai)

The universal API for sending emails.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_resend?ms=1781542140000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `resend_cancel_email`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/resend`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/resend/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/resend/cancel/email` — Cancel a scheduled email.
  - body: { id: string }
- `POST https://api.mcp.ai/api/resend/create/audience` — Create a list of contacts.
  - body: { name: string }
- `POST https://api.mcp.ai/api/resend/create/contact` — Create a contact in resend.
  - body: { email: string, lastName?: string, firstName?: string, audienceId: string, unsubscribed?: boolean }
- `POST https://api.mcp.ai/api/resend/create/domain` — Create a domain through the resend email api.
  - body: { name: string, region?: string }
- `POST https://api.mcp.ai/api/resend/delete/audience` — Remove an existing audience.
  - body: { audience_id: string }
- `POST https://api.mcp.ai/api/resend/delete/contact` — Delete a contact in resend.
  - body: { id?: string, email?: string, audienceId: string }
- `POST https://api.mcp.ai/api/resend/delete/domain` — Delete a domain through the resend email api.
  - body: { domain_id: string }
- `POST https://api.mcp.ai/api/resend/list/audiences` — List all audiences.
- `POST https://api.mcp.ai/api/resend/list/contacts` — List contacts in resend.
  - body: { audienceId: string }
- `POST https://api.mcp.ai/api/resend/list/domains` — List all domains.
- `POST https://api.mcp.ai/api/resend/retrieve/audience` — Retrieve a single audience.
  - body: { audience_id: string }
- `POST https://api.mcp.ai/api/resend/retrieve/contact` — Retrieve a contact in resend.
  - body: { id: string, audienceId: string }
- `POST https://api.mcp.ai/api/resend/retrieve/domain` — Retrieve a single domain.
  - body: { domain_id: string }
- `POST https://api.mcp.ai/api/resend/retrieve/email` — Retrieve a single email.
  - body: { email_id: string }
- `POST https://api.mcp.ai/api/resend/send/email` — Send an email using resend.
  - body: { cc?: string, to: string, bcc?: string, from: string, html?: string, text?: string, react?: string, headers?: object, subject: string, reply_to?: string, scheduled_at?: string }
- `POST https://api.mcp.ai/api/resend/update/domain` — Update an existing domain.
  - body: { tls?: string, domain_id: string, open_tracking?: boolean, click_tracking?: boolean }
- `POST https://api.mcp.ai/api/resend/update/email` — Update a scheduled email.
  - body: { id: string, scheduled_at?: string }
- `POST https://api.mcp.ai/api/resend/verify/domain` — Verify a domain through the resend email api.
  - body: { domain_id: string }

## More
- Page: https://mcp.ai/resend
- Agent spec (llms.txt): https://mcp.ai/resend/llms.txt
- Postman collection: https://mcp.ai/resend/postman.json
