mailchimp_list_campaigns
Pack: mailchimp · Endpoint: https://gateway.pipeworx.io/mailchimp/mcp
View all email campaigns. Returns title, type (e.g., “regular”, “automation”), status, and send timestamps. Use mailchimp_get_campaign for full details.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | Mailchimp API key |
count | number | no | Number of campaigns to return (default 10, max 1000) |
offset | number | no | Offset for pagination (default 0) |
status | string | no | Filter by status: save, paused, schedule, sending, sent |
Example call
Arguments
{
"_apiKey": "your-mailchimp-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/mailchimp/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mailchimp_list_campaigns","arguments":{"_apiKey":"your-mailchimp-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mailchimp_list_campaigns', {
"_apiKey": "your-mailchimp-api-key"
});
More examples
{
"_apiKey": "your-mailchimp-api-key",
"status": "sent",
"count": 25
}
Response shape
| Field | Type | Description |
|---|---|---|
campaigns | array | Array of campaigns |
total_items | number | Total number of campaigns |
_links | array | HAL links |
Full JSON Schema
{
"type": "object",
"properties": {
"campaigns": {
"type": "array",
"description": "Array of campaigns",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Campaign ID"
},
"type": {
"type": "string",
"description": "Campaign type (regular, automation, etc.)"
},
"create_time": {
"type": "string",
"description": "ISO date when campaign was created"
},
"archive_url": {
"type": "string",
"description": "Archive URL"
},
"long_archive_url": {
"type": "string",
"description": "Long archive URL"
},
"status": {
"type": "string",
"enum": [
"save",
"paused",
"schedule",
"sending",
"sent"
],
"description": "Campaign status"
},
"emails_sent": {
"type": "number",
"description": "Number of emails sent"
},
"send_time": {
"type": "string",
"description": "Send time ISO date"
},
"from_name": {
"type": "string",
"description": "From name"
},
"reply_to": {
"type": "string",
"description": "Reply-to email"
},
"title": {
"type": "string",
"description": "Campaign title"
},
"subject_line": {
"type": "string",
"description": "Email subject line"
},
"preview_text": {
"type": "string",
"description": "Preview text"
},
"list_id": {
"type": "string",
"description": "Associated audience/list ID"
},
"template_id": {
"type": "number",
"description": "Template ID"
},
"web_id": {
"type": "number",
"description": "Web ID"
},
"_links": {
"type": "array",
"description": "HAL links"
}
}
}
},
"total_items": {
"type": "number",
"description": "Total number of campaigns"
},
"_links": {
"type": "array",
"description": "HAL links"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mailchimp": {
"url": "https://gateway.pipeworx.io/mailchimp/mcp"
}
}
}
See Getting Started for client-specific install steps.