Mailchimp MCP Server

Mailchimp MCP Server

Comprehensive MCP server for Mailchimp Marketing API v3.0 with over 104 tools and 15+ React UI apps, enabling management of campaigns, audiences, ecommerce, automations, reports, and more via natural language.

Category
访问服务器

README

Mailchimp MCP Server

Complete Model Context Protocol (MCP) server for Mailchimp Marketing API v3.0 with 104+ tools and 15+ React UI apps.

🚀 Features

104+ MCP Tools

Comprehensive coverage of the Mailchimp Marketing API v3.0:

  • Campaigns (15 tools): Create, manage, send, schedule, and test email campaigns
  • Lists/Audiences (14 tools): Manage lists, segments, interest categories, and growth analytics
  • Members (12 tools): Add, update, tag, and track list subscribers
  • Ecommerce (28 tools): Manage stores, products, orders, carts, customers, and promo codes
  • Automations (10 tools): Manage automation workflows and emails
  • Reports (8 tools): Access campaign analytics, click tracking, and performance data
  • Landing Pages (8 tools): Create and manage landing pages
  • Templates (6 tools): Manage email templates
  • Search (2 tools): Search campaigns and members
  • Tags (1 tool): Search and manage tags

15+ React UI Apps

Beautiful, dark-themed React applications for visual interaction:

  1. Campaign Dashboard - View and manage all campaigns
  2. Audience Manager - Comprehensive audience/list management
  3. Subscriber Grid - Searchable subscriber table
  4. Segment Builder - Create and manage segments
  5. Template Gallery - Browse and use email templates
  6. Automation Flow - Manage automation workflows
  7. Campaign Analytics - Detailed campaign performance metrics
  8. A/B Test Results - Compare A/B test outcomes
  9. Email Preview - Preview campaign emails
  10. Tag Manager - Organize and apply tags
  11. Landing Page Builder - Create landing pages
  12. Content Manager - Manage email content
  13. Growth Chart - Visualize audience growth over time
  14. Send Time Optimizer - Find optimal send times
  15. List Health Monitor - Track list health metrics
  16. Ecommerce Dashboard - Manage stores and products
  17. Promo Code Manager - Create and track promo codes

📦 Installation

npm install
npm run build

🔧 Configuration

Set your Mailchimp API key as an environment variable:

export MAILCHIMP_API_KEY="your-api-key-us19"

Your API key format: xxxxxxxxxxxxxxxxxxxxx-datacenter (e.g., abc123-us19)

You can obtain your API key from: Mailchimp Account → Extras → API Keys

🎯 Usage

As MCP Server

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mailchimp": {
      "command": "node",
      "args": ["/path/to/servers/mailchimp/dist/index.js"],
      "env": {
        "MAILCHIMP_API_KEY": "your-api-key-us19"
      }
    }
  }
}

Standalone

npm start

📚 API Coverage

Campaign Management

  • Create campaigns (regular, A/B split, RSS, variate)
  • Set HTML/template content
  • Send, schedule, pause, resume campaigns
  • Send test emails
  • Replicate campaigns
  • Get send checklist

Audience/List Management

  • Create and manage audiences
  • Add/update/remove members (batch operations supported)
  • Create segments (static, saved, fuzzy)
  • Manage interest categories and groups
  • Track growth history

Member Management

  • Add/update members with merge fields
  • Tag management (add/remove tags)
  • Track member activity and goals
  • Bulk subscribe operations
  • VIP member designation

Automation Workflows

  • List all automations
  • Pause/start workflows
  • Manage automation emails
  • Queue management

Analytics & Reports

  • Campaign performance reports
  • Click-through tracking
  • Open rate details
  • Domain performance analysis
  • A/B test results
  • Email activity per subscriber

E-commerce

  • Store management
  • Product catalog (variants, SKUs, inventory)
  • Order tracking
  • Cart abandonment
  • Customer management
  • Promo rules and codes

Templates & Landing Pages

  • Template gallery
  • Create custom templates
  • Landing page builder
  • Publish/unpublish pages

🎨 React Apps

All apps use a consistent dark theme with Tailwind CSS:

  • Background: bg-gray-900
  • Cards: bg-gray-800 with border-gray-700
  • Accents: Blue (blue-400, blue-600) and Green (green-400, green-600)
  • Typography: White text with gray variants for hierarchy

Running Individual Apps

cd src/ui/react-app/campaign-dashboard
npm install
npm run dev

🔐 Authentication

The server uses HTTP Basic authentication with Mailchimp's API:

  • Username: anystring (Mailchimp ignores this)
  • Password: Your API key

⚡ Rate Limiting

Mailchimp enforces rate limits (typically 10 requests/second). The client automatically:

  • Tracks rate limit headers
  • Waits when limit is reached
  • Resumes after reset time

📖 Tool Examples

Create a Campaign

{
  "type": "regular",
  "recipients": {
    "list_id": "abc123"
  },
  "settings": {
    "subject_line": "Welcome to our newsletter!",
    "from_name": "Your Company",
    "reply_to": "hello@yourcompany.com",
    "title": "Welcome Campaign"
  }
}

Add a Subscriber

{
  "list_id": "abc123",
  "email_address": "subscriber@example.com",
  "status": "subscribed",
  "merge_fields": {
    "FNAME": "John",
    "LNAME": "Doe"
  }
}

Get Campaign Report

{
  "campaign_id": "abc123"
}

🧪 Testing

npm run typecheck  # TypeScript type checking
npm test          # Run tests (if configured)

🏗️ Architecture

mailchimp/
├── src/
│   ├── index.ts              # MCP server entry point
│   ├── clients/
│   │   └── mailchimp.ts      # Mailchimp API client
│   ├── tools/
│   │   ├── campaigns-tools.ts
│   │   ├── lists-tools.ts
│   │   ├── members-tools.ts
│   │   ├── automations-tools.ts
│   │   ├── templates-tools.ts
│   │   ├── reports-tools.ts
│   │   ├── landing-pages-tools.ts
│   │   ├── ecommerce-tools.ts
│   │   ├── tags-tools.ts
│   │   └── search-tools.ts
│   ├── types/
│   │   └── index.ts          # TypeScript type definitions
│   └── ui/
│       └── react-app/        # 15+ React applications
│           ├── campaign-dashboard/
│           ├── audience-manager/
│           ├── subscriber-grid/
│           └── ... (12+ more apps)
├── dist/                     # Compiled JavaScript
├── package.json
├── tsconfig.json
└── README.md

📄 License

MIT

🤝 Contributing

Contributions welcome! Please read our contributing guidelines and submit PRs.

📞 Support

🔗 Related


Built with ❤️ for the MCP community

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选