Model Context Protocol server via mcptools for AI assistant integration.
Creates and starts an MCP (Model Context Protocol) server that exposes
ActiveCampaign API functions as tools for AI assistants like Claude.
Requires the mcptools package.
Details
The server exposes these tools:
ac_deals— Search and list dealsac_deal— Get a single deal by IDac_create_deal— Create a new dealac_update_deal— Update a dealac_contacts— Search and list contactsac_contact— Get a single contact by IDac_create_contact— Create a new contactac_tags— List all tagsac_deal_custom_fields_wide— Get custom fields for dealsac_deal_pipelines— List pipelinesac_deal_stages— List stagesac_users— List usersac_automations— List automations
Examples
if (FALSE) { # \dontrun{
# Start the MCP server (after authenticating)
ac_auth_from_env()
ac_mcp_server()
} # }
