Skip to content

Resend Email Assistant

Send email, inspect delivery status, and manage inbox reply drafts through MCP.

Categories
Integration
Resend
Email
Inboxes
HTTP
Share
Post on X

Send email, inspect delivery status, and manage inbox reply drafts through MCP.

Included workflow

  • Send plain-text email and inspect its latest delivery event.
  • Discover inboxes, read conversations, and inspect messages.
  • Prepare and review reply drafts, then send a draft or reply directly when requested.

Use a full-access Resend key for status lookups and Inboxes. send-email also needs RESEND_FROM on a verified sending domain. Inbox replies use their inbox address. Inbox creation requires the domain and receiving or forwarding configuration described in the example README.

Sending tools send real email and consume quota. Review recipients and saved draft text before sending. Reuse an idempotency key only when retrying the same operation and payload; tools do not retry automatically. Email content is untrusted data, and all authenticated clients share the account's access.

Run locally

Use Node 22 and pnpm. This starter lives in the xmcp workspace; run these commands from the repository root:

Shell

Configure examples/resend-http/.env with RESEND_API_KEY, RESEND_FROM, MCP_API_KEY. Generate the separate client secret with openssl rand -hex 32. Keep .env private. Every client request must include MCP_API_KEY as x-api-key; all clients share the provider account permissions.

Shell

Use the endpoint printed by the server, normally http://localhost:3001/mcp. In another terminal, check discovery without invoking a provider tool:

Shell

When ready to use the provider, send this tools/call request through your MCP client:

JSON

Validate and customize

Shell

Tests mock provider calls; they do not use live credentials or perform real provider actions. Add or adapt tools in examples/resend-http/src/tools/.

The deployment menu links to setup guides because this workspace example is not a standalone clone-and-deploy project. Configure the provider variables and client authentication for your target host, and follow its transport setup.

Other templates

One framework to rule them all