Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Mtl Mailchimp

FreeNot checked

An MCP server for Mailchimp that allows listing, copying, creating draft campaigns, pushing HTML content, and sending test emails via Claude Code or any MCP cli

GitHubEmbed

About

An MCP server for Mailchimp that allows listing, copying, creating draft campaigns, pushing HTML content, and sending test emails via Claude Code or any MCP client, with no send/schedule capability to prevent accidental blasts.

README

License: MIT CI Python 3.10+ Code style: Ruff Built by MusicTech Lab

Model Context Protocol (MCP) server for Mailchimp.

Copy or create newsletter campaigns, push HTML content, and send test emails — all from Claude Code or any MCP-compatible client.

Draft + test only. This server can list, copy, and create draft campaigns and send test emails to seed addresses. It deliberately exposes no send/schedule tool — you review the draft and hit Send in the Mailchimp UI. No accidental blasts from the CLI.

Tools

Tool Description
mailchimp_list_audiences List audiences (lists) with member counts
mailchimp_list_campaigns List recent campaigns, newest first
mailchimp_get_campaign Get a campaign's settings, recipients, status
mailchimp_get_content Peek at a campaign's stored HTML (truncated)
mailchimp_replicate_campaign Copy an existing campaign into a new draft
mailchimp_create_campaign Create a new draft campaign for an audience
mailchimp_set_content_from_file Push a local HTML file as the campaign content
mailchimp_update_settings Update subject, title, preview text, sender
mailchimp_send_test Send a test to seed addresses
mailchimp_report Opens/clicks/bounces for a sent campaign

Setup

1. Get a Mailchimp API key

Mailchimp → Account → Extras → API keys. The key ends in a data-center suffix like -us19, which the server uses to find the right API host.

2. Configure

cp .env.example .env
# edit .env and paste your MAILCHIMP_API_KEY
poetry install

3. Register with Claude Code

{
  "mcpServers": {
    "mtl-mailchimp": {
      "command": "poetry",
      "args": ["run", "python", "-m", "mtl_mailchimp_mcp"],
      "cwd": "/absolute/path/to/mtl-mailchimp-mcp"
    }
  }
}

Typical flow: reuse last month's newsletter

  1. mailchimp_list_campaigns — find the previous issue
  2. mailchimp_replicate_campaign <id> — fresh draft
  3. mailchimp_set_content_from_file <new_id> /path/to/newsletter.html — push new HTML
  4. mailchimp_update_settings <new_id> subject="..." preview_text="..."
  5. mailchimp_send_test <new_id> — check your inbox
  6. Review in Mailchimp and send from the UI

Note on images: Mailchimp does not rehost images. Use absolute URLs in your HTML (e.g. https://yourdomain.com/img/...) so they render in the inbox.

Security

  • Your API key lives only in .env (git-ignored) and is never logged.
  • mailchimp_set_content_from_file is confined to MAILCHIMP_CONTENT_DIR (or your home directory) and refuses hidden paths and secret files (keys, certs, *.env).
  • No send/schedule capability — see SECURITY.md.

Development

poetry install
poetry run ruff check .
poetry run ruff format --check .
poetry run pytest

Built by MusicTech Lab.

from github.com/musictechlab/mtl-mailchimp-mcp

Installing Mtl Mailchimp

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/musictechlab/mtl-mailchimp-mcp

FAQ

Is Mtl Mailchimp MCP free?

Yes, Mtl Mailchimp MCP is free — one-click install via Unyly at no cost.

Does Mtl Mailchimp need an API key?

No, Mtl Mailchimp runs without API keys or environment variables.

Is Mtl Mailchimp hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Mtl Mailchimp in Claude Desktop, Claude Code or Cursor?

Open Mtl Mailchimp on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Mtl Mailchimp with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs