Skip to main content
Glama
AlexlaGuardia

mcp-activecampaign

README.md
# mcp-activecampaign

Production-grade MCP server for the ActiveCampaign API — **33 tools** for contacts, deals, automations, tags, pipelines, campaigns, custom fields, accounts, and webhooks.

The first MCP server for ActiveCampaign's 185,000+ customers.

## Features

- **Contacts** — List, get, create, update, delete, and search contacts
- **Deals** — Full CRM deal management with pipeline and stage support
- **Tags** — Create tags and manage contact-tag associations
- **Lists** — View mailing lists and subscriber counts
- **Automations** — List automations and add contacts to workflows
- **Pipelines & Stages** — View deal pipelines and their stages
- **Custom Fields** — List fields, get/set values per contact
- **Campaigns** — View email campaign details and performance metrics
- **Accounts** — Manage B2B company records
- **Webhooks** — Create, list, and delete webhook subscriptions
- **Rate limiting** — Built-in 5 req/s throttle (ActiveCampaign's limit)
- **Auto-retry** — Automatic retry on 429 responses

## Quick Start

### Install

```bash
pip install mcp-activecampaign
```

### Configure

Get your API URL and key from **Settings > Developer** in your ActiveCampaign account.

#### Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "activecampaign": {
      "command": "mcp-activecampaign",
      "env": {
        "ACTIVECAMPAIGN_URL": "https://youraccountname.api-us1.com",
        "ACTIVECAMPAIGN_API_KEY": "your-api-key"
      }
    }
  }
}
```

#### Environment Variables

```bash
export ACTIVECAMPAIGN_URL="https://youraccountname.api-us1.com"
export ACTIVECAMPAIGN_API_KEY="your-api-key"
mcp-activecampaign
```

## Tools (33)

| Category | Tools | Notes |
|----------|-------|-------|
| **Account** | `ping` | Connection test |
| **Contacts** | `list_contacts`, `get_contact`, `create_contact`, `update_contact`, `delete_contact`, `search_contacts` | Full CRUD + search |
| **Deals** | `list_deals`, `get_deal`, `create_deal`, `update_deal`, `delete_deal` | Full CRUD with pipeline/stage filters |
| **Tags** | `list_tags`, `create_tag`, `add_tag_to_contact`, `remove_tag_from_contact` | Contact tagging |
| **Lists** | `list_lists`, `get_list` | Mailing lists |
| **Automations** | `list_automations`, `get_automation`, `add_contact_to_automation` | Read + enroll (API limitation: can't create automations) |
| **Pipelines** | `list_pipelines`, `list_stages` | Deal pipeline structure |
| **Custom Fields** | `list_custom_fields`, `get_field_values`, `set_field_value` | Contact custom data |
| **Campaigns** | `list_campaigns`, `get_campaign` | Read-only (API limitation) |
| **Accounts** | `list_accounts`, `get_account` | B2B company records |
| **Webhooks** | `list_webhooks`, `create_webhook`, `delete_webhook` | Event subscriptions |

## API Notes

- **Auth**: API key via `Api-Token` header (no OAuth required)
- **Rate limit**: 5 requests/second per account (handled automatically)
- **Pagination**: Offset-based — all list tools support `limit` and `offset` params
- **Automations**: Read-only via API — you can list and enroll contacts, but can't create or edit workflows
- **Campaigns**: Mostly read-only via API — view details and metrics

## Development

```bash
git clone https://github.com/AlexlaGuardia/mcp-activecampaign.git
cd mcp-activecampaign
pip install -e ".[dev]"
pytest
```

## License

MIT

TDQS

B3.2/5.0

Scored across 65 tools

Disambiguation5/5

Each tool targets a distinct resource and action. Even with 65 tools, names like add_contact_note, add_deal_note, create_contact, update_contact, etc., make their purposes clear and non-overlapping.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in snake_case. Verbs include add, create, delete, get, list, remove, search, send, set, subscribe, track, unsubscribe, update. No mixed conventions or irregularities.

Tool Count4/5

65 tools is high but appropriate given the breadth of ActiveCampaign's features (contacts, deals, campaigns, ecommerce, etc.). It slightly exceeds the typical 15-25 range but earns its place.

Completeness3/5

Covers core CRUD for contacts and deals, but notable gaps exist: no delete_tag, no update_campaign, no create_list. Some resources like automations and forms are read-only. Overall, most workflows are supported but missing operations are evident.

Maintenance

ActivityInactive
ResponsivenessNo issues