groundmail-mcp
OfficialManage Groundmail transactional email operations from an MCP client.
Send transactional emails using HTML/text or a published template with variables.
List recent emails and look up a single email by ID.
Manage sending domains: list, create, apply DNS records via Cloudflare/GoDaddy/Vercel, and verify.
Manage webhooks: list, create, and delete endpoints.
Manage suppressions: list, add, and remove suppressed addresses.
Manage templates: list, get, create drafts, and publish.
Simulate webhook events for testing.
Fetch 7-day or 30-day deliverability metrics.
Allows applying Groundmail DNS records for a sending domain using Cloudflare credentials stored in the Groundmail dashboard.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
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/mcpClient | How to connect |
Claude Code |
|
Cursor | Add |
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.
Related MCP server: Email MCP Server
What you can ask for
"Send a password reset email to ada@example.com from noreply@mail.acme.com."
"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 or GoDaddy, 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) |
| OAuth (recommended) or |
stdio |
|
|
HTTP (local) |
|
|
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/mcp.json:
{
"mcpServers": {
"groundmail": {
"command": "npx",
"args": ["-y", "groundmail-mcp"],
"env": {
"GROUNDMAIL_API_KEY": "gm_your_key_here"
}
}
}
}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.
# 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-mcpWant your coding agent to know Groundmail too? Install the agent skills: npx skills add Groundmail/groundmail-skills -y.
Why Groundmail
Mailboxes for your agents. Give an agent its own email address: it receives mail, replies in the thread and picks up sign-up codes on its own. No account needed to start. Agent mailboxes
Each kind of mail on its own IPs. Transactional email (sign-in codes, password resets, receipts), product email and opt-in newsletters send from separate IPs, so your newsletter never shares a pool with your password resets. We run our own mail servers and never send cold outreach or bought lists.
Start free. Free covers 3,000 emails a month. After that, pay as you go is $15 a month with 20,000 emails included, then from $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 |
|
Python (Django), Go, Ruby (Rails Action Mailer) | |
PHP | |
Laravel | |
Symfony Mailer | |
Nodemailer | |
NestJS | |
Strapi | |
Medusa | |
AdonisJS | |
Phoenix (Swoosh) | |
CLI |
|
MCP server (Claude, ChatGPT, Cursor) | |
Agent skills and Claude Code plugin | |
Email templates (React Email, MJML, HTML) |
Website · Docs · Pricing · Sign up free
Available Tools
19 toolsadd_suppressionCInspect
Add an address to the suppression list.
Inputs: email (required), reason.
apply_domain_dnsBInspect
Apply Groundmail DNS records for a domain. Cloudflare and GoDaddy can use credentials stored in the dashboard; GoDaddy also accepts one-time credentials on the request.
Inputs: domain (required), provider (required), credentials.
create_domainAInspect
Add a sending domain. DNS must still be applied and verified before production sends.
Inputs: name (required), inbound_enabled.
create_templateCInspect
Create a draft email template (html or blocks format).
Inputs: name (required), subject (required), html, text, +2 more.
create_webhookBInspect
Create a webhook endpoint. Returns the endpoint plus a signing secret (shown once).
Inputs: url (required), events.
delete_webhookCInspect
Delete a webhook endpoint by id.
Inputs: id (required).
get_deliverabilityBInspect
Fetch best-effort deliverability metrics for recent sends (7d or 30d window).
Inputs: window.
get_templateCInspect
Get a template by id or alias.
Inputs: id, alias.
list_domainsCInspect
List sending domains for this account.
Inputs: limit, cursor.
list_emailsBInspect
List recent emails sent from this account.
Inputs: limit, cursor.
list_suppressionsCInspect
List suppressed recipient addresses.
Inputs: email, limit, cursor.
list_templatesCInspect
List email templates.
Inputs: limit, cursor, status.
list_webhooksCInspect
List webhook endpoints for this account.
Inputs: limit, cursor.
publish_templateBInspect
Publish a template, snapshotting an immutable version for sends.
Inputs: id, alias.
remove_suppressionCInspect
Remove a suppression by id or email address.
Inputs: id, email.
send_emailAInspect
Send a transactional email via Groundmail. Provide subject + html/text, or a published template_id / template_alias with optional variables.
Inputs: to (required), from (required), html, text, +5 more.
send_test_webhook_eventAInspect
Simulate a webhook event (POST /emails/test) for CI or local webhook testing. Optionally deliver to subscribed endpoints.
Inputs: event (required), deliver, email_id.
verify_domainBInspect
Verify DNS for a sending domain after records are applied.
Inputs: domain (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Each tool targets a distinct resource+action across emails, domains, webhooks, suppressions, and templates; no two tools have overlapping purposes. Descriptions clearly differentiate similar-sounding operations like apply_domain_dns vs verify_domain.
All tools use snake_case with a consistent verb-first pattern (e.g., list_emails, create_domain, delete_webhook). Minor multi-word nouns like send_test_webhook_event still follow the convention without mixing styles.
19 tools is slightly above the ideal 3-15 range for a single service, but the breadth of subdomains (emails, domains, webhooks, suppressions, templates, deliverability) justifies each tool's existence. No obvious redundant tools are present.
Core lifecycle for emails, domains, webhooks, suppressions, and templates is largely covered, but update operations for templates and domains (e.g., update_template, delete_domain) are missing, leaving minor gaps. Agents can work around most scenarios.
Related MCP Connectors
Transactional email API: send, read delivery timelines, explain bounces, manage domains (OAuth).
Send transactional email over a verified domain — templates, attachments, custom headers.
Send email, check deliverability, set up domains, and run templates, contacts and campaigns.
Send transactional email and check delivery: bounces, suppressions, per-provider stats.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, reply, forward, schedule, and organize email across multiple IMAP/SMTP accounts, including drafts, labels, bulk operations, real-time mailbox watching, verification-code capture, calendar extraction, and analytics. It runs locally over stdio or as a networked Streamable HTTP service with OAuth2 sign-in and provider auto-detection.31 npmISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, manage, schedule, and analyze mail across multiple IMAP/SMTP accounts, with real-time inbox watching, verification-code capture, calendar extraction, and provider-aware labeling. It also exposes drafts, templates, bulk operations, analytics, and OAuth2 support over stdio or Streamable HTTP.31 npmISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, schedule, and organize mail across multiple IMAP/SMTP accounts, including drafts, provider-aware labels, analytics, calendar extraction, and real-time inbox watching with verification-code capture. Runs over stdio or Streamable HTTP and supports auto-detected providers, OAuth2, and multi-account operation.31 npmISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, manage, schedule, and analyze email across multiple IMAP/SMTP accounts over stdio or Streamable HTTP. Includes drafts and templates, provider-aware labels and bulk operations, real-time IMAP IDLE watching with AI triage, verification-code capture, and ICS calendar extraction.31 npmISC