Server facts
mcp-send-email
GitHub stars
588
Last commit
Nov 30, 2026
Runtime
node
License
MIT
Project
- Author
- ykhli
- Repository
- github.com/ykhli/mcp-send-email
- License
- MIT
- Category
- Communication
Tech
- Runtime
- node
- Transports
- stdiostreamable-http
- Remote access
- No
- Authentication
- OAuth (hosted remote) or Resend API Key (RESEND_API_KEY / Bearer token)
Activity
- GitHub stars
- 588
- Last commit
- Data as of
Tags
- Cursor
- mcp
Overview
Developers searching for a reliable `send email mcp` integration can connect AI agents directly to the Resend email platform using the official MIT-licensed `resend-mcp` Node.js server. Users have immediate access through Resend's hosted remote Streamable HTTP server (`https://mcp.resend.com/mcp`), which requires no local install and authenticates via browser OAuth—or via an `Authorization: Bearer` Resend API key header in CI, servers, and headless agents. Teams preferring self-hosted execution run the identical open-source package via `npx -y resend-mcp` over default `stdio` (requiring `RESEND_API_KEY` and a verified sender domain) or over self-hosted Streamable HTTP (`npx -y resend-mcp --http --port 3000`, also embeddable via `runHttp` from `resend-mcp/http`). Setup guides cover Claude Code, Claude Desktop/Web, Cursor, Codex, GitHub Copilot in VS Code, Windsurf, Warp, Gemini CLI, OpenCode, and Devin.
Rather than stopping at basic outbound sends, the server exposes Resend's broader email infrastructure: transactional and batch email delivery (HTML/plain text, attachments, scheduling, tags, idempotency keys), inbound received emails, full inbox/thread/draft/label workflows, `{{{VARIABLE}}}` templates, contacts and CSV imports, segments, suppressions, broadcasts, automations, domain verification, webhook log inspection and replay, API keys, request logs, quotas, and Resend dashboard visual editor collaboration. Local file access for attachments and CSV imports is disabled by default over `--http` and can be restricted via `--allowed-file-dirs` (`MCP_ALLOWED_FILE_DIRS`) on `stdio` to defend against prompt-injected file reads.
Install & configure
Requirements
- Resend account with OAuth login (hosted remote) or a Resend API key (`RESEND_API_KEY`) and verified sender domain (local/headless)
- Node.js (`npx -y resend-mcp`) only if running the local `stdio` or self-hosted `--http` server; no local install needed for `https://mcp.resend.com/mcp`
- Optional `SENDER_EMAIL_ADDRESS`, `REPLY_TO_EMAIL_ADDRESSES`, and `--allowed-file-dirs` for default headers and file-attachment sandboxing
claude mcp add --transport http resend https://mcp.resend.com/mcpConnect remotely in Claude Code with `claude mcp add --transport http resend https://mcp.resend.com/mcp` (or add the URL to Claude Connectors / Cursor), or install locally over `stdio` via `npx add-mcp resend-mcp --name resend --env "RESEND_API_KEY=re_xxxxxxxxx"` or `npx -y resend-mcp`.
Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"resend": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"RESEND_API_KEY": "re_xxxxxxxxx"
}
}
}
}Config file · Project: .cursor/mcp.json
User: ~/.cursor/mcp.json
The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"resend": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"RESEND_API_KEY": "re_xxxxxxxxx"
}
}
}
}Config file · Workspace: .vscode/mcp.json
For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.
{
"servers": {
"resend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"RESEND_API_KEY": "re_xxxxxxxxx"
}
}
}
}Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"resend": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"RESEND_API_KEY": "re_xxxxxxxxx"
}
}
}
}Config file · Project scope: .mcp.json at the repository root
The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"resend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"RESEND_API_KEY": "re_xxxxxxxxx"
}
}
}
}Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Use cases
- Draft, schedule, and send transactional or batch HTML emails with verified domains and idempotency keys straight from Claude Code or Cursor.
- Read inbound received emails, manage inbox threads, labels, and drafts, and reply or forward messages with attachments.
- Create and publish reusable `{{{VARIABLE}}}` email templates, audience segments, CSV contact imports, and scheduled broadcast campaigns.
- Verify sender domains, inspect API request logs, replay failed webhook deliveries, and check account sending quotas conversationally.
Strengths
- Official Resend implementation offering both a hosted OAuth remote endpoint (`https://mcp.resend.com/mcp`) and an identical MIT-licensed `resend-mcp` npm package.
- Comprehensive email platform coverage extending far beyond sending—covering inbound inboxes, broadcasts, templates, automations, suppressions, domains, webhooks, and logs.
- Flexible deployment supports `stdio`, standalone Streamable HTTP (`--http`), and library embedding (`runHttp` from `resend-mcp/http`) with localhost DNS-rebinding protection.
- Built-in filesystem guardrail (`--allowed-file-dirs`) keeps local attachment and CSV reads disabled over HTTP by default and restrictable on `stdio`.
Limitations
- Tied specifically to the Resend platform—unlike generic SMTP, Gmail, or Outlook connectors, sending requires a Resend account and verified domain.
- If `SENDER_EMAIL_ADDRESS` (`--sender`) is omitted, the server prompts you to supply a sender address on each send call.
- Leaving `--allowed-file-dirs` unset on `stdio` allows unrestricted local file attachment paths unless explicitly scoped.
mcp-send-email setup notes
- Check RESEND_API_KEY in the mcp-send-email configuration if startup or authentication fails.
- mcp-send-email's example uses stdio, while its catalog transports are stdio / streamable-http; use the example's connection type.