mailsend
Allows interaction with the Resend REST API to send and retrieve emails, manage sending domains and DNS verification, create and delete API keys, and manage audiences and contacts.
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.
mailsend
mailsend lets an agent run the sending side of a Resend account: send a message and look it back up, set up a sending domain and start its DNS verification, mint or retire API keys, and keep audiences and their contacts in order. Each operation is one call against the Resend REST API, and the API's JSON answer comes back as-is. It runs from the command line or as an MCP server for agents.
A Resend API key is required. Put it in the RESEND_API_KEY
environment variable; the key is sent to the API as a Bearer token and
never appears in output. When the variable is missing, every operation
fails with an error that names it.
Install
npx @reneturcios/mailsend list-domainsOr run the container image:
docker run -i -e RESEND_API_KEY ghcr.io/cloudcorprecords/mailsendThe container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Related MCP server: Resend MCP Server
CLI
export RESEND_API_KEY="your API key"
mailsend send --from "Acme <hello@acme.example>" --to user@example.com \
--subject "Welcome" --text "Hello there"
mailsend list-emails --limit 10
mailsend list-domains
mailsend list-audiences
mailsend --versionExit codes: 0 on success, 1 when an API call fails (including a
missing RESEND_API_KEY), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/mailsend mcpMCP client configuration:
{
"mcpServers": {
"mailsend": {
"command": "npx",
"args": ["-y", "@reneturcios/mailsend", "mcp"],
"env": { "RESEND_API_KEY": "your API key" }
}
}
}Tools
Tool | Input | What it does |
|
| Send an email. |
|
| List sent emails. |
|
| Get one sent email by ID. |
|
| Create a sending domain. |
| — | List sending domains. |
|
| Get one domain, including its DNS records. |
|
| Start DNS verification for a domain. |
|
| Delete a sending domain. |
|
| Create an API key. |
| — | List API keys. |
|
| Delete an API key. |
|
| Create an audience. |
| — | List audiences. |
|
| Add a contact to an audience. |
|
| List contacts in an audience. |
This is a documented core subset of the Resend platform surface. The hosted Resend MCP also covers broadcasts, templates, webhooks, segments, topics, contact properties, batch sending, and received (inbound) email; those groups are not implemented here.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev # run the CLI from source via tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Send email and manage domains, contacts and webhooks on SpacePost, the Resend-compatible email API.
Email for agents: domains, aliases, IMAP mailboxes, DNS, sending and webhooks via one API key.
Email and SMS infrastructure, run by your agent: send, campaigns, contacts, domains, webhooks.
Email for AI agents: send mail, manage contacts, automations & webhooks. Zero-DNS first send.
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.16 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage email newsletters and contacts via Resend, including sending broadcasts to segments, managing subscribers in bulk, scheduling campaigns, and tracking delivery status using human-friendly identifiers.16,017 npm5MIT
- 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.120 PyPI1MIT