Skip to main content

Official ActiveCampaign MCP Server

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

ActiveCampaign MCP Server

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

Visit this link for detailed instructions on installing uv, a python package manager required to run the MCP server locally.

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 (usually located at ~/Library/Application Support/Claude/claude_desktop_config.json in macOS) and restart Claude Desktop:

{
  "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.

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.

Category Tool Name Description
Contacts contacts_list Retrieve all contacts from your ActiveCampaign account, with basic filtering capabilities
Contacts contacts_get_one Fetch details for a specific contact
Contacts contacts_create Add a new contact to your account
Contacts contacts_update Modify existing contact information
Contacts contacts_update_list_status Change a contact's subscription status for specific lists
Tags tags_list Retrieve all available tags in your account
Tags tags_get_one Fetch details for a specific tag
Tags tags_create Create a new tag for organizing contacts
Tags tags_add_to_contact Apply a tag to a specific contact
Lists lists_list Retrieve all contact lists in your account
Lists lists_get_one Fetch details for a specific list
Lists lists_create Create a new contact list
Lists lists_update Modify existing list settings
Custom Fields custom_fields_list Retrieve all custom fields defined in your account
Custom Fields custom_fields_get_one Fetch details for a specific custom field
Custom Fields custom_fields_create Create a new custom field for contacts
Custom Fields custom_fields_update Modify existing custom field settings
Custom Field Values custom_field_values_list Retrieve custom field values for contacts
Custom Field Values custom_field_values_get_one Fetch a specific custom field value
Custom Field Values custom_field_values_create Set custom field values for contacts
Custom Field Values custom_field_values_update Modify existing custom field values
Email Activities email_activities_list Retrieve contact email engagement activities
Campaigns campaigns_list Retrieve all email campaigns in your account
Campaigns campaigns_get_one Fetch details for a specific campaign
Campaigns campaigns_retrieve_links Get all tracked links from a specific campaign
Automations automations_list Retrieve all automations in your account
Automations automations_list_all_a_contact_is_in Show which automations a specific contact is enrolled in
Automations automations_get_one_a_contact_is_in Get details of a specific automation that a contact is enrolled in
Automations automations_add_contact Add a contact into an automation
Automations automations_remove_contact Remove a contact from an automation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ac_mcp_server-0.8.0.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ac_mcp_server-0.8.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file ac_mcp_server-0.8.0.tar.gz.

File metadata

  • Download URL: ac_mcp_server-0.8.0.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for ac_mcp_server-0.8.0.tar.gz
Algorithm Hash digest
SHA256 4c447c2603c82e0c27e4dea8f152c9da999662b7a9c100a8a009aba1d9547fec
MD5 f81c2d0b5d8e664b794d10ebc4cf19e5
BLAKE2b-256 baae829f52aaf80b5022d70bd2ffd8827055670c9379dfdfd8ecb2823d511c4f

See more details on using hashes here.

File details

Details for the file ac_mcp_server-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ac_mcp_server-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35f766071013b566e7025fda492a989552632b359ba0e9dd9862e883478f9910
MD5 1ec31e55f1f2e13126d7797cd5672acb
BLAKE2b-256 b97223f3ade7455ec1f3f947d42ff36470241076709a720d86f6abbeb28dd046

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page