Mailchimp
HTTPv1.0.0Credential RequiredJan 22, 2026
A Model Context Protocol (MCP) server that provides comprehensive access to Mailchimp Marketing API endpoints with OAuth authentication.
This MCP server provides the following Mailchimp operations:
Using pip:
pip install -r requirements.txtYou need to create a Mailchimp app with OAuth support:
After setting up OAuth, you'll receive an access token. You'll also need your server prefix (e.g., 'us18').
To find your server prefix:
https://us18.admin.mailchimp.com/....admin.mailchimp.com (e.g., us18){
"tool": "health_check",
"arguments": {
"oauth_token": "your_oauth_token",
"server": "us18"
}
}{
"tool": "list_automations",
"arguments": {
"oauth_token": "your_oauth_token",
"server": "us18",
"count": 25,
"status": "sending"
}
}{
"tool": "get_campaign_report",
"arguments": {
"oauth_token": "your_oauth_token",
"server": "us18",
"campaign_id": "abc123def"
}
}{
"tool": "add_template",
"arguments": {
"oauth_token": "your_oauth_token",
"server": "us18",
"name": "Welcome Email",
"html": "<!DOCTYPE html><html><body><h1>Hello *|FNAME|*!</h1></body></html>",
"folder_id": "folder123"
}
}{
"tool": "list_products",
"arguments": {
"oauth_token": "your_oauth_token",
"server": "us18",
"store_id": "store123",
"count": 50
}
}{
"tool": "list_store_orders",
"arguments": {
"oauth_token": "your_oauth_token",
"server": "us18",
"store_id": "store123",
"campaign_id": "campaign456",
"count": 100
}
}{
"tool": "update_template",
"arguments": {
"oauth_token": "your_oauth_token",
"server": "us18",
"template_id": "11787417",
"name": "Updated Welcome Email",
"html": "<!DOCTYPE html><html>...updated HTML...</html>"
}
}save - Draft automationspaused - Paused automationssending - Active automationsregular - Regular campaignsplaintext - Plain text campaignsabsplit - A/B split test campaignsrss - RSS campaignsvariate - Multivariate campaignsuser - User-created templatesbase - Built-in base templatesgallery - Gallery templateshtml - Code your own HTMLtemplate - Legacy email editor templatesmultichannel - New editor templatesCommon merge tags for templates:
*|FNAME|* - Subscriber's first name*|LNAME|* - Subscriber's last name*|EMAIL|* - Subscriber's email*|MC:SUBJECT|* - Email subject line*|ARCHIVE|* - Link to archived version*|UNSUB|* - Unsubscribe link*|UPDATE_PROFILE|* - Update preferences link*|LIST:DESCRIPTION|* - List description*|HTML:LIST_ADDRESS_HTML|* - Company address*|CURRENT_YEAR|* - Current yearmailchimp_mcp/
├── tools/
│ ├── __init__.py
│ ├── marketing_operations.py # Automation, campaigns, lists, reports
│ └── template_operations.py # Templates and folders
│ └── store_operations.py # store operations, orders, and products
├── utils/
│ └── mailchimp_utils.py # client request utilities
├── mailchimp_mcp_server.py # Main server file
├── requirements.txt # Python dependencies
├── railway.json # Railway deployment config
└── README.mdThis server is configured for Railway deployment with railway.json:
# Deploy to Railway
railway upThe server will run on port 8080 using streamable-http transport.
For production deployment, you need to set on client side:
MAILCHIMP_CLIENT_ID - Your Mailchimp OAuth client ID (optional)MAILCHIMP_CLIENT_SECRET - Your Mailchimp OAuth client secret (optional)Ensure your OAuth token is valid:
health_check tool firstMailchimp API has rate limits (10 simultaneous connections):
count parameters for large requestsIf template creation fails:
count and offset values