crm
ActiveCampaign MCP, CLI, and Lua Integration for AI Agents
ActiveCampaign integration docs for AI agents: MCP gateway setup, ActiveCampaign CLI commands, Lua API reference, credentials, and function schemas.
15 functions 7 read 8 write API key auth
ActiveCampaign for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
activecampaign- route_slug
activecampaign- package
activecampaign- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. ActiveCampaign CLIHeadless setup and direct function calls. ActiveCampaign MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
ActiveCampaign MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for ActiveCampaign.
Claude Code ActiveCampaign MCP setup for Claude Code. Cursor ActiveCampaign MCP setup for Cursor. Codex ActiveCampaign MCP setup for Codex. OpenAI Agents ActiveCampaign MCP setup for OpenAI Agents SDK. Claude Agent SDK ActiveCampaign MCP setup for Claude Agent SDK. Vercel AI SDK ActiveCampaign MCP setup for Vercel AI SDK. LangChain ActiveCampaign MCP setup for LangChain. LangGraph ActiveCampaign MCP setup for LangGraph. CrewAI ActiveCampaign MCP setup for CrewAI. MCP clients ActiveCampaign MCP setup for Generic MCP Clients.
ActiveCampaign CLI Matrix
Use these pages for direct ActiveCampaign CLI workflows in scripts, CI, cron, and agent wrappers.
CI ActiveCampaign CLI for CI. Cron Jobs ActiveCampaign CLI for cron jobs. Shell Scripts ActiveCampaign CLI for shell scripts. Headless Automation ActiveCampaign CLI for headless automation. Coding Agents ActiveCampaign CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
activecampaign.activecampaign_list_contacts | Read read | 4 | List contacts from ActiveCampaign. Supports pagination, search by email or name, and filtering by list, status, and other criteria. |
activecampaign.activecampaign_get_contact | Read read | 1 | Get details of a specific ActiveCampaign contact by ID, including email, name, phone, and custom fields. |
activecampaign.activecampaign_create_contact | Write write | 4 | Create a new contact in ActiveCampaign. Requires an email address; firstName, lastName, and phone are optional. |
activecampaign.activecampaign_update_contact | Write write | 6 | Update an existing contact in ActiveCampaign. Provide the contact ID and any fields to update (email, firstName, lastName, phone, or custom fields). |
activecampaign.activecampaign_delete_contact | Write write | 1 | Delete a contact from ActiveCampaign. This action is permanent and cannot be undone. |
activecampaign.activecampaign_list_lists | Read read | 2 | List all contact lists in ActiveCampaign. Returns list IDs, names, and subscriber counts. |
activecampaign.activecampaign_get_list | Read read | 1 | Get details of a specific ActiveCampaign list by ID, including name, subscriber count, and settings. |
activecampaign.activecampaign_add_contact_to_list | Write write | 2 | Subscribe a contact to a list in ActiveCampaign. The contact will be added to the specified list. |
activecampaign.activecampaign_remove_contact_from_list | Write write | 2 | Unsubscribe a contact from a list in ActiveCampaign. The contact will be removed from the specified list. |
activecampaign.activecampaign_list_deals | Read read | 4 | List deals from ActiveCampaign. Supports pagination, search, and filtering by pipeline, stage, status, or owner. |
activecampaign.activecampaign_get_deal | Read read | 1 | Get details of a specific ActiveCampaign deal by ID, including title, value, stage, pipeline, and associated contact. |
activecampaign.activecampaign_create_deal | Write write | 5 | Create a new deal in ActiveCampaign. Requires a title, value, contact ID, and stage. Optionally specify a pipeline. |
activecampaign.activecampaign_update_deal | Write write | 9 | Update an existing deal in ActiveCampaign. Provide the deal ID and any fields to update (title, value, stage, pipeline, status, etc.). |
activecampaign.activecampaign_list_automations | Read read | 2 | List all automations in ActiveCampaign. Returns automation IDs, names, status, and trigger counts. |
activecampaign.activecampaign_create_note | Write write | 2 | Create a note attached to a contact in ActiveCampaign. Provide the contact ID and note text. |