Skip to content
MCP server
Registry

MailPace MCP Server

Send transactional email and manage MailPace domains from MCP clients.

MailPace scores 67 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 12 tools. Filed under Communication. GitHub shows 1 stars. Package registries report about 93 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by mailpaceMITTypeScript1 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "mailpace-mailpace-mcp": {      "command": "npx",      "args": [        "-y",        "@mailpace/mcp@2.0.1"      ],      "env": {        "MAILPACE_API_TOKEN": "YOUR_MAILPACE_API_TOKEN",        "MAILPACE_ORGANIZATION_TOKEN": "YOUR_MAILPACE_ORGANIZATION_TOKEN",        "MAILPACE_ALLOWED_RECIPIENTS": "",        "MAILPACE_REQUEST_TIMEOUT_MS": "",        "MAILPACE_MAX_RETRIES": ""      }    }  }}

Environment variables

NameRequiredNotes
MAILPACE_API_TOKENSecretOptionalDomain API token for sending email and domain-scoped status lookups.
MAILPACE_ORGANIZATION_TOKENSecretOptionalOrganization API token for domain and domain API token management.
MAILPACE_ALLOWED_RECIPIENTSOptionalOptional comma-separated recipient allowlist of exact addresses or @domain rules.
MAILPACE_REQUEST_TIMEOUT_MSOptionalOptional per-request timeout in milliseconds. Defaults to 30000.
MAILPACE_MAX_RETRIESOptionalOptional retry count for idempotent requests and 429 responses. Defaults to 2.

Tools12Tool docs quality grade F

All capabilities

About

MailPace MCP (Model Context Protocol) Server

MailPace MCP Server exposes the MailPace transactional email, domain management, and email status APIs to MCP clients.

Features

  • Send transactional email with the Send API
  • List, create, update, and verify domains with the Domains API
  • Manage domain API tokens
  • Check delivery, bounce, and deferral status with the Email Status API
  • Optional recipient allowlist and idempotent sends
  • Tools expose structured output schemas and MCP behavior annotations

Requirements

  • Node.js 20 or newer
  • A MailPace organization and domain
  • A domain API token to send email and check email status for that domain
  • An organization API token to manage domains and domain API tokens

Configuration

Credentials are read from environment variables only. They are never accepted as command-line arguments, which would expose them in process listings.

VariableRequiredDescription
MAILPACE_API_TOKENFor sending and domain-scoped statusDomain API token
MAILPACE_ORGANIZATION_TOKENFor domain managementOrganization API token
MAILPACE_ALLOWED_RECIPIENTSNoComma-separated allowlist of exact addresses or @domain rules. When set, mailpace_send_email refuses other recipients.
MAILPACE_API_URLNoOverride the API base URL. Must be HTTPS except for localhost development.
MAILPACE_REQUEST_TIMEOUT_MSNoPer-request timeout in milliseconds. Default 30000.
MAILPACE_MAX_RETRIESNoRetries for idempotent requests and 429 responses. Default 2.

At least one of MAILPACE_API_TOKEN or MAILPACE_ORGANIZATION_TOKEN is required. Tools are registered according to the available credentials.

Tools

ToolCredentialDescription
mailpace_send_emailDomain tokenSend an email. Supports attachments, tags, and Idempotency-Key.
mailpace_get_email_statusDomain or organization tokenGet delivery, bounce, or deferral status by domain and email ID.
mailpace_list_domainsOrganization tokenList domains with pagination and sorting.
mailpace_get_domainOrganization tokenGet a domain by ID.
mailpace_create_domainOrganization tokenCreate a sending domain.
mailpace_update_domainOrganization tokenUpdate a domain's name or URL.
mailpace_verify_domainOrganization tokenCheck DKIM and advanced verification DNS records.
mailpace_list_domain_api_tokensOrganization tokenList a domain's API tokens.
mailpace_get_domain_api_tokenOrganization tokenGet one domain API token.
mailpace_create_domain_api_tokenOrganization tokenCreate a domain API token. Store the returned token securely.
mailpace_update_domain_api_tokenOrganization tokenRename a domain API token.
mailpace_revoke_domain_api_tokenOrganization tokenRevoke a domain API token. This cannot be undone.

Sending email safely

mailpace_send_email is an external side effect. Clients and hosts should confirm recipients before invoking it. For automation, set MAILPACE_ALLOWED_RECIPIENTS to reduce the impact of mistakes or prompt injection, for example:

MAILPACE_ALLOWED_RECIPIENTS="hello@example.com,@yourcompany.com"

Use an idempotency_key when retrying a send to prevent duplicate email delivery.

Client configuration

After building locally, point your MCP client at the built entry point:

{
  "mcpServers": {
    "mailpace": {
      "command": "node",
      "args": ["/absolute/path/to/mailpace-mcp/build/index.js"],
      "env": {
        "MAILPACE_API_TOKEN": "your-domain-api-token",
        "MAILPACE_ORGANIZATION_TOKEN": "your-organization-api-token"
      }
    }
  }
}

Once published, this can also be run with npx -y @mailpace/mcp.

Build and run

npm ci
npm run build
npm start

Development uses tsx and TypeScript source directly:

npm run dev

Testing

npm test

The integration tests start the built server, connect over stdio, and exercise tool registration, request shapes, validation, error mapping, retries, and timeouts against a local mock MailPace API.

Docker

docker build -t mailpace-mcp .
docker run --rm -i \
  -e MAILPACE_API_TOKEN=your-domain-api-token \
  -e MAILPACE_ORGANIZATION_TOKEN=your-organization-api-token \
  mailpace-mcp

The image runs as the non-root node user and installs only production dependencies.

Publishing

The package is published as @mailpace/mcp on npm and registered with the Official MCP Registry as:

com.mailpace/mailpace-mcp

package.json contains the matching mcpName field, and server.json contains the registry metadata.

One-time setup

  1. Configure npm Trusted Publishing for @mailpace/mcp:

    • Open https://www.npmjs.com/package/@mailpace/mcp/access
    • Under Trusted Publisher, choose GitHub Actions
    • Organization or user: mailpace
    • Repository: mailpace-mcp
    • Workflow filename: release.yml
    • Allowed action: npm publish

    The release workflow authenticates to npm with GitHub OIDC, so no NPM_TOKEN secret is used.

  2. Generate an Ed25519 key pair for DNS authentication:

    openssl genpkey -algorithm Ed25519 -out key.pem
    PUBLIC_KEY="$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)"
    echo "mailpace.com. IN TXT \"v=MCPv1; k=ed25519; p=${PUBLIC_KEY}\""
    
  3. Add the printed TXT record to mailpace.com DNS.

  4. Add the private key as the MCP_PRIVATE_KEY repository secret:

    openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n'
    

    Do not commit key.pem; it is gitignored.

Releasing

Update package.json and server.json to the new version, commit, then push a matching tag:

git tag v2.0.0
git push origin v2.0.0

Because 2.0.0 was published before trusted publishing was enabled, use a new version such as 2.0.1 for the first workflow release. This lets npm validate the trusted publisher within its setup window. Subsequent tags publish normally with OIDC.

The Release workflow runs typechecking and tests, verifies the tag matches package.json, publishes to npm using GitHub OIDC, waits for the package to appear, and publishes the version metadata to the Official MCP Registry.

If npm publishing succeeds but the registry step fails, run the Publish MCP Registry workflow manually with the version that is already on npm.

Security

  • Tokens are read from the environment only.
  • Use a domain token for sending and an organization token only when domain management is needed.
  • Keep MAILPACE_ALLOWED_RECIPIENTS set in unattended deployments.
  • Revoke unused domain API tokens from the MailPace dashboard.

Contributing

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes and push the branch to your fork.
  4. Create a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or support, please contact us at support@mailpace.com.

Frequently asked questions

What is MailPace MCP Server?

Send transactional email and manage MailPace domains from MCP clients.

How do I install MailPace MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MailPace MCP Server runs locally from the npm package @mailpace/mcp with the command npx -y @mailpace/mcp@2.0.1.

Is MailPace MCP Server free and open source?

Yes. MailPace MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does MailPace MCP Server support remote (HTTP) connections?

No remote endpoint is listed for MailPace MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does MailPace MCP Server provide?

MailPace MCP Server provides 12 tools, including mailpace_create_domain, mailpace_create_domain_api_token, mailpace_get_domain, and mailpace_get_domain_api_token. See the full tool list for descriptions and parameters.

How is MailPace MCP Server's trust score calculated?

MailPace MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server