
ActiveCampaign
io.github.ohneben由 GitHub 账号 ohneben 发布v1.1.1更新于 Oct 24, 2026
ActiveCampaign API: ~325 endpoints (v3, SMS, WhatsApp, Segments) as safety-categorized MCP tools.
概览
提供约 325 个 ActiveCampaign API 工具,让助手在对话中读取和管理联系人、交易、营销活动、短信与 WhatsApp。
- 可以做什么
- 根据 ActiveCampaign 的 OpenAPI 定义生成 MCP 工具,覆盖 v3 REST API 以及短信、WhatsApp 和异步细分(Segments)接口。工具涵盖联系人、交易、账户、列表、标签、自定义对象、电商、营销活动、自动化、Webhook 和跟踪。每个工具都标注为只读、写入或破坏性,并带有 MCP 注解、分页参数、重试和客户端限流。另含一个 GraphQL 直通工具。
- 适用场景
- 适合让助手直接操作真实的 ActiveCampaign 账户:查询联系人、创建交易、构建细分、查看电商报表,或起草短信和 WhatsApp 群发。只读模式适合只需要查询的团队。
- 运行要求
- 需要一个开通 API 访问的 ActiveCampaign 账户,提供 ACTIVECAMPAIGN_API_URL 和 ACTIVECAMPAIGN_API_TOKEN。可通过 Docker(或 Node.js 18+ 源码)以 stdio 本地运行,或作为 Streamable HTTP 服务运行;当 HTTP 端点可被非本机访问时需要 MCP_AUTH_TOKEN。需要访问 ActiveCampaign API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 ActiveCampaign,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ohneben's ActiveCampaign MCP
License & checks
MCP registries
[MCP Registry] [Listed on mcpservers.org] [ActiveCampaign-MCP MCP server]
The most complete ActiveCampaign MCP server there is. Run your entire ActiveCampaign account in plain language from Claude, Cursor, or any other MCP client.
This Model Context Protocol server exposes the whole ActiveCampaign account API — ~325 tools — covering the v3 REST API plus the SMS, WhatsApp and async Segments APIs, generated straight from ActiveCampaign's own OpenAPI definitions. Every tool is safety-categorized (🟢 read-only / 🟡 write / 🔴 destructive) so your assistant knows what an action does before it calls it. It runs over stdio (Claude Desktop and other local launchers) or Streamable HTTP (hosted in Docker), and ships with retries, client-side rate limiting tuned to ActiveCampaign's 5 req/s cap, and request timeouts so it holds up against a live account.
Why you'll want this
Some MCP servers just forward a slice of the API. This one is built to be safe to hand to an LLM, complete, and easy to run for real:
How it compares
There are a few ways to reach ActiveCampaign from an AI assistant today. Here's how this server stacks up against the alternatives:
✅ = yes · ➖ = partial / not documented · ❌ = no. Compiled from each project's public documentation; this is an unofficial project, not affiliated with ActiveCampaign or the projects listed. Tool counts are approximate and move as APIs evolve.
The short version: the official remote MCP is a great managed on-ramp but runs in ActiveCampaign's cloud on a curated slice of the API. The community servers are solid but top out around 60 tools of core CRM, stdio-only, without a deployment story. This one gives you the entire account API, both transports, a Docker deployment, and safety guardrails — self-hosted, on your token, MIT.
What you can do
Once it's connected, ask your assistant things like:
- "Find the contact [email protected] and show her tags, lists and recent activity."
- "Create a deal for Acme Corp worth $12,000 in the 'Sales' pipeline, stage 'Qualified'."
- "List contacts added this month who opened the last campaign but haven't been tagged 'engaged'."
- "Add the tag 'webinar-2026' to every contact on list 5."
- "Show total ecommerce revenue and the top 10 orders from last week."
- "Create a segment of customers in Germany and count how many match."
- "Draft an SMS broadcast to the 'VIP' list — but don't send it until I confirm."
Tools are generated automatically from ActiveCampaign's specs and grouped into 🟢 read-only, 🟡 write and 🔴 destructive — so a well-behaved host can treat each group differently.
How it works
The server parses the bundled OpenAPI definitions into MCP tools (resolving
$refs and guarding against recursive schemas), tags each with a curated safety
category, and injects your Api-Token header on every outgoing request. Your
token stays in the server's environment — the model never sees or handles it.
Requirements
- An ActiveCampaign account with API access — your API URL and API token from Settings → Developer. See Get your API credentials.
- Docker (Docker Desktop on macOS/Windows) for the quick start below — or Node.js ≥ 18 to run from source.
Quick start (Docker)
1. Add your credentials. Copy the example config and fill it in:
2. Start the server:
The bundled docker-compose.yml binds to 127.0.0.1:8765 only, so the server is
reachable from your machine but not the network.
3. Confirm it's running:
4. Connect your MCP client. The MCP endpoint is http://localhost:8765/mcp.
-
Claude Desktop — add a custom connector (Settings → Connectors) pointing at the URL, or bridge it locally with
mcp-remote. Add this undermcpServersin your config, then fully quit and reopen the app:(Drop the
--headerline if you leftMCP_AUTH_TOKENempty.) -
Claude Code — one command:
-
Claude Cowork — shares Claude Code's MCP config, so the command above makes the tools available there too.
Prefer a prebuilt image?
Every push to main publishes a ready-to-run image to the GitHub Container
Registry, so you can skip the local build entirely:
Get your API credentials
- Log in to ActiveCampaign and open Settings → Developer.
- Copy your API URL →
ACTIVECAMPAIGN_API_URL. It looks likehttps://your-account.api-us1.com/api/3. Use the exact URL shown — not all accounts are onapi-us1, and custom domains differ. - Copy your API Key →
ACTIVECAMPAIGN_API_TOKEN.
Put both in .env. The server injects the token on every request, so your
assistant never sees it.
Configuration
Everything is set in .env (copied from .env.example):
After changing .env, reload with docker compose up -d --force-recreate.
Run npm run list-tools (no credentials needed) to print the full catalog, the
per-category counts, and the list of resource-group keys you can filter on.
Tool safety categories
Each tool's description starts with one of these banners and carries the matching MCP annotations:
That's 162 read-only · 119 write · 44 destructive = 325 tools. Hosts that
respect annotations (Claude included) can require confirmation for
destructiveHint tools and trust readOnlyHint tools automatically. Prefer to
lock it down further? Set ACTIVECAMPAIGN_READ_ONLY=true to expose only the 162
read-only tools.
Coverage by area (🟢 read / 🟡 write / 🔴 destructive)
Run from source (stdio, no Docker)
Prefer the classic stdio mode for Claude Desktop? Build it locally:
Then point Claude Desktop at the compiled entrypoint in
claude_desktop_config.json:
Keeping the specs current
The bundled files under spec/ are the source of truth for the tools:
To refresh against a newer API version, drop the updated OpenAPI JSON in place (or
point ACTIVECAMPAIGN_SPEC_DIR at a directory using the same filenames) and
rebuild. New paths become new tools automatically — no code changes needed.
Development
CI builds and tests every push across Node 20 and 22; pushes to main also
publish a Docker image to the GitHub Container Registry.
Notes & conventions
- Transports:
MCP_TRANSPORT=stdio(default) for local launchers;MCP_TRANSPORT=httpfor the always-on Streamable-HTTP server the Docker image runs. - Paging / sorting / filtering: list tools accept
limit(max 100),offset,orders({"email":"ASC"}) andfilters({"name":"ecom"}). For very large contact exports ActiveCampaign recommendsorders={"id":"ASC"}+id_greater. - Rate limit: ActiveCampaign allows 5 requests / second per account (shared
across every key); the server self-throttles at
ACTIVECAMPAIGN_MAX_REQUESTSperACTIVECAMPAIGN_RATE_WINDOW_MS(default 4 / 1 s) and retries any429it still receives, honoringRetry-After. - Request bodies: write tools take a
bodyargument; its schema is resolved from the spec and shown to the model (e.g. create-contact expects{"contact": {…}}).
Security
- Your API token lives only in
.env, which is git-ignored. Never commit real secrets. The token grants full account access — if it leaks, rotate it in ActiveCampaign → Settings → Developer. - The HTTP endpoint is unauthenticated by default (fine on localhost). To expose
it beyond your machine, set
MCP_AUTH_TOKENand send it as anAuthorization: Bearer <token>header — ideally behind TLS. - Delete and send (SMS/WhatsApp) tools carry the right annotations so a
well-behaved host prompts before acting — keep that confirmation on, or run in
ACTIVECAMPAIGN_READ_ONLY=truemode.
See SECURITY.md for the full policy and how to report a vulnerability.
Credits & license
An unofficial community integration for ActiveCampaign; not affiliated with or endorsed by ActiveCampaign. Built on the Model Context Protocol. Tools are generated from ActiveCampaign's public OpenAPI definitions. Licensed under the MIT License.
来源:README.md,提交 c849305
工具
0版本历史
1- v1.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分