productivity
Mautic MCP, CLI, and Lua Integration for AI Agents
Mautic integration docs for AI agents: MCP gateway setup, Mautic CLI commands, Lua API reference, credentials, and function schemas.Mautic for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
mautic.mautic_list_contacts | Read read | 5 | List contacts in Mautic. Supports search, filtering, pagination, and ordering. Returns contact details including email, name, and custom fields. |
mautic.mautic_get_contact | Read read | 1 | Get detailed information about a single Mautic contact by ID, including all fields and tags. |
mautic.mautic_create_contact | Write write | 8 | Create a new contact in Mautic. Provide at least an email address; additional fields like first name, last name, phone, company, and tags are optional. |
mautic.mautic_update_contact | Write write | 9 | Update an existing Mautic contact. Provide the contact ID and the fields to update (e.g. email, firstname, lastname, phone, company, tags). |
mautic.mautic_delete_contact | Write write | 1 | Delete a contact from Mautic by ID. This action is permanent and cannot be undone. |
mautic.mautic_list_emails | Read read | 5 | List marketing emails from Mautic. Returns email details including name, subject, and publish status. |
mautic.mautic_list_segments | Read read | 5 | List contact segments (also known as lists or filters) from Mautic. Returns segment names, aliases, and contact counts. |
mautic.mautic_list_forms | Read read | 5 | List forms from Mautic. Returns form names, aliases, submission counts, and publish status. |
mautic.mautic_get_current_user | Read read | 0 | Get details of the currently authenticated Mautic user — useful to verify credentials and identify which user the integration is acting as. |