KosmoKrator

marketing

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.

9 functions 6 read 3 write Username and password auth

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.

Machine-Readable Metadata
integration_slug
mautic
route_slug
mautic
package
mautic
auth_strategy
basic Username and password
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Mautic MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Mautic.

Mautic CLI Matrix

Use these pages for direct Mautic CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
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.