# MailPace

> MailPace is an open-source MCP server for communication. Send transactional email and manage MailPace domains and tokens from an MCP client. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/mailpace/mailpace-mcp
- **MCP Registry name:** com.mailpace/mailpace-mcp
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-23

## About

Two kinds of credentials decide which tools appear. A domain API token unlocks sending and status checks for one domain. An organization token adds domain and token management. Supply either or both as environment variables; nothing is accepted on the command line.

Sending supports attachments, tags and an idempotency key so a retried request does not deliver twice. Because sending is an external side effect, the README advises confirming recipients and setting MAILPACE_ALLOWED_RECIPIENTS, a list of exact addresses or @domain rules, for unattended use. Tools carry structured output schemas and behaviour annotations.

It is a Node.js 20 stdio server, run with npx or Docker, with configurable timeout and retry counts. The code is MIT-licensed.

## Features

- **Send email:** Sends transactional mail with attachments, tags and idempotency keys.
- **Delivery status:** Looks up delivery, bounce or deferral status by domain and email ID.
- **Domain management:** Lists, creates, updates and gets domains.
- **DNS verification:** Checks DKIM and advanced verification records.
- **API token management:** Lists, creates, renames and revokes domain tokens.
- **Recipient allowlist:** Restricts sending to approved addresses or domains.

## Good for

- Send a one-off transactional email from an assistant
- Check whether a message bounced or was deferred
- Add and verify a new sending domain
- Rotate or revoke a domain API token
- Lock an automation to internal recipients only

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mailpace-mcp --env MAILPACE_API_TOKEN='<MAILPACE_API_TOKEN>' --env MAILPACE_ORGANIZATION_TOKEN='<MAILPACE_ORGANIZATION_TOKEN>' -- npx -y @mailpace/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mailpace-mcp --env MAILPACE_API_TOKEN='<MAILPACE_API_TOKEN>' --env MAILPACE_ORGANIZATION_TOKEN='<MAILPACE_ORGANIZATION_TOKEN>' -- npx -y @mailpace/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mailpace-mcp]
command = "npx"
args = ["-y", "@mailpace/mcp"]
env = { MAILPACE_API_TOKEN = "<MAILPACE_API_TOKEN>", MAILPACE_ORGANIZATION_TOKEN = "<MAILPACE_ORGANIZATION_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e MAILPACE_API_TOKEN='<MAILPACE_API_TOKEN>' -e MAILPACE_ORGANIZATION_TOKEN='<MAILPACE_ORGANIZATION_TOKEN>' mailpace-mcp npx -- -y @mailpace/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mailpace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mailpace/mcp"
      ],
      "env": {
        "MAILPACE_API_TOKEN": "<MAILPACE_API_TOKEN>",
        "MAILPACE_ORGANIZATION_TOKEN": "<MAILPACE_ORGANIZATION_TOKEN>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 12 tools deletes data and 5 change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `mailpace_send_email` (name suggests: changes): Sends an email with attachments, tags and an Idempotency-Key.
- `mailpace_get_email_status` (name suggests: reads): Gets delivery, bounce or deferral status by domain and email ID.
- `mailpace_list_domains` (name suggests: reads): Lists domains with pagination and sorting.
- `mailpace_get_domain` (name suggests: reads): Gets a domain by ID.
- `mailpace_create_domain` (name suggests: changes): Creates a sending domain.
- `mailpace_update_domain` (name suggests: changes): Updates a domain's name or URL.
- `mailpace_verify_domain`: Checks DKIM and advanced verification DNS records.
- `mailpace_list_domain_api_tokens` (name suggests: reads): Lists a domain's API tokens.
- `mailpace_get_domain_api_token` (name suggests: reads): Gets one domain API token.
- `mailpace_create_domain_api_token` (name suggests: changes): Creates a domain API token.
- `mailpace_update_domain_api_token` (name suggests: changes): Renames a domain API token.
- `mailpace_revoke_domain_api_token` (name suggests: deletes): Revokes a domain API token permanently.

## FAQ

### What credentials does MailPace need?

At least one of a domain API token or an organization API token.

### How can sending be made safer?

Set MAILPACE_ALLOWED_RECIPIENTS and use an idempotency key when retrying.

### How do I run MailPace?

With npx -y @mailpace/mcp, from a local build, or in Docker.

### What are the requirements?

Node.js 20 or newer and a MailPace organization and domain.

### Is MailPace free?

Yes. MailPace is open source, so you can use and self-host it for free.

### How do I add MailPace to Claude Code?

Run this command in your terminal: claude mcp add mailpace-mcp --env MAILPACE_API_TOKEN='<MAILPACE_API_TOKEN>' --env MAILPACE_ORGANIZATION_TOKEN='<MAILPACE_ORGANIZATION_TOKEN>' -- npx -y @mailpace/mcp

### What are the best alternatives to MailPace?

The closest alternatives to MailPace are TrendRadar, TryPost, Discord MCP, Gmail MCP and Getmitra.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Discord MCP](https://ai-powered.com/mcp/discord-mcp): Discord MCP is an open-source MCP server for communication.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Getmitra](https://ai-powered.com/mcp/getmitra): Getmitra is an MCP server for communication.
- [Valentina](https://ai-powered.com/mcp/valentina): Valentina is an MCP server for e-commerce.
- [Carla](https://ai-powered.com/mcp/carla): Carla is an MCP server for communication.
- [MCP for iCloud](https://ai-powered.com/mcp/mcp-for-icloud-2): MCP for iCloud is an MCP server for communication.

---
Source: https://ai-powered.com/mcp/mailpace
