Back to Directory/Communication

Groundmail

Send transactional email and manage domains, templates, webhooks and suppressions with Groundmail.

CommunicationTypeScriptv0.14.3

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
ClientHow to connect
Claude Codeclaude mcp add --transport http groundmail https://mcp.groundmail.dev/mcp, then run /mcp, pick groundmail and choose Authenticate
CursorAdd { "mcpServers": { "groundmail": { "url": "https://mcp.groundmail.dev/mcp" } } } to .cursor/mcp.json; Cursor shows "Needs login"
Claude.aiSettings → Connectors → Add custom connector → paste the URL
ChatGPTSettings → 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 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, schedule, cancel, look up), domains (add, apply DNS, verify), templates, webhooks, suppressions and deliverability. Each tool carries read-only and destructive annotations and an output schema. Full list: docs.groundmail.dev/ai/mcp.

Transports

ModeCommand / URLAuth
HTTP (hosted)https://mcp.groundmail.dev/mcpOAuth (recommended) or Authorization: Bearer gm_…
stdionpx -y groundmail-mcpGROUNDMAIL_API_KEY=gm_…
HTTP (local)npx -y groundmail-mcp --http --port 3000Authorization: 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. 3,000 emails a month on the Free plan; Pro is 50,000 emails for $20/month. Dedicated IPs on Scale.
  • 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

UsePackage
Node.js / TypeScriptgroundmail on npm
Python (Django), Go, Ruby (Rails Action Mailer)Groundmail/groundmail-sdks
PHPGroundmail/groundmail-php
LaravelGroundmail/groundmail-laravel
Symfony MailerGroundmail/groundmail-symfony-mailer
NodemailerGroundmail/groundmail-nodemailer
NestJSGroundmail/nestjs-groundmail
StrapiGroundmail/strapi-provider-email-groundmail
MedusaGroundmail/medusa-notification-groundmail
AdonisJSGroundmail/adonisjs-groundmail
Phoenix (Swoosh)Groundmail/swoosh_groundmail
CLIgroundmail-cli on npm
MCP server (Claude, ChatGPT, Cursor)Groundmail/groundmail-mcp
Agent skills and Claude Code pluginGroundmail/groundmail-skills
Email templates (React Email, MJML, HTML)Groundmail/email-templates

Website · Docs · Pricing · Sign up free

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y groundmail-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-groundmail-groundmail": {
      "command": "npx",
      "args": [
        "-y",
        "groundmail-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

groundmail-mcpnpm

Compatible MCP Clients

Groundmail works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More