MailPace MCP server

Provides a bridge to MailPace's transactional email API for sending HTML/text emails with attachments, custom headers, and CC/BCC recipients using domain API token authentication
Back to servers
Setup instructions
Provider
MailPace
Release date
Mar 25, 2025
Language
TypeScript
Stats
1 star

This MCP server implementation enables you to send emails through MailPace's transactional email API using the Model Context Protocol. It provides a straightforward way to integrate email sending capabilities into your applications that support MCP.

Installation

Using Smithery

The easiest way to install MailPace MCP Server for Claude Desktop is via Smithery:

npx -y @smithery/cli install @mailpace/mailpace-mcp --client claude

Manual Installation

If you prefer to install manually:

npm run build
npm run start

Configuration

Before using the MCP server, you need to set up your MailPace credentials:

  1. Create an organization and domain at https://app.mailpace.com
  2. Copy your domain API token
  3. Configure the server by either:
    • Setting the MAILPACE_API_TOKEN environment variable
    • Passing the token directly with the --token argument when starting the server

Usage

Sending Emails

The MCP server provides a send-email tool that allows you to send emails to one or more recipients.

Input Format

When sending emails, you need to provide the email details following the format specified in the MailPace documentation. This includes:

  • Recipients (to, cc, bcc)
  • Subject
  • HTML and/or text content
  • Sender information
  • Any other optional parameters supported by the MailPace API

Example Usage

When using the server through a compatible MCP client, you can send emails by calling the send-email tool with the appropriate parameters according to your client's syntax.

The server will authenticate with your MailPace API token and deliver the email through MailPace's transactional email infrastructure.

Support

If you encounter any issues or have questions about using the MailPace MCP Server, you can reach out to the support team at [email protected].

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "mailpace-mcp" '{"command":"npx","args":["-y","@mailpace/mailpace-mcp"],"env":{"MAILPACE_API_TOKEN":""}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "mailpace-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@mailpace/mailpace-mcp"
            ],
            "env": {
                "MAILPACE_API_TOKEN": ""
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "mailpace-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@mailpace/mailpace-mcp"
            ],
            "env": {
                "MAILPACE_API_TOKEN": ""
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later