ActiveCampaign MCP serverand Python AI tasks
qbash hosts a ActiveCampaign MCP server you can use in Claude, ChatGPT, Codex, Cursor, Grok Bot and Muse.
Developers use qbash Tasks to write cloud-hosted Python functions that pair ActiveCampaign with models such as Claude and GPT.
MCP server
Build a ActiveCampaign MCP server
Give ChatGPT, Claude and your other AI tools access to ActiveCampaign through one server. You pick which ActiveCampaign tools it shares, and you can add other connectors, memory folders and Tasks to the same server.
How to set it up
- Connect ActiveCampaign on the qbash Connectors page.
- Create an MCP server and add the ActiveCampaign tools you want to share.
- Paste the server URL into your client. It connects with OAuth or an access token.
Python AI task
Write a ActiveCampaign task in Python
A qbash Task is a hosted Python function that calls ActiveCampaign and AI models.
Compare recent campaign engagement
Get the latest completed campaigns and ask an inline prompt to compare click rates from their send and unique-click counts.
report = qbash.integrations.active_campaign.list_campaigns(
status="5", orders_sdate="DESC", limit=25, offset=0,
)
campaigns = report.get("campaigns", [])
if campaigns:
review = qbash.ai.run_prompt(
slug="active-campaign-engagement",
variables={"campaigns": json.dumps(campaigns)},
)
qbash.output(review)
else:
qbash.output("No completed campaigns on this page.")
Sample list_campaigns response
{
"status": "success",
"campaigns": [
{
"id": "12",
"name": "September product update",
"send_amt": 1200,
"uniquelinkclicks": 72
}
],
"count": 1,
"meta": {
"total": "1"
}
}
What the ActiveCampaign connector can do
- Read campaign engagement, opens, link clicks, bounces and revenue
- Search contacts and read their activity, tags, lists and custom fields
- Read deals, pipelines, stages and CRM tasks
- Read automations and the contacts enrolled in them
- Read ecommerce orders and customers from connected stores
- Add or remove a tag on a contact
- Send custom site-tracking events
qbash Tasks: AI applications in Python
A Task is a Python function that calls ActiveCampaign, your other connectors and models such as Claude, GPT, Gemini and Grok. qbash hosts and runs it.
Run Tasks on a schedule or from your team's tools
- Deterministic where it counts Write the logic in Python and call a model only for the steps that need judgement, so the rest runs the same way every time.
- Version controlled Every save is a revision you can compare and roll back.
- Logged Each run records its inputs, output, errors and what started it.
- Shared credentials Connections belong to your organization, so a Task keeps working when its author is away.
ActiveCampaign MCP questions
Does ActiveCampaign have an official MCP server?
Yes. ActiveCampaign launched its own MCP server in June 2025 for all plans, with setup guides for ChatGPT and Claude. The qbash server is a separate one that puts ActiveCampaign on one URL with your other connectors and exposes the same methods to Python tasks.
Related CRM connectors
Build a ActiveCampaign task
Write it in Python with AI steps, and qbash hosts it with versions and run logs.
Build a ActiveCampaign MCP server
Pick the ActiveCampaign tools to share and connect ChatGPT, Claude or Grok Bot.