UTM Mind
🤖 Agent Automation🔌 MCP Integration

How to Integrate UTM Mind with AI Agents via MCP

Step-by-step guide to connecting UTM Mind to AI agents like Manus, Claude, or Cursor using the MCP Server. Automate UTM link creation, validation, and governance with natural language commands.

By UTM Mind Team

How to Integrate UTM Mind with AI Agents via MCP for Full Automation

In a world where marketing teams are running hundreds of campaigns across dozens of channels, manual UTM management is no longer just tedious — it's a direct threat to data quality. UTM Mind solves this with its powerful governance tools, and now, with the introduction of our Model-Context Protocol (MCP) Server, you can automate your entire UTM workflow by integrating directly with AI agents like Manus, Claude, or Cursor.

This guide will walk you through the process of connecting UTM Mind to your AI agent, explain the high-impact automation scenarios this unlocks, and provide the exact configuration you need to get started.


What is MCP and Why Does it Matter for UTM Automation?

The Model-Context Protocol (MCP) is an open standard that allows AI agents to discover and interact with external tools and APIs in a structured, predictable way. Think of it as a universal language for AI agents to talk to services like UTM Mind.

Instead of writing custom API integration code for every tool, you simply provide the agent with an MCP Server URL and your API key. The agent then automatically understands what tools are available, what inputs they need, and how to call them.

For UTM Mind, this means your AI agent can:

  • Create and manage UTM links — single, bulk, or batch across channels
  • Validate URLs against your naming conventions — catch errors before they pollute your data
  • List and create templates, rules, and attributes — manage your entire governance setup programmatically
  • Perform bulk operations — generate 50 links for a campaign launch in a single command

...all through natural language commands within your existing agent workflow.


The UTM Mind MCP Server URL

The UTM Mind MCP Server is available at:

https://www.utmmind.com/api/mcp

This is the URL you will provide to your AI agent. Authentication is handled via a Bearer token (your API key) in the request headers. There is no separate OAuth flow required — just generate a key and go.


Connecting UTM Mind to Your AI Agent

Getting started is a simple two-step process.

Step 1: Generate Your API Key

First, you need an API key from UTM Mind. This key authenticates your agent and ensures it has the correct permissions.

  1. Navigate to Workspace → 🔑 API & Integrations in your UTM Mind dashboard.
  2. Click the API Keys tab.
  3. Click + Generate New Key.
  4. Give your key a descriptive name (e.g., "Manus Agent - Prod").
  5. Grant it the necessary scopes. For full automation, select all read and write scopes.
  6. Click Generate Key and copy the key to a secure location. You will not be able to see it again.

Step 2: Configure Your Agent with the MCP Server

Now, tell your AI agent where to find the UTM Mind MCP server and how to authenticate. Add the following JSON block to your agent's MCP configuration:

{
  "mcpServers": {
    "utm-mind": {
      "url": "https://www.utmmind.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Replace YOUR_API_KEY with the key you generated in the previous step.

That's it! Your agent is now connected to UTM Mind and has access to all 10 available tools.


Available MCP Tools

Once connected, your agent has access to the following tools:

ToolDescription
list_linksList UTM links with optional filters
create_linkCreate a single validated UTM link
create_links_batchCreate multiple links in one call
list_templatesList all UTM templates
create_templateCreate a new template
validate_urlValidate a URL against your rule sets
list_rule_setsList all validation rule sets
create_rule_setCreate a new rule set
list_attributesList all attribute categories and values
upsert_attributeAdd or update attribute values

High-Impact Automation Scenarios

1. On-the-Fly Campaign Launch

Launching a flash sale? Instead of manually creating links for every channel, tell your agent:

"Using utm-mind, generate UTM links for our 'Summer Sale 2024' campaign. The destination URL is https://acme.com/summer-sale. Create links for Google (cpc), Meta (paid_social), and our three email newsletters (newsletter_weekly, newsletter_promo, newsletter_partners)."

The agent calls create_links_batch and generates all links in seconds — validated against your naming conventions before they're created.

2. Automated Content Syndication

When syndicating blog posts to Medium, DEV.to, or Hacker News:

"I just published a new post at https://acme.com/blog/new-feature. Using utm-mind, create tracking links for syndication on Medium, DEV.to, and Hacker News. Campaign is 'new_feature_launch'."

Three distinct, correctly-tagged links, ready to paste. No spreadsheet, no manual work.

3. Dynamic Ad Creative Testing

Running A/B tests on ad creatives? Automate UTM tagging per creative:

"Using utm-mind, create three UTM links for my Google Ads campaign 'q4_promo'. Base URL is https://acme.com/landing. I'm testing creatives: 'video_ad_01', 'image_ad_05', 'carousel_ad_03'. Add these to utm_content."

Each link gets a unique utm_content value, so GA4 shows you exactly which creative drove conversions.

4. Proactive Data Governance

Use agents for real-time data quality checks before links go live:

"Using utm-mind, validate this URL: https://acme.com?utm_source=google&utm_medium=PPC&utm_campaign=My%20Campaign. Does it violate any naming conventions?"

The agent calls validate_url and responds:

"2 violations found against 'GA4 Best Practices': 1. Error: utm_medium 'PPC' is not valid. Should be 'cpc'. 2. Warning: utm_campaign 'My Campaign' contains uppercase and spaces. Should be 'my_campaign'."

5. Nightly Governance Audit

Schedule your agent to run a nightly audit:

"Every night at midnight, use utm-mind to list all links created today and validate each one. Send me a Slack summary of any violations."

This turns UTM governance from a reactive task into a proactive, automated system — catching errors before they compound into weeks of bad data.


Plan Limits and API Usage

API and MCP calls are subject to your UTM Mind plan limits:

PlanLinks/MonthAPI Access
Free100✅ Included
Starter2,000✅ Included
Pro20,000✅ Included
Agency / ScaleUnlimited✅ Included

When you exceed your monthly link creation limit, the API returns a 429 Too Many Requests response with details on your current usage and a link to upgrade.


The Future is Automated

By integrating UTM Mind with your AI agent, you transform UTM governance from a manual, error-prone task into a seamless, automated part of your marketing operations. Your team moves faster, your data gets cleaner, and you can finally focus on strategy instead of spreadsheets.

Ready to automate? Generate your API key today and connect your agent in minutes.

🤖

Ready to Automate Your UTM Workflow?

Generate your API key and connect your AI agent to UTM Mind in under 5 minutes.

UTM Mind
© 2026 UTM Mind. All rights reserved.