Catalog PyPI
PACKAGE EXPLORERView in registry

ac-mcp-server

PyPI

Official ActiveCampaign MCP Server

acactivecampaignmcpmcp-server
Versions collected1
Direct dependencies2From release 0.12.0
Last observed20 Oct, 18:17 UTC

README

Version 0.12.0 documentation

ActiveCampaign MCP Server - Archived

ActiveCampaign now has a remote MCP server. See the instructions here to connect to it from any MCP client: https://www.activecampaign.com/lp/mcp


Historical content

ActiveCampaign's MCP server is now available as a beta release. This enables AI clients to seamlessly take ActiveCampaign actions and interact with your ActiveCampaign data, opening up powerful new integration possibilities for our ecosystem. For more information and to provide feedback, visit https://www.activecampaign.com/mcp

What is MCP?

MCP (Model Context Protocol) is an emerging standard that allows AI models to interact with applications through a consistent interface. It acts as an abstraction layer over HTTP, letting AI agents access application functionality without needing to understand specific API protocols.

Beta Notice

The ActiveCampaign MCP Server is currently in beta. Features and functionality may change as we continue to improve the integration.

Pre-requisites

You will need uv, a python package manager required to run the MCP server locally installed. We recommend installing through Homebrew if you are on a Mac to make sure uvx is installed correctly on the system path for MCP clients.

To install uvx through homebrew, run these commands from your terminal:

# If you don't already have homebrew installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install uv
brew install uv

If you are not on a Mac, or prefer not to use Homebrew, visit this link for detailed instructions on other ways to install uv.

Finding your API token and URL in ActiveCampaign:

Reference here for instructions on finding your ActiveCampaign API token and URL.

Using the MCP Server

Claude Desktop

Download Claude Desktop here.

Add the server configuration to your Claude Desktop config file. You can get to this file by opening the Claude settings and clicking on "Developer" and the "Edit Config". Claude will create an MCP configuration file for you and open your file explorer to show you where it is (usually located at ~/Library/Application Support/Claude/claude_desktop_config.json in macOS). Copy in this configuration, replacing <YOUR AC API TOKEN> and <YOUR AC API URL> with the values from your account settings page:

{
  "mcpServers": {
    "activecampaign": {
      "command": "uvx",
      "args": [
        "ac-mcp-server"
      ],
      "env": {
        "AC_API_TOKEN": "<YOUR AC API TOKEN>",
        "AC_API_URL": "<YOUR AC API URL>"
      }
    }
  }
}

Save the file and restart Claude. You should now be able to access all the tools!

Visit this page for more information and troubleshooting.

Cursor

Create a .cursor/mcp.json file in your project:

mkdir -p .cursor && touch .cursor/mcp.json

Put the following configuration in the file:

{
  "mcpServers": {
    "activecampaign": {
      "command": "uvx",
      "args": [
        "ac-mcp-server"
      ],
      "env": {
        "AC_API_TOKEN": "<YOUR AC API TOKEN>",
        "AC_API_URL": "<YOUR AC API URL>"
      }
    }
  }
}

Save the file and restart Cursor. You should now be able to access all the tools!

Visit this page for more information and troubleshooting.

Other MCP Clients

List of other popular MCP Clients are here.

Troubleshooting

If you see an error like Error: spawn uvx ENOENT, you should be able to fix this by providing your client with the full path to uvx. Run this command in your terminal in and paste the full output into the command field in the JSON configuration:

which uvx

Your JSON configuration will then look something like this:

{
  "mcpServers": {
    "activecampaign": {
      "command": "/Users/me/.local/bin/uvx",
      "args": [
        "ac-mcp-server"
      ],
      "env": {
        "AC_API_TOKEN": "<YOUR AC API TOKEN>",
        "AC_API_URL": "<YOUR AC API URL>"
      }
    }
  }
}

Example Usage

Once set up, try these example prompts:

Create and Modify Contacts

"Create a new contact in ActiveCampaign with email john@example.com, first name John, and last name Smith"

"Update ActiveCampaign contact john@example.com to change their phone number to 312-555-0123"

"Add contact sarah@company.com to the 'Newsletter Subscribers' list in ActiveCampaign"

"Set the ActiveCampaign custom field 'Company Size' to 'Enterprise' for John Smith"

Get Insights from Your Campaign Data

"Show me my most recent email activities in ActiveCampaign"

"List all my ActiveCampaign campaigns and their performance metrics from this month"

"Get me the email activity for John Smith in ActiveCampaign"

"Give me details for my campaign 'Black Friday Sale 2024' in ActiveCampaign"

Automation Management

"Show me all active automations in my ActiveCampaign account"

"Add Sarah Smith to the 'Welcome Series' automation in ActiveCampaign"

"List all ActiveCampaign automations that john@example.com is currently enrolled in"

"Remove John Smith from the 'Re-engagement Campaign' automation in ActiveCampaign"

Tags and List Management

"Create a new tag called 'Webinar Attendee' in ActiveCampaign"

"Add the 'High Value Customer' tag to Sarah Smith in ActiveCampaign"

"Show me all ActiveCampaign contacts subscribed to the 'Monthly Newsletter' list"

"Update my 'Product Launch' list in ActiveCampaign to be 'Product Launch Updates'"

Tools

This MCP server provides a set of tools for interacting with the ActiveCampaign API.

CategoryTool NameDescription
Contactslist_contactsRetrieve all contacts from your ActiveCampaign account, with basic filtering capabilities
Contactsget_contactFetch details for a specific contact
Contactscreate_or_update_contactAdd a new contact to your account or update existing contact information
Tagslist_tagsRetrieve all available tags in your account
Tagsget_tagFetch details for a specific tag
Tagscreate_contact_tagCreate a new tag for organizing contacts
Tagsadd_tag_to_contactApply a tag to a specific contact
Listslist_listsRetrieve all contact lists in your account
Listsget_listFetch details for a specific list
Listscreate_listCreate a new contact list
Listsupdate_listModify existing list settings
Listsadd_contact_to_listChange a contact's subscription status for specific lists
Custom Fieldslist_contact_custom_fieldsRetrieve all custom fields defined in your account
Custom Fieldsget_contact_custom_fieldFetch details for a specific custom field
Custom Fieldscreate_contact_custom_fieldCreate a new custom field for contacts
Custom Fieldscreate_field_optionsCreate options for dropdown, listbox, radio, or checkbox custom fields
Custom Fieldscreate_contact_field_relationshipAssociate a custom field with a contact list
Custom Field Valueslist_contact_field_valuesRetrieve custom field values for contacts
Custom Field Valuesget_contact_field_valueFetch a specific custom field value
Custom Field Valuescreate_contact_field_valueSet custom field values for contacts
Custom Field Valuesupdate_contact_field_valueModify existing custom field values
Email Activitieslist_email_activitiesRetrieve contact email engagement activities
Campaignslist_campaignsRetrieve all email campaigns in your account
Campaignsget_campaignFetch details for a specific campaign
Campaignsget_campaign_linksGet all tracked links from a specific campaign
Automationslist_automationsRetrieve all automations in your account
Automationslist_contact_automationsShow which automations a specific contact is enrolled in
Automationsget_contact_automationGet details of a specific automation that a contact is enrolled in
Automationsadd_contact_to_automationAdd a contact into an automation
Automationsremove_contact_from_automationRemove a contact from an automation
Groupslist_groupsRetrieve all user groups from ActiveCampaign
Groupscreate_list_group_permissionAssociate a list with a user group for enhanced organization and visibility

Changelog

0.11.1

  • Updating FastMCP to resolve an issue with tool definitions

0.11.0

  • Restructuring tool definitions to allow them to be mounted outside of FastMCP

0.10.1

  • Some code cleanup

0.10.0

  • Update create_contact_custom_field to make field visible by adding to all lists

0.9.1

  • Update guidance on how to install and troubleshoot

0.9.0

  • Relax required python version to >=3.10

0.8.1

  • Add update_list tool

0.8.0

  • Initial release

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.12.024 Sept 20252

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:10ff1903c5f8211d65f2a3b895c2a85c228cb4edd334182fffcdc1ffa0bbf027