MailPace MCP
MailPace MCP Server sends emails via MailPace's fast transactional email API. It enables easy email delivery to multiple recipients using MailPace’s API.
How to Install and Use MailPace MCP
MailPace MCP is a tool that helps you send emails quickly using the MailPace transactional email API. Here is an easy guide to install and use MailPace MCP with real examples.
Step 1: Install MailPace MCP using Smithery
To get started, you can install MailPace MCP automatically with Smithery, a tool that makes installing easier. Run this command in your terminal:
npx -y @smithery/cli install @mailpace/mailpace-mcp --client claude
This command downloads and installs the MailPace MCP server for the Claude Desktop client. It prepares everything you need to start sending emails.
Step 2: Set Up Your Domain and API Token
Before using MailPace MCP, you must create a domain and token on MailPace:
- Go to https://app.mailpace.com.
- Create an organization and add a domain.
- Copy the API token for your domain.
This token lets your MailPace MCP server send emails through your MailPace account.
Step 3: Start the MailPace MCP Server
Now that you have your token, it is time to run the MailPace MCP server. You need to give the server your API token. You can do this in two ways:
- Use an environment variable:
export MAILPACE_API_TOKEN="your_api_token_here"
npm run start
- Or pass the token as a command argument:
npm run start -- --token your_api_token_here
Replace "your_api_token_here" with the actual token you copied earlier. This starts the server and connects it with your MailPace account.
Step 4: Send an Email Using MailPace MCP
MailPace MCP includes a tool called send-email. This tool sends emails to one or more recipients. You send an email by giving the email details in the same format that MailPace requires. The input should look like the MailPace API fields found here: MailPace Send Email API.
For example, your input might look like this when you send an email:
{
"from": "[email protected]",
"to": ["[email protected]"],
"subject": "Hello from MailPace MCP",
"text": "This is a test email sent using MailPace MCP server."
}
This JSON tells the server who sends the email, who gets it, the subject, and the message body. MailPace MCP will use this data and send the email using MailPace.
Step 5: Build and Run Manually (Optional)
If you want to build the project yourself or run it without Smithery, here are the commands:
- Build the project:
npm run build
- Start the server:
npm run start
Remember to include your API token as mentioned earlier.
Following these simple steps will get MailPace MCP running and ready to send fast transactional emails through MailPace. Just install, set your token, run the server, then use the send-email tool with the right input. Happy emailing!