Skip to content
VS Code

mailchimp mcp server for VS Code

io.github.cyanheads/mailchimp-mcp-server

Mailchimp via MCP: draft, test, and send campaigns; manage audiences and subscribers; pull reports.

client:VS Code transport:stdio runtime:npm

Install mailchimp mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mailchimp-api-key",
      "description": "MAILCHIMP_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailchimp-base-url",
      "description": "MAILCHIMP_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailchimp-timeout-ms",
      "description": "MAILCHIMP_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailchimp-max-retries",
      "description": "MAILCHIMP_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailchimp-concurrency-limit",
      "description": "MAILCHIMP_CONCURRENCY_LIMIT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailchimp-assets-dir",
      "description": "MAILCHIMP_ASSETS_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailchimp-templates-dir",
      "description": "MAILCHIMP_TEMPLATES_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-log-level",
      "description": "MCP_LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "mailchimp-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/mailchimp-mcp-server"
      ],
      "env": {
        "MAILCHIMP_API_KEY": "${input:mailchimp-api-key}",
        "MAILCHIMP_BASE_URL": "${input:mailchimp-base-url}",
        "MAILCHIMP_TIMEOUT_MS": "${input:mailchimp-timeout-ms}",
        "MAILCHIMP_MAX_RETRIES": "${input:mailchimp-max-retries}",
        "MAILCHIMP_CONCURRENCY_LIMIT": "${input:mailchimp-concurrency-limit}",
        "MAILCHIMP_ASSETS_DIR": "${input:mailchimp-assets-dir}",
        "MAILCHIMP_TEMPLATES_DIR": "${input:mailchimp-templates-dir}",
        "MCP_LOG_LEVEL": "${input:mcp-log-level}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mailchimp mcp server in other clients