Skip to main content
Glama
groundmail-mcp

groundmail-mcp

Official

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.

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)

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/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-mcp

Want 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

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

Available Tools

19 tools
add_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_emailBInspect

Get a single email by public id (msg_…).

Inputs: id (required).

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

    B3.4/5.0

    Scored across 19 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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 npm
      ISC