mailchimp
MCP server for Mailchimp - Email marketing and automation platform
claude mcp add --transport stdio lokimcpuniverse-mailchimp-mcp-server uvx mailchimp-mcp-server
How to use
This MCP server provides a Model Context Protocol integration for Mailchimp, enabling GenAI applications to securely access and manage Mailchimp resources through a standardized MCP interface. It offers comprehensive Mailchimp API coverage, multiple authentication methods, rate-limiting, robust error handling, and async support for improved performance. To use it, first ensure the server is installed and its environment is properly configured, then start the MCP server so that your GenAI applications can connect via the MCP protocol. The server exposes Mailchimp endpoints through the MCP abstraction, allowing your agents to perform operations such as audience management, campaigns, and messaging without needing to embed direct API calls in every interaction.
Once running, you can interact with the server using the MCP-enabled client tooling your environment provides. Typical workflows include configuring your API credentials through environment variables or a .env file, starting the server, and then issuing model-context requests that are translated into Mailchimp API calls by the MCP server. The implementation emphasizes error handling and retry logic to cope with transient Mailchimp API issues, ensuring resilient integrations for automation and GenAI-assisted campaigns.
How to install
Prerequisites:
- Python 3.8+ installed on your system
- Pip available in your PATH
- Access to internet to install packages from PyPI
Step 1: Install the Mailchimp MCP Server from PyPI
pip install mailchimp-mcp-server
Step 2: Ensure you have a valid Mailchimp API key and related configuration. You can set them via environment variables or a .env file as described in the next section.
Step 3: Run the MCP server using the uvx command (Python/uv flow)
uvx mailchimp-mcp-server
Optional Step 4: If you prefer to install from source, clone the repository and install in editable mode
git clone https://github.com/LokiMCPUniverse/mailchimp-mcp-server.git
cd mailchimp-mcp-server
pip install -e .
Note: The exact command to start the server may vary based on how you intend to deploy it (development vs. production). Refer to the documentation for your environment for any additional flags or configuration options.
Additional notes
Environment variables and configuration:
- MAILCHIMP_API_KEY: Your Mailchimp API key
- MAILCHIMP_SERVER: Your Mailchimp server prefix (e.g., us1, us2) if required by the API key
- Any other Mailchimp API requirements should be set in a .env file or via your hosting environment's secret management
Common issues:
- Misconfigured API keys or missing environment variables: ensure keys are correct and loaded at startup
- Rate limiting: the MCP server includes retry logic, but you may need to adjust concurrency settings for large campaigns
- Network or DNS issues: verify network access to Mailchimp endpoints
Tips:
- Use a dedicated API key with scoped permissions suitable for the operations your MCP server will perform
- Store secrets securely and avoid committing them to source control
- Regularly update the MCP server package to benefit from security and feature improvements
Related MCP Servers
salesforce
MCP server for Salesforce API integration - Complete CRM integration for GenAI applications
tableau
MCP server for Tableau - Data visualization and analytics platform
uipath
MCP server for UiPath - Robotic Process Automation (RPA) platform
hootsuite
MCP server for Hootsuite - Social media management platform
xero
MCP server for Xero - Cloud-based accounting software integration
rancher
MCP server for Rancher - Kubernetes management and deployment platform