Skip to navigation

How to Use Mailchimp's Transactional Messaging MCP

What is an MCP?

An MCP (Model Context Protocol) allows AI agents to interact with API, knowledge bases, or other content. Our MCP specifically allows you to interact with the Transactional Messaging API, give onboarding help regarding Transactional Messaging, and submit feedback.

What can the MCP do?

Our MCP mirrors what our API can already do.

ToolDescription
account_statusCheck account status
build_templateBuild/construct a template
call_apiCall a Transactional Messaging API endpoint
describe_apiDescribe a specific API endpoint (parameters, schema)
diagnose_failed_sendDiagnose why a send failed
integrate_apiHelp integrate with the API
list_apiList available Transactional Messaging API endpoints
onboardingOnboarding assistance
submit_feedbackSubmit feedback

Prerequisites

In order to complete some of the MCP actions, we recommend to have the following setup in advance:

How do I set up the MCP?

The MCP server URL is https://mandrillapp.com/mcp. Setup varies by client:

Claude Desktop Open Claude Desktop, go to Claude menu → Settings → Developer → Edit Config. This opens claude_desktop_config.json. Add the following under mcpServers:

{
"mcpServers": {
"mctx-mcp": {
"type": "http",
"url": "https://mandrillapp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}

Save the file and restart Claude Desktop. You should see an MCP indicator in the bottom-right of the chat input.

Claude Code (CLI) Run this command once:

claude mcp add --transport http mctx-mcp https://mandrillapp.com/mcp \
-H "Authorization: Bearer YOUR_API_KEY"

Cursor Add to ~/.cursor/mcp.json (create it if it doesn’t exist):

{
"mcpServers": {
"mctx-mcp": {
"type": "http",
"url": "https://mandrillapp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}

VS Code Add to .vscode/mcp.json in your project:

{
"servers": {
"mctx-mcp": {
"type": "http",
"url": "https://mandrillapp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}

Managing MCP Access

It is important that the API key used to authorize the MCP has the ability to complete the actions the MCP can do. If your API key is created with no restrictions, by default the MCP can be used. 

If you want to only allow the API key to use certain API calls and be able to use the MCP, the API key permissions must have the “AI Agents” group enabled. 

Transactional AI Agent API Key Setting

Troubleshooting

Example Prompts

**Connection Check **“Verify that my Mandrill MCP integration is active and confirm that you can access my account.”

**Send Email Test **“Send an email to sample@gmail.com with the message: ‘Hey, my MCP sent this!’”

**Engagement Metrics Retrieval **“Retrieve open and click metrics from my account, including data for the last three emails sent.”