Connector guide3-minute read10 MCP tools7 languages

Connect Mautic to Gemini CLI via MCP

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

HCBy HelpCode teamUpdated 3 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Mautic

Mautic

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

tools

10

Region

INTL

Category

Marketing Automation

Authentication

Basic Auth

Required env vars

MAUTIC_URLMAUTIC_USERNAMEMAUTIC_PASSWORD
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Mautic in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

Try asking

Example prompts for Mautic

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Mautic · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Mautic, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Mautic + Gemini

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

MAUTIC_URL, MAUTIC_USERNAME, MAUTIC_PASSWORD

Step 1 — Get credentials

Turn the API on first. Mautic ships with it disabled.

  1. As an administrator go to Settings → Configuration → API Settings and set API enabled to Yes, and Enable HTTP basic auth to Yes.
  2. Create a Mautic user for the integration with a role that grants view permissions on contacts, segments, campaigns and e-mails.
  3. Set MAUTIC_URL to your instance root (no trailing slash), plus MAUTIC_USERNAME and MAUTIC_PASSWORD. The adapter appends /api.

…(continued in the in-app connector instructions)

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (or %APPDATA%\gemini\settings.json on Windows). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Get your MCP API key from AnythingMCP → MCP Servers → your server → API keys.
  2. Save the file and restart gemini.
  3. Run /mcp inside the Gemini CLI — Mautic should be listed as available.
  4. Vertex AI Studio: pass https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID to the tools array of your request with the same X-API-Key header.

Available tools

ToolWhat it does
mautic_list_contactsList contacts with their e-mail, name, company, points and stage
mautic_get_contactRead one contact in full: every field, their points, the segments and campaigns they belong to, and their owner
mautic_get_contact_activityRead one contact's activity timeline: page hits, e-mail opens and clicks, form submissions and campaign steps, in order
mautic_list_segmentsList segments with their name, alias and the number of contacts in each
mautic_list_segment_contactsList the contacts in one segment — who would actually receive a send to that segment
mautic_list_campaignsList campaigns with their name, description, publish status and the number of contacts in each
mautic_list_emailsList e-mails with their subject, type, publish status and send statistics — sent count, read count and the resulting read rate
mautic_get_emailRead one e-mail in full: its subject, from address, HTML body, the segments it targets and its send and read counts
mautic_list_formsList forms with their name, alias, publish status and submission count — the capture points feeding the contact base
mautic_list_form_submissionsList the submissions of one form with their date, IP, referrer and the field values submitted — the raw leads

FAQ

Does Gemini 1.5 Pro or 2.x support MCP? Yes — Gemini CLI ≥ 0.4 and Vertex AI tools API both accept MCP httpUrl connectors with custom headers.

Next steps

Was this guide helpful?

Your Mautic agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Related guides

Connectors

Connect Mautic to Microsoft Copilot via MCP

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

Connectors

Connect Mautic to Meta Muse via MCP

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

Connectors

Connect Mautic to ChatGPT via MCP: Campaigns and Emails

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

Connectors

Connect Mautic to Claude via MCP: Contacts and Emails

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

Connectors

Connect Mautic to Cursor via MCP: Contacts and Forms

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.

Connectors

Mautic MCP Server: Contacts, Campaigns and Emails

Mautic open-source marketing automation: contacts and their activity, segments, campaigns, e-mails with their send statistics, forms and form submissions. REST API, Basic auth against your own instance.