About Groundmail
Groundmail's MCP server lets teams manage transactional email operations from MCP clients. It covers sending and delivery checks alongside domains, templates, webhooks, suppressions, and deliverability monitoring, with hosted OAuth or local API-key options.
Key features
- 01Send, list, and inspect emails
- 02Manage sending domains and DNS
- 03Manage templates and webhooks
- 04Handle suppressions and address validation
- 05Monitor deliverability and DMARC
- 06Import providers and manage tenants
Use cases
- 01Send password resets and transactional receipts
- 02Review delivery status and email bounces
- 03Set up and verify a sending domain
- 04Monitor deliverability for email operations
MCP support
The MCP server exposes email sending and management tools to MCP clients. It is available as a hosted HTTP server using OAuth or as stdio and local HTTP options using an API key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.groundmail.dev/mcpclaude mcp add --transport http groundmail-groundmail https://mcp.groundmail.dev/mcp{"mcpServers":{"groundmail-groundmail":{"type":"http","url":"https://mcp.groundmail.dev/mcp"}}}Open in Cursor{"servers":{"groundmail-groundmail":{"type":"http","url":"https://mcp.groundmail.dev/mcp"}}}Open in VS Code{"mcpServers":{"groundmail-groundmail":{"type":"http","url":"https://mcp.groundmail.dev/mcp"}}}{"mcpServers":{"groundmail-groundmail":{"serverUrl":"https://mcp.groundmail.dev/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEGroundmail MCP server
Send transactional email and manage domains, templates, webhooks and suppressions
from Claude, Claude Code, ChatGPT, Cursor and any other MCP client.
Docs · Get a free account · groundmail.dev
Quick start
The fastest way is the hosted server. Add the URL, sign in through your browser, and you're done. No API key to copy.
https://mcp.groundmail.dev/mcp
| Client | How to connect |
|---|---|
| Claude Code | claude mcp add --transport http groundmail https://mcp.groundmail.dev/mcp, then run /mcp, pick groundmail and choose Authenticate |
| Cursor | Add { "mcpServers": { "groundmail": { "url": "https://mcp.groundmail.dev/mcp" } } } to .cursor/mcp.json; Cursor shows "Needs login" |
| Claude.ai | Settings → Connectors → Add custom connector → paste the URL |
| ChatGPT | Settings → Apps & Connectors → Create (developer mode) → paste the URL, authentication OAuth |
When you connect, you choose the access: Full, Send only or Read only. Revoke it any time in Groundmail under Settings → CLIs & agents.
What you can ask for
"Send a password reset email to [email protected] from [email protected]."
"Did my last 10 emails get delivered? Show any bounces."
"Add mail.acme.com as a sending domain and apply the DNS records on Cloudflare."
"How is my deliverability over the last 7 days?"
Tools cover emails (send, list, look up), domains (add, apply DNS through Cloudflare, Vercel, GoDaddy, Netlify, DigitalOcean or DNSimple, verify), templates, webhooks, suppressions, address validation, deliverability, DMARC monitoring, email testing (a test address per run, then wait for the email and read its code and links), imports from other providers and tenants (one per customer you send for: create, update, pause, resume, stats; tenant on sends, domains and suppressions). Each tool carries read-only and destructive annotations and an output schema. Full list: docs.groundmail.dev/ai/mcp.
Transports
| Mode | Command / URL | Auth |
|---|---|---|
| HTTP (hosted) | https://mcp.groundmail.dev/mcp | OAuth (recommended) or Authorization: Bearer gm_… |
| stdio | npx -y groundmail-mcp | GROUNDMAIL_API_KEY=gm_… |
| HTTP (local) | npx -y groundmail-mcp --http --port 3000 | Authorization: Bearer gm_… on each request |
Optional: GROUNDMAIL_API_URL (for example http://localhost:3003/api against a local API).
Local HTTP endpoint: http://127.0.0.1:3000/mcp · health: GET /health
Hosted health: GET https://mcp.groundmail.dev/health
Cursor with an API key (stdio)
.cursor/mcp.json:
{
"mcpServers": {
"groundmail": {
"command": "npx",
"args": ["-y", "groundmail-mcp"],
"env": {
"GROUNDMAIL_API_KEY": "gm_your_key_here"
}
}
}
}
Cursor with an API key (local or hosted HTTP)
npx -y groundmail-mcp --http --port 3000
{
"mcpServers": {
"groundmail": {
"url": "http://127.0.0.1:3000/mcp",
"headers": {
"Authorization": "Bearer gm_your_key_here"
}
}
}
}
For the hosted server with a key instead of OAuth, use "url": "https://mcp.groundmail.dev/mcp" with the same header.
Claude Code with an API key
# Hosted, API key
claude mcp add --transport http groundmail https://mcp.groundmail.dev/mcp \
--header "Authorization: Bearer $GROUNDMAIL_API_KEY"
# Local stdio
claude mcp add groundmail --env GROUNDMAIL_API_KEY=gm_your_key_here -- npx -y groundmail-mcp
Want your coding agent to know Groundmail too? Install the agent skills: npx skills add Groundmail/groundmail-skills -y.
Why Groundmail
- Our own mail servers and IP space. Your password resets and receipts don't share a pool with bulk marketing senders.
- Transactional email only. No newsletters or cold outreach on the platform, which keeps the sending reputation clean.
- Start free. Free covers 3,000 emails a month. After that it's pay as you go: $0.70 per 1,000, less as you grow. Pricing
- Built for code and for agents. REST API, SMTP, SDKs for Node, Python, Go, PHP and Ruby, a CLI, and an MCP server for Claude, ChatGPT and Cursor.
All Groundmail libraries
| Use | Package |
|---|---|
| Node.js / TypeScript | groundmail on npm |
| Python (Django), Go, Ruby (Rails Action Mailer) | Groundmail/groundmail-sdks |
| PHP | Groundmail/groundmail-php |
| Laravel | Groundmail/groundmail-laravel |
| Symfony Mailer | Groundmail/groundmail-symfony-mailer |
| Nodemailer | Groundmail/groundmail-nodemailer |
| NestJS | Groundmail/nestjs-groundmail |
| Strapi | Groundmail/strapi-provider-email-groundmail |
| Medusa | Groundmail/medusa-notification-groundmail |
| AdonisJS | Groundmail/adonisjs-groundmail |
| Phoenix (Swoosh) | Groundmail/swoosh_groundmail |
| CLI | groundmail-cli on npm |
| MCP server (Claude, ChatGPT, Cursor) | Groundmail/groundmail-mcp |
| Agent skills and Claude Code plugin | Groundmail/groundmail-skills |
| Email templates (React Email, MJML, HTML) | Groundmail/email-templates |
Website · Docs · Pricing · Sign up free
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.