# ActiveCampaign [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/ohneben/ActiveCampaign-MCP  
**GitHub Stars:** 1  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/activecampaign-2

## Description
ActiveCampaign API: ~325 endpoints (v3, SMS, WhatsApp, Segments) as safety-categorized MCP tools.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/ohneben/ActiveCampaign-MCP), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker compose up
```

2. Configure:

```sh
cp .env.example .env
```

3. Start the server:

```sh
docker compose up -d --build
```

4. Add to Claude Code:

```sh
claude mcp add --transport http activecampaign http://localhost:8765/mcp
```

5. Start the server:

```sh
docker run -d --name activecampaign-mcp -p 127.0.0.1:8765:8765 --env-file .env \
  ghcr.io/ohneben/activecampaign-mcp:latest
```

6. Start the server:

```sh
docker compose up -d --force-recreate
```

## Documentation

## What the ActiveCampaign MCP server does

The ActiveCampaign MCP server gives MCP-compatible clients access to approximately 325 operations across an ActiveCampaign account. Coverage includes contacts, deals, accounts, lists, tags, custom fields and objects, campaigns, messages, automations, segments, webhooks, tasks, calendars, site and event tracking, SMS, WhatsApp, and ecommerce data.

It also includes a passthrough tool for ActiveCampaign's ecommerce GraphQL API. That option is useful when a request needs a specific field selection in one query instead of using the generated REST operations.

The ActiveCampaign MCP server is intended for account administration through natural-language requests, but it can perform writes and destructive actions as well as reads. Safety categories distinguish read-only, write, and destructive operations. MCP annotations such as `readOnlyHint` and `destructiveHint` are included for hosts that use them when deciding whether to request confirmation.

## How it works

The server reads bundled ActiveCampaign OpenAPI definitions and turns their endpoints into MCP tools. It resolves references in the schemas, protects against recursive schema structures, and adds typed pagination, ordering, and filtering inputs to list endpoints. This lets a client provide `limit`, `offset`, `orders[…]`, and `filters[…]` values without constructing ActiveCampaign's bracket syntax manually.

The request path is:

`MCP client → ActiveCampaign MCP server → ActiveCampaign API`

The API token remains in the server environment. The server adds it as the `Api-Token` header on outgoing requests, so the model receives tool inputs and API responses rather than the credential itself. Retries with jittered exponential backoff handle transient `429` and `5xx` responses, while client-side throttling stays under ActiveCampaign's documented five-requests-per-second limit. Request timeouts and an optional response-size cap provide additional controls for large or slow responses.

## Setup and configuration

An ActiveCampaign account with API access is required, along with the API URL and token found under ActiveCampaign Settings and Developer. The two required environment variables are `ACTIVECAMPAIGN_API_URL` and `ACTIVECAMPAIGN_API_TOKEN`.

For a Docker deployment, copy the example environment file to `.env`, add the credentials, and run `docker compose up -d --build`. The repository supplies Docker Compose, a health check, and automatic restart configuration. An optional `MCP_AUTH_TOKEN` can protect the HTTP endpoint when it is reachable beyond localhost.

The ActiveCampaign MCP server can also run from source with Node.js 18 or newer. Use stdio for local launcher configurations such as Claude Desktop, or Streamable HTTP when hosting one server for multiple clients. `ACTIVECAMPAIGN_READ_ONLY=true` restricts exposure to read-only tools, and `ACTIVECAMPAIGN_INCLUDE_GROUPS` narrows the available groups, such as `contacts,deals,lists`. `ACTIVECAMPAIGN_MAX_RESPONSE_CHARS` optionally limits large list responses.

## Tools and capabilities

- Query and modify contacts, deals, accounts, lists, tags, and custom data.
- Work with campaigns, messages, automations, segments, tasks, calendars, and webhooks.
- Access SMS, WhatsApp, site tracking, event tracking, and ecommerce APIs.
- Page, sort, and filter list results through typed tool inputs.
- Use safety categories and MCP annotations to distinguish action risk.
- Update the bundled API specification and regenerate tools when the specification changes.

## Limitations and notes

The server is an unofficial, self-hosted project and requires direct ActiveCampaign API credentials. Tool coverage and counts can change as the upstream API definitions evolve. Safety annotations help a client classify actions, but confirmation behavior depends on whether the MCP host honors those annotations. HTTP deployments should use bearer-token authentication when exposed beyond localhost.

_Full upstream README: https://allmcps.com/mcp/activecampaign-2/readme_

