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
basicUsername and password- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Mautic CLIHeadless setup and direct function calls. Mautic MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Mautic MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Mautic.
Claude Code Mautic MCP setup for Claude Code. Cursor Mautic MCP setup for Cursor. Codex Mautic MCP setup for Codex. OpenAI Agents Mautic MCP setup for OpenAI Agents SDK. Claude Agent SDK Mautic MCP setup for Claude Agent SDK. Vercel AI SDK Mautic MCP setup for Vercel AI SDK. LangChain Mautic MCP setup for LangChain. LangGraph Mautic MCP setup for LangGraph. CrewAI Mautic MCP setup for CrewAI. MCP clients Mautic MCP setup for Generic MCP Clients.
Mautic CLI Matrix
Use these pages for direct Mautic CLI workflows in scripts, CI, cron, and agent wrappers.
CI Mautic CLI for CI. Cron Jobs Mautic CLI for cron jobs. Shell Scripts Mautic CLI for shell scripts. Headless Automation Mautic CLI for headless automation. Coding Agents Mautic CLI for coding agents.
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. |