Mautic MCP

v1.0.0Marketing & SEOstable

A comprehensive Model Context Protocol (MCP) server that provides full integration with Mautic marketing automation platform.

mantic-mcpmcpai-integration
Share:
21
Stars
0
Downloads
0
Weekly
0/5

What is Mautic MCP?

Mautic MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to comprehensive model context protocol (mcp) server that provides full integration with mautic marketing automation platform.

A comprehensive Model Context Protocol (MCP) server that provides full integration with Mautic marketing automation platform.

This server falls under the Marketing & SEO category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A comprehensive Model Context Protocol (MCP) server that pro

Use Cases

Integrate with Mautic marketing automation platform through MCP.
Automate marketing campaigns and contact management with AI.
Cbrown35

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mantic-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Mautic MCP

Mautic MCP Server provides full MCP integration with the Mautic 7 (Columba Edition) open-source marketing automation platform, exposing 68 tools that cover contacts, campaigns, emails, forms, segments, assets, landing pages, companies, tags, webhooks, reports, and the new API v2 Projects feature. It uses OAuth2 authentication with automatic token refresh and supports both Mautic's legacy v1 REST API (FOSRestBundle) and the new v2 API Platform endpoints. Marketing teams use it to automate contact management, build and execute campaigns, send targeted emails, and analyse performance — all through natural language.

Prerequisites

  • Node.js 16 or higher and npm
  • A running Mautic 7 instance with API access enabled (Settings → Configuration → API Settings → Enable HTTP basic auth and/or OAuth2)
  • OAuth2 client credentials from your Mautic instance (Settings → API Credentials → New OAuth2 Client)
  • Claude Desktop or another MCP-compatible client
1

Clone the repository and install dependencies

Clone the mantic-MCP repository and install npm dependencies.

git clone https://github.com/Cbrown35/mantic-MCP.git
cd mantic-MCP
npm install
2

Configure Mautic credentials

Copy the example environment file and fill in your Mautic instance URL and OAuth2 credentials. The MAUTIC_BASE_URL must end with /api/.

cp .env.example .env
# Edit .env with your credentials:
# MAUTIC_BASE_URL=https://your-mautic-instance.com/api/
# MAUTIC_CLIENT_ID=your_client_id_here
# MAUTIC_CLIENT_SECRET=your_client_secret_here
# MAUTIC_TOKEN_ENDPOINT=https://your-mautic-instance.com/oauth/v2/token
3

Build the server

Compile the TypeScript source to JavaScript in the build directory.

npm run build
4

Add the server to your MCP client configuration

Open your claude_desktop_config.json and add the mautic-server entry, passing the Mautic credentials as environment variables.

{
  "mcpServers": {
    "mautic-server": {
      "command": "node",
      "args": ["/absolute/path/to/mantic-MCP/build/index.js"],
      "env": {
        "MAUTIC_BASE_URL": "https://your-mautic-instance.com/api/",
        "MAUTIC_CLIENT_ID": "your_client_id",
        "MAUTIC_CLIENT_SECRET": "your_client_secret",
        "MAUTIC_TOKEN_ENDPOINT": "https://your-mautic-instance.com/oauth/v2/token"
      }
    }
  }
}
5

Restart Claude Desktop and verify the connection

Restart Claude Desktop. Ask it to list your Mautic contacts or campaigns to confirm the server is connected and OAuth2 authentication is working.

Mautic MCP Examples

Client configuration

Full claude_desktop_config.json entry for Mautic MCP Server using OAuth2 credentials.

{
  "mcpServers": {
    "mautic-server": {
      "command": "node",
      "args": ["/path/to/mantic-MCP/build/index.js"],
      "env": {
        "MAUTIC_BASE_URL": "https://your-mautic-instance.com/api/",
        "MAUTIC_CLIENT_ID": "your_client_id",
        "MAUTIC_CLIENT_SECRET": "your_client_secret",
        "MAUTIC_TOKEN_ENDPOINT": "https://your-mautic-instance.com/oauth/v2/token"
      }
    }
  }
}

Prompts to try

Example natural language commands that map to the 68 tools exposed by the server.

- "Search for all contacts with gmail in their email address"
- "Create a new project to organize my Q1 campaign resources"
- "Clone campaign 5 and export it for staging"
- "Send email template 12 to its assigned segment"
- "List all active campaigns and their contact counts"
- "Add contact [email protected] to the Newsletter segment"
- "Get email performance statistics for email ID 8"

Troubleshooting Mautic MCP

OAuth2 token request returns 'invalid_client' error

Verify that MAUTIC_CLIENT_ID and MAUTIC_CLIENT_SECRET match exactly what is shown in Mautic under Settings → API Credentials. Also confirm that MAUTIC_TOKEN_ENDPOINT ends with /oauth/v2/token (not /api/oauth/v2/token). Enable the Mautic API under Settings → Configuration → API Settings if you haven't already.

Tools that use v2 API endpoints (list_projects, clone_campaign, etc.) return 404

These tools require Mautic 7 (Columba Edition) or later. Check your Mautic version at Settings → System Info. If you are on Mautic 4 or 5, only the v1 API tools will work. SMS tools (list_sms, create_sms) are also removed in Mautic 7 and will return deprecation errors.

MAUTIC_BASE_URL returns connection refused or SSL errors

Ensure MAUTIC_BASE_URL includes the full URL with protocol (https://) and ends with /api/ (including the trailing slash). For self-hosted instances with self-signed certificates, you may need to set NODE_TLS_REJECT_UNAUTHORIZED=0 in the env block during development only — do not use in production.

Frequently Asked Questions about Mautic MCP

What is Mautic MCP?

Mautic MCP is a Model Context Protocol (MCP) server that comprehensive model context protocol (mcp) server that provides full integration with mautic marketing automation platform. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Mautic MCP?

Follow the installation instructions on the Mautic MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Mautic MCP?

Mautic MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Mautic MCP free to use?

Yes, Mautic MCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Marketing & SEO MCP Servers

Explore all marketing & seo servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mantic-mcp": { "command": "npx", "args": ["-y", "mantic-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Mautic MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides