crm
ActiveCampaign MCP Integration for Vercel AI SDK
Connect ActiveCampaign to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect ActiveCampaign to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
ActiveCampaign MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-activecampaign": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=activecampaign",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=activecampaign --write=deny Why Use KosmoKrator Here
Expose only ActiveCampaign instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
ActiveCampaign Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the ActiveCampaign integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__activecampaign__activecampaign_list_contacts | activecampaign.activecampaign_list_contacts | Read | List contacts from ActiveCampaign. Supports pagination, search by email or name, and filtering by list, status, and other criteria. |
integration__activecampaign__activecampaign_get_contact | activecampaign.activecampaign_get_contact | Read | Get details of a specific ActiveCampaign contact by ID, including email, name, phone, and custom fields. |
integration__activecampaign__activecampaign_create_contact | activecampaign.activecampaign_create_contact | Write | Create a new contact in ActiveCampaign. Requires an email address; firstName, lastName, and phone are optional. |
integration__activecampaign__activecampaign_update_contact | activecampaign.activecampaign_update_contact | Write | Update an existing contact in ActiveCampaign. Provide the contact ID and any fields to update (email, firstName, lastName, phone, or custom fields). |
integration__activecampaign__activecampaign_delete_contact | activecampaign.activecampaign_delete_contact | Write | Delete a contact from ActiveCampaign. This action is permanent and cannot be undone. |
integration__activecampaign__activecampaign_list_lists | activecampaign.activecampaign_list_lists | Read | List all contact lists in ActiveCampaign. Returns list IDs, names, and subscriber counts. |
integration__activecampaign__activecampaign_get_list | activecampaign.activecampaign_get_list | Read | Get details of a specific ActiveCampaign list by ID, including name, subscriber count, and settings. |
integration__activecampaign__activecampaign_add_contact_to_list | activecampaign.activecampaign_add_contact_to_list | Write | Subscribe a contact to a list in ActiveCampaign. The contact will be added to the specified list. |
integration__activecampaign__activecampaign_remove_contact_from_list | activecampaign.activecampaign_remove_contact_from_list | Write | Unsubscribe a contact from a list in ActiveCampaign. The contact will be removed from the specified list. |
integration__activecampaign__activecampaign_list_deals | activecampaign.activecampaign_list_deals | Read | List deals from ActiveCampaign. Supports pagination, search, and filtering by pipeline, stage, status, or owner. |
integration__activecampaign__activecampaign_get_deal | activecampaign.activecampaign_get_deal | Read | Get details of a specific ActiveCampaign deal by ID, including title, value, stage, pipeline, and associated contact. |
integration__activecampaign__activecampaign_create_deal | activecampaign.activecampaign_create_deal | Write | Create a new deal in ActiveCampaign. Requires a title, value, contact ID, and stage. Optionally specify a pipeline. |
integration__activecampaign__activecampaign_update_deal | activecampaign.activecampaign_update_deal | Write | Update an existing deal in ActiveCampaign. Provide the deal ID and any fields to update (title, value, stage, pipeline, status, etc.). |
integration__activecampaign__activecampaign_list_automations | activecampaign.activecampaign_list_automations | Read | List all automations in ActiveCampaign. Returns automation IDs, names, status, and trigger counts. |
integration__activecampaign__activecampaign_create_note | activecampaign.activecampaign_create_note | Write | Create a note attached to a contact in ActiveCampaign. Provide the contact ID and note text. |