ac-mcp-server


Nameac-mcp-server JSON
Version 0.11.1 PyPI version JSON
download
home_pageNone
SummaryOfficial ActiveCampaign MCP Server
upload_time2025-07-11 18:31:40
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords ac activecampaign mcp mcp-server
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

You will need `uv`, a python package manager required to run the MCP server locally installed. We recommend installing through [Homebrew](https://brew.sh/) 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:

```shell
# 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](https://docs.astral.sh/uv/getting-started/installation/) for detailed instructions on other ways to install uv.

### Finding your API token and URL in ActiveCampaign:

Reference [here](https://help.activecampaign.com/hc/en-us/articles/207317590-Getting-started-with-the-API) for instructions on finding your ActiveCampaign API token and URL.

## Using the MCP Server

### Claude Desktop

Download Claude Desktop [here](https://claude.ai/download).

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:

```json
{
  "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](https://modelcontextprotocol.io/clients#claude-desktop) for more information and troubleshooting.

### Cursor

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

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

Put the following configuration in the file:

```json
{
  "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](https://docs.cursor.com/context/mcp) for more information and troubleshooting.

### Other MCP Clients

List of other popular MCP Clients are [here](https://modelcontextprotocol.io/clients).

### 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:

```shell
which uvx
```

Your JSON configuration will then look something like this:
```json
{
  "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.

| Category | Tool Name | Description |
|----------|-----------|-------------|
| **Contacts** | list_contacts | Retrieve all contacts from your ActiveCampaign account, with basic filtering capabilities |
| **Contacts** | get_contact | Fetch details for a specific contact |
| **Contacts** | create_or_update_contact | Add a new contact to your account or update existing contact information |
| **Tags** | list_tags | Retrieve all available tags in your account |
| **Tags** | get_tag | Fetch details for a specific tag |
| **Tags** | create_contact_tag | Create a new tag for organizing contacts |
| **Tags** | add_tag_to_contact | Apply a tag to a specific contact |
| **Lists** | list_lists | Retrieve all contact lists in your account |
| **Lists** | get_list | Fetch details for a specific list |
| **Lists** | create_list | Create a new contact list |
| **Lists** | update_list | Modify existing list settings |
| **Lists** | add_contact_to_list | Change a contact's subscription status for specific lists |
| **Custom Fields** | list_contact_custom_fields | Retrieve all custom fields defined in your account |
| **Custom Fields** | get_contact_custom_field | Fetch details for a specific custom field |
| **Custom Fields** | create_contact_custom_field | Create a new custom field for contacts |
| **Custom Fields** | create_field_options | Create options for dropdown, listbox, radio, or checkbox custom fields |
| **Custom Fields** | create_contact_field_relationship | Associate a custom field with a contact list |
| **Custom Field Values** | list_contact_field_values | Retrieve custom field values for contacts |
| **Custom Field Values** | get_contact_field_value | Fetch a specific custom field value |
| **Custom Field Values** | create_contact_field_value | Set custom field values for contacts |
| **Custom Field Values** | update_contact_field_value | Modify existing custom field values |
| **Email Activities** | list_email_activities | Retrieve contact email engagement activities |
| **Campaigns** | list_campaigns | Retrieve all email campaigns in your account |
| **Campaigns** | get_campaign | Fetch details for a specific campaign |
| **Campaigns** | get_campaign_links | Get all tracked links from a specific campaign |
| **Automations** | list_automations | Retrieve all automations in your account |
| **Automations** | list_contact_automations | Show which automations a specific contact is enrolled in |
| **Automations** | get_contact_automation | Get details of a specific automation that a contact is enrolled in |
| **Automations** | add_contact_to_automation | Add a contact into an automation |
| **Automations** | remove_contact_from_automation | Remove a contact from an automation |
| **Groups** | list_groups | Retrieve all user groups from ActiveCampaign |
| **Groups** | create_list_group_permission | Associate 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
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ac-mcp-server",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "ac, activecampaign, mcp, mcp-server",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/e3/3a/6265268b61b43c323ca3e3ab5d7b4a6d1f035c4825ef6f64a1a1020f18e9/ac_mcp_server-0.11.1.tar.gz",
    "platform": null,
    "description": "# ActiveCampaign MCP Server\n\nActiveCampaign'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\n\n## What is MCP?\n\nMCP (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.\n\n## Beta Notice\n\nThe ActiveCampaign MCP Server is currently in beta. Features and functionality may change as we continue to improve the integration.\n\n## Pre-requisites\n\nYou will need `uv`, a python package manager required to run the MCP server locally installed. We recommend installing through [Homebrew](https://brew.sh/) if you are on a Mac to make sure `uvx` is installed correctly on the system path for MCP clients.\n\nTo install `uvx` through homebrew, run these commands from your terminal:\n\n```shell\n# If you don't already have homebrew installed\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n\n# Install uv\nbrew install uv\n```\n\nIf you are not on a Mac, or prefer not to use Homebrew, visit [this link](https://docs.astral.sh/uv/getting-started/installation/) for detailed instructions on other ways to install uv.\n\n### Finding your API token and URL in ActiveCampaign:\n\nReference [here](https://help.activecampaign.com/hc/en-us/articles/207317590-Getting-started-with-the-API) for instructions on finding your ActiveCampaign API token and URL.\n\n## Using the MCP Server\n\n### Claude Desktop\n\nDownload Claude Desktop [here](https://claude.ai/download).\n\nAdd 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 \n(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:\n\n```json\n{\n  \"mcpServers\": {\n    \"activecampaign\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"ac-mcp-server\"\n      ],\n      \"env\": {\n        \"AC_API_TOKEN\": \"<YOUR AC API TOKEN>\",\n        \"AC_API_URL\": \"<YOUR AC API URL>\"\n      }\n    }\n  }\n}\n```\n\nSave the file and restart Claude. You should now be able to access all the tools!\n\nVisit [this page](https://modelcontextprotocol.io/clients#claude-desktop) for more information and troubleshooting.\n\n### Cursor\n\nCreate a `.cursor/mcp.json` file in your project:\n\n```bash\nmkdir -p .cursor && touch .cursor/mcp.json\n```\n\nPut the following configuration in the file:\n\n```json\n{\n  \"mcpServers\": {\n    \"activecampaign\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"ac-mcp-server\"\n      ],\n      \"env\": {\n        \"AC_API_TOKEN\": \"<YOUR AC API TOKEN>\",\n        \"AC_API_URL\": \"<YOUR AC API URL>\"\n      }\n    }\n  }\n}\n```\n\nSave the file and restart Cursor. You should now be able to access all the tools!\n\nVisit [this page](https://docs.cursor.com/context/mcp) for more information and troubleshooting.\n\n### Other MCP Clients\n\nList of other popular MCP Clients are [here](https://modelcontextprotocol.io/clients).\n\n### Troubleshooting\n\nIf 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:\n\n```shell\nwhich uvx\n```\n\nYour JSON configuration will then look something like this:\n```json\n{\n  \"mcpServers\": {\n    \"activecampaign\": {\n      \"command\": \"/Users/me/.local/bin/uvx\",\n      \"args\": [\n        \"ac-mcp-server\"\n      ],\n      \"env\": {\n        \"AC_API_TOKEN\": \"<YOUR AC API TOKEN>\",\n        \"AC_API_URL\": \"<YOUR AC API URL>\"\n      }\n    }\n  }\n}\n```\n\n## Example Usage\n\nOnce set up, try these example prompts:\n\n### Create and Modify Contacts\n\"Create a new contact in ActiveCampaign with email john@example.com, first name John, and last name Smith\"\n\n\"Update ActiveCampaign contact john@example.com to change their phone number to 312-555-0123\"\n\n\"Add contact sarah@company.com to the 'Newsletter Subscribers' list in ActiveCampaign\"\n\n\"Set the ActiveCampaign custom field 'Company Size' to 'Enterprise' for John Smith\"\n\n### Get Insights from Your Campaign Data\n\"Show me my most recent email activities in ActiveCampaign\"\n\n\"List all my ActiveCampaign campaigns and their performance metrics from this month\"\n\n\"Get me the email activity for John Smith in ActiveCampaign\"\n\n\"Give me details for my campaign 'Black Friday Sale 2024' in ActiveCampaign\"\n\n### Automation Management\n\"Show me all active automations in my ActiveCampaign account\"\n\n\"Add Sarah Smith to the 'Welcome Series' automation in ActiveCampaign\"\n\n\"List all ActiveCampaign automations that john@example.com is currently enrolled in\"\n\n\"Remove John Smith from the 'Re-engagement Campaign' automation in ActiveCampaign\"\n\n### Tags and List Management\n\"Create a new tag called 'Webinar Attendee' in ActiveCampaign\"\n\n\"Add the 'High Value Customer' tag to Sarah Smith in ActiveCampaign\"\n\n\"Show me all ActiveCampaign contacts subscribed to the 'Monthly Newsletter' list\"\n\n\"Update my 'Product Launch' list in ActiveCampaign to be 'Product Launch Updates'\"\n\n## Tools\n\nThis MCP server provides a set of tools for interacting with the ActiveCampaign API.\n\n| Category | Tool Name | Description |\n|----------|-----------|-------------|\n| **Contacts** | list_contacts | Retrieve all contacts from your ActiveCampaign account, with basic filtering capabilities |\n| **Contacts** | get_contact | Fetch details for a specific contact |\n| **Contacts** | create_or_update_contact | Add a new contact to your account or update existing contact information |\n| **Tags** | list_tags | Retrieve all available tags in your account |\n| **Tags** | get_tag | Fetch details for a specific tag |\n| **Tags** | create_contact_tag | Create a new tag for organizing contacts |\n| **Tags** | add_tag_to_contact | Apply a tag to a specific contact |\n| **Lists** | list_lists | Retrieve all contact lists in your account |\n| **Lists** | get_list | Fetch details for a specific list |\n| **Lists** | create_list | Create a new contact list |\n| **Lists** | update_list | Modify existing list settings |\n| **Lists** | add_contact_to_list | Change a contact's subscription status for specific lists |\n| **Custom Fields** | list_contact_custom_fields | Retrieve all custom fields defined in your account |\n| **Custom Fields** | get_contact_custom_field | Fetch details for a specific custom field |\n| **Custom Fields** | create_contact_custom_field | Create a new custom field for contacts |\n| **Custom Fields** | create_field_options | Create options for dropdown, listbox, radio, or checkbox custom fields |\n| **Custom Fields** | create_contact_field_relationship | Associate a custom field with a contact list |\n| **Custom Field Values** | list_contact_field_values | Retrieve custom field values for contacts |\n| **Custom Field Values** | get_contact_field_value | Fetch a specific custom field value |\n| **Custom Field Values** | create_contact_field_value | Set custom field values for contacts |\n| **Custom Field Values** | update_contact_field_value | Modify existing custom field values |\n| **Email Activities** | list_email_activities | Retrieve contact email engagement activities |\n| **Campaigns** | list_campaigns | Retrieve all email campaigns in your account |\n| **Campaigns** | get_campaign | Fetch details for a specific campaign |\n| **Campaigns** | get_campaign_links | Get all tracked links from a specific campaign |\n| **Automations** | list_automations | Retrieve all automations in your account |\n| **Automations** | list_contact_automations | Show which automations a specific contact is enrolled in |\n| **Automations** | get_contact_automation | Get details of a specific automation that a contact is enrolled in |\n| **Automations** | add_contact_to_automation | Add a contact into an automation |\n| **Automations** | remove_contact_from_automation | Remove a contact from an automation |\n| **Groups** | list_groups | Retrieve all user groups from ActiveCampaign |\n| **Groups** | create_list_group_permission | Associate a list with a user group for enhanced organization and visibility |\n\n# Changelog\n\n## 0.11.1\n\n- Updating FastMCP to resolve an issue with tool definitions\n\n## 0.11.0\n\n- Restructuring tool definitions to allow them to be mounted outside of FastMCP\n\n## 0.10.1\n\n- Some code cleanup\n\n## 0.10.0\n\n- Update create_contact_custom_field to make field visible by adding to all lists\n\n## 0.9.1\n\n- Update guidance on how to install and troubleshoot\n\n## 0.9.0\n\n- Relax required python version to >=3.10\n\n## 0.8.1\n\n - Add `update_list` tool\n\n## 0.8.0\n\n - Initial release",
    "bugtrack_url": null,
    "license": null,
    "summary": "Official ActiveCampaign MCP Server",
    "version": "0.11.1",
    "project_urls": {
        "Documentation": "https://activecampaign.com/mcp",
        "Homepage": "https://activecampaign.com"
    },
    "split_keywords": [
        "ac",
        " activecampaign",
        " mcp",
        " mcp-server"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4d3f4a56a98521e6286971d66ab78b09eee96998815a8527a3e7749b421e66ad",
                "md5": "99d444503755241b0499c42fc5d40219",
                "sha256": "e5a7eff15035237791a59074f85993f6d5e2f863b95c4233876e295d4c21f5f0"
            },
            "downloads": -1,
            "filename": "ac_mcp_server-0.11.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "99d444503755241b0499c42fc5d40219",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 16773,
            "upload_time": "2025-07-11T18:31:39",
            "upload_time_iso_8601": "2025-07-11T18:31:39.308855Z",
            "url": "https://files.pythonhosted.org/packages/4d/3f/4a56a98521e6286971d66ab78b09eee96998815a8527a3e7749b421e66ad/ac_mcp_server-0.11.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e33a6265268b61b43c323ca3e3ab5d7b4a6d1f035c4825ef6f64a1a1020f18e9",
                "md5": "fe3103b24d22808a288bfad39efad6b3",
                "sha256": "9889046239b9253c2cfca55ca53ba6a4f75ffc359646105ad08bc14eabd907ee"
            },
            "downloads": -1,
            "filename": "ac_mcp_server-0.11.1.tar.gz",
            "has_sig": false,
            "md5_digest": "fe3103b24d22808a288bfad39efad6b3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 11133233,
            "upload_time": "2025-07-11T18:31:40",
            "upload_time_iso_8601": "2025-07-11T18:31:40.825195Z",
            "url": "https://files.pythonhosted.org/packages/e3/3a/6265268b61b43c323ca3e3ab5d7b4a6d1f035c4825ef6f64a1a1020f18e9/ac_mcp_server-0.11.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-11 18:31:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ac-mcp-server"
}
        
Elapsed time: 0.40603s