Mautic API and MCP server

Mautic switches its own API off by default and asks for OAuth2 or basic auth on your instance before any agent can use it. Sign in to Mautic once in your own Cloud Browser, and your AI agent does the work there for you. The same tools work over MCP for agents and as a REST API for scripts.

Not affiliated with Mautic.

Mautic's own API leaves this out. So we run one for you.

Mautic's own API, a GitHub MCP server and Cotlet compared
What you need Mautic's APIGitHub MCP serverCotlet
MCP access, no API setup No Partly Yes, 15 tools
Acts as you, signed in 24/7 No No Yes, Cloud Browser
Fixed for you when Mautic changes N/A No Yes, tested every 6h
Runs with your laptop off N/A No Yes, hosted

Checked Oct 23, 2026. Sources: Mautic Developer Documentation: Getting started with the REST API · Mautic Developer Documentation: API authentication · Mautic Documentation: Managing Contacts · Mautic Documentation: Managing Segments

Your own Cloud Browser, on 24/7. Sign in once. We keep it connected.

  1. 01Sign in to Mautic in your own Cloud Browser

  2. 02Connect it for your agents

  3. 03Cotlet keeps it signed in and working

How do I connect Mautic to Claude, ChatGPT or my code?

AI agents connect over MCP, scripts call the REST API. Both reach the same 15 tools with one API key.

For AI agents: MCP

Add Cotlet to your agent once. Mautic and every other app you connect show up as its tools.

  • Claude
  • ChatGPT
  • OpenClaw
  • Hermes
  • GrokBot
  • Cursor
  • n8n
  • Any MCP client
  1. 1

    Add Cotlet to your agent

    Claude Code
    claude mcp add --transport http cotlet \
      https://cotlet.dev/mcp/v1 \
      --header "Authorization: Bearer $COTLET_API_KEY"
    Cursor
    {
      "mcpServers": {
        "cotlet": {
          "url": "https://cotlet.dev/mcp/v1",
          "headers": {
            "Authorization": "Bearer ${COTLET_API_KEY}"
          }
        }
      }
    }
    Codex
    # ~/.codex/config.toml
    [mcp_servers.cotlet]
    url = "https://cotlet.dev/mcp/v1"
    bearer_token_env_var = "COTLET_API_KEY"

    Paste the snippet for your client. The same server and key serve every app you connect, so you do this once.

For scripts: REST API

Every tool is an endpoint under /api/v1/mautic with its own method and path, such as PATCH /api/v1/mautic/contact-segments, with the same API key. Our open-source repo has ready scripts to start from.

REST API docs

What can the Mautic API and MCP server do?

15 tools on your own Mautic account. Agents call them as operations of the MCP tools mautic_read and mautic_write; scripts call each one at its own REST endpoint, with the same inputs and answers.

Mautic tools in Cotlet's MCP server and REST API
Tool What it does Access
list_contacts Contacts of your Mautic with email, points and segments, newest first. read
get_contact One contact with its fields, points, segments and campaigns. read
get_contact_history The contact timeline: emails sent and read, forms submitted, imports, segment and campaign changes. read
list_segments Segments with alias, type, active state and contact count. read
list_segment_contacts Contacts in one segment, with email and points. read
list_campaigns Campaigns with their Active state and category. read
list_emails Emails with type (template or segment), published state and the segments a segment email goes to. read
get_email_stats Opens, click-throughs, bounces and clicks per link for one email. read
list_forms Forms under Components with type, published state and fields. read
create_contact Adds one contact, like Quick Add or Add new Contact. write
merge_contacts Merges a duplicate into a contact, like the Merge item on the contact page. writeasks first
change_contact_segments Adds contacts to segments and removes them from others, like the Change Segments batch action. write
set_do_not_contact Marks contacts Do Not Contact for email, with a reason, like the Set Do Not Contact (DNC) batch action. writeasks first
create_segment Creates a segment with a name and, for a dynamic one, filters. writeasks first
set_campaign_active Switches the Active state of a campaign on or off. writeasks first

Scroll the table for all 15 tools.

Ask in plain words. Your agent does the rest.

Is it safe to connect Mautic?

You sign in yourself in your own Cloud Browser, we never save your password, and anything that reaches your readers waits for your OK. The browser profile is encrypted in the EU. Independent scanners grade cotlet.dev A+.

How much do the Mautic API and MCP server cost?

One price for both: a tool call costs the same over MCP or REST. Free 7-day trial with 2,000 credits, no card needed. Then one-time credit packs, no subscription, valid 12 months. Each call uses 10 credits, and your Cloud Browser uses 50 credits a day while Mautic is enabled for agents, so 20 calls a day come to 250 credits.

Cotlet credit packs: price, credits and calls at 10 credits each
Credits Price, one time Calls at 10 credits Per 1,000 credits
5,000 $29 500 $5.80
15,000 $79 1,500 $5.27
32,000 $149 3,200 $4.66
60,000 $249 6,000 $4.15

Only successful calls use credits; failed calls and timeouts cost nothing. At a balance of 0 calls pause, never a surprise charge. Authenticate with the Authorization: Bearer header.

Questions

Does Mautic have an API?

Mautic has a full REST API but no official MCP server (checked 23 Oct 2026). The API is off until an admin switches it on under Configuration > API Settings, and calls need OAuth2 or basic auth set up on that instance.

How do I get access?

Sign up free, open Mautic under Integrations in the console and press Request access. Your free trial starts with your account, no card needed.

Is the MCP server different from the API?

No, only the way in. Cotlet builds each integration as a REST API and puts an MCP server on top, so both have the same 15 tools, the same inputs and answers, one API key and one price. AI agents such as Claude, ChatGPT or Cursor use MCP; scripts, cron jobs and HTTP steps in n8n, Make or Zapier use the REST API.

What is the Cloud Browser?

Your own Chrome that Cotlet runs for you in the EU, around the clock. You open it from the console, sign in to Mautic yourself and press Enable for agents. Your agent's calls go through it, from its IP with its cookies, so Mautic sees the browser you signed in with. Password saving is off and the profile is stored encrypted with AES-256-GCM.

Can my agent act without asking me?

Not on anything that reaches other people: merge_contacts, set_do_not_contact, create_segment, set_campaign_active wait for your OK by default. You can switch that off per tool for scheduled runs.

Does Cotlet need the Mautic API switched on?

No. Cotlet works in your signed-in Mautic session, so you do not enable the API or create OAuth2 credentials. Mautic turns the REST API off by default; an admin enables it under Configuration > API Settings.

Can it send a segment email?

No. Sending stays in Mautic, where a cron job starts segment email sends. The tools read email stats and manage contacts, segments and the Active state of campaigns.

Should I use a Mautic MCP server from GitHub instead?

Pick one if you want the code on your own computer and do not mind the upkeep: you install it, sign it in and fix it when Mautic changes. Pick Cotlet if you want it hosted and kept working for you.

Can I use it in n8n, Make or Zapier?

Yes. Add https://cotlet.dev/mcp/v1 in n8n's MCP Client node, or call the REST endpoints from an HTTP step in Make or Zapier.

Who runs Cotlet?

Cotlet is run by Take Group, a Polish software company working since 2019. Take Group runs about 3,200 websites on its own systems and has its own DevOps team for infrastructure security. We built and used integrations like this inside the company for years before opening them as Cotlet.

Is Cotlet affiliated with Mautic?

No. Cotlet is independent and not affiliated with Mautic.

Give your agent access to Mautic.

Free 7-day trial with 2,000 credits, no card needed.