Resend Blade MCP
Provides tools for sending and managing transactional email through Resend, including single, batch, and scheduled sends with attachments and idempotency, plus contacts, segments, broadcasts, templates, domains, webhooks, and API request logs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Resend Blade MCP
Security-first MCP server for Resend transactional email — send, manage contacts, broadcasts, templates, domains, and webhooks with programmatic safety controls.
Built on FastMCP 2.0 and httpx. Designed for agentic workflows where LLMs operate autonomously.
Why not the official Resend MCP?
The official resend-mcp covers the full API but was designed for human-supervised chat, not autonomous agents. In agentic contexts, its security model breaks down:
Capability | resend-blade-mcp | Official resend-mcp | Generic vendor MCPs |
Write gating | Programmatic env var gate | Prompt engineering only | Usually none |
Filesystem access | None — base64/URL only |
| Varies |
API key management | Excluded entirely | Full CRUD exposed to agent | Often exposed |
Credential scrubbing | All error paths scrubbed | Not implemented | Rarely |
Tool count | 28 focused | 60+ (context window bloat) | Varies |
Output format | Pipe-delimited, null omission | Raw JSON responses | Raw JSON |
HTTP transport auth | Built-in bearer middleware | Per-session key only | Rarely |
Idempotency | Native | Not exposed as parameter | Rarely |
Rate limit handling | Typed | Raw error passthrough | Varies |
The filesystem problem
The official MCP accepts filePath in attachments, calling fs.readFile() with no path validation. An autonomous agent could read /etc/passwd, ~/.ssh/id_rsa, or any file on the host and attach it to an email sent to any address. resend-blade-mcp rejects all filesystem paths — only base64 content and HTTPS URLs are permitted.
The API key problem
The official MCP exposes create-api-key and remove-api-key tools. An agent could create a full-access API key and exfiltrate it, or delete existing keys to disrupt services. resend-blade-mcp excludes API key management entirely — these are privileged operations that belong out-of-band.
Related MCP server: MCP Email Service
Features
28 tools across 8 categories: sending, contacts, segments, broadcasts, templates, domains, webhooks, logs
Write-gate — all mutating operations disabled by default (
RESEND_WRITE_ENABLED=trueto enable)No filesystem access — attachments via base64 content or HTTPS URL only
No API key CRUD — excluded by design, not just gated
Credential scrubbing —
re_*API keys stripped from all error outputToken-efficient — pipe-delimited output, null-field omission, capped lists
Idempotent sends — native
Idempotency-Keysupport prevents duplicate emails on retryWebhook management — create, list, delete webhook endpoints for event-driven architectures
Sidereal Marketplace — native plugin manifest for one-click install
Requirements
macOS (tested) or Linux
Python 3.12+
Resend account with API key (get one here)
Quick Start
# Clone and install
git clone https://github.com/Groupthink-dev/resend-blade-mcp.git
cd resend-blade-mcp
uv sync
# Set your API key
export RESEND_API_KEY=re_xxxxxxxx
# Run (stdio transport)
uv run resend-blade-mcpClaude Code
claude mcp add resend-blade -- uv run --directory ~/src/resend-blade-mcp resend-blade-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"resend-blade": {
"command": "uv",
"args": ["run", "--directory", "/path/to/resend-blade-mcp", "resend-blade-mcp"],
"env": {
"RESEND_API_KEY": "re_xxxxxxxx",
"RESEND_WRITE_ENABLED": "false"
}
}
}
}Tools (28)
Sending (5)
Tool | Gate | Description |
| write | Send email (HTML/text, attachments, scheduled, idempotent) |
| write | Batch send up to 100 emails |
| read | Retrieve sent email by ID |
| read | List sent emails with status |
| write | Cancel a scheduled email |
Contacts (4)
Tool | Gate | Description |
| write | Create a contact with properties |
| read | List contacts |
| write | Update contact properties |
| write | Delete a contact |
Segments (3)
Tool | Gate | Description |
| write | Create a segment |
| read | List segments |
| write | Delete a segment |
Broadcasts (4)
Tool | Gate | Description |
| write | Create a broadcast (draft) |
| write | Send or schedule a draft broadcast |
| read | List broadcasts with status |
| write | Delete a draft/scheduled broadcast |
Templates (4)
Tool | Gate | Description |
| write | Create template with variables |
| read | List templates |
| read | Get template with HTML content |
| write | Publish template for use in sends |
Domains (4)
Tool | Gate | Description |
| write | Register a sending domain (returns DNS records) |
| read | List domains with verification status |
| read | Get domain with DNS record details |
| write | Trigger DNS verification |
Webhooks (3)
Tool | Gate | Description |
| write | Create webhook endpoint (returns signing secret) |
| read | List webhook endpoints |
| write | Delete a webhook |
Logs (1)
Tool | Gate | Description |
| read | List recent API request logs |
Security
Layer | Control |
API key |
|
Transport | stdio default (no network exposure) |
Write gate |
|
Attachments | Base64 content or HTTPS URL only — filesystem paths rejected |
API key CRUD | Excluded — no tool can create, list, or delete API keys |
Batch limits |
|
Credential scrubbing |
|
HTTP auth | Optional bearer token middleware ( |
Rate limits | 429 responses surface as typed |
HTTP Transport
export RESEND_MCP_TRANSPORT=http
export RESEND_MCP_HOST=127.0.0.1
export RESEND_MCP_PORT=8770
export RESEND_MCP_API_TOKEN=your-secret-token
uv run resend-blade-mcpEnvironment Variables
Variable | Default | Description |
| (required) | Resend API key |
|
| Enable write operations |
|
| Transport: |
|
| HTTP bind host |
|
| HTTP bind port |
| (none) | Bearer token for HTTP auth |
Development
make install-dev # Install with dev dependencies
make test # Run unit tests (mocked, no Resend needed)
make test-e2e # Run E2E tests (requires live API key)
make check # Lint + format + type-check
make run # Start the serverLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Transactional email API & AI agent safety runtime with 12 scoped tools and SpendGuard.
Email for AI agents: send email, manage domains, templates and contacts. Risky steps ask you first.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables sending single and batch emails through the Resend API with support for HTML/plain text content, CC/BCC recipients, and custom tracking tags.1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables sending emails (including mass emailing), querying, updating, and canceling delayed emails via the Resend API.-
- AlicenseNot gradedqualityDmaintenanceEnables sending emails and managing email delivery through Resend's API, allowing users to compose and send emails using natural language.1MIT
- AlicenseAqualityBmaintenanceEnables AI agents to send transactional emails and manage email infrastructure through the AgentiSend API, including domain verification, budgeted keys, and message logs.46MIT