MuntuAI MCP

Allow your agents to launch personalized outbound campaigns

MuntuAI MCP

This repository contains the public documentation, manifest, and reference clients for the live MuntuAI MCP server. The runnable server implementation lives in the main Muntu backend.

The official Model Context Protocol (MCP) server for MuntuAI — giving AI agents programmatic access to email outreach campaigns, lead management, domain infrastructure, and real-time workspace events.


What This Is

MuntuAI is an AI-native email outreach platform. This MCP server lets external agents (Claude, Cursor, custom scripts) connect to a MuntuAI workspace and perform actions: create campaigns, import leads, verify domains, send emails, and subscribe to webhook events — all through a standard MCP interface over HTTP.

Protocol: Model Context Protocol over HTTP (JSON-RPC 2.0)
Transport: Streamable HTTP (text/event-stream or application/json)
Server protocol revision: 2025-03-26
Server URL: https://api.muntuai.com/api/mcp


Quick Start

1. Get an agent key

Log in to app.muntuai.com, go to Settings → Agent Keys, and create a key. Choose the autonomy level that matches what your agent needs:

LevelWhat it can do
observerRead anything — campaigns, leads, domains, senders, events
copilotRead + create and modify — campaigns, domains, senders, leads, webhooks
autonomousEverything above + pause, resume, delete

You will see the raw key once: mnt_<keyId>.<secret>. Copy it immediately.

2. Configure your client

Security note: store the raw agent key in an environment variable or secret manager. Do not commit it to source control or paste it into shared files.

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{ "mcpServers": { "muntu": { "url": "https://api.muntuai.com/api/mcp", "headers": { "Authorization": "Bearer ${env:MUNTU_AGENT_KEY}" } } } }

Cursor (.cursor/mcp.json or Settings → MCP):

Python:

pip install requests export MUNTU_AGENT_KEY="mnt_YOUR_KEY_HERE" python clients/python/muntu_mcp_client.py list-campaigns

Recommended:

export MUNTU_SESSION_ID="$(uuidgen)"

Muntu uses the optional MUNTU_SESSION_ID to group requests into one logical MCP session for session-scoped safety controls and budgeting.

3. Make your first call

Once connected, ask your agent:

"List all campaigns in my MuntuAI workspace"

The agent will call resources/read on muntu://campaigns/{workspaceId} and return the campaign list.

Or via Python CLI:

python clients/python/muntu_mcp_client.py list-campaigns python clients/python/muntu_mcp_client.py list-domains python clients/python/muntu_mcp_client.py list-emails


What Agents Can Do

Resources (read-only views)

ResourceURIDescription
workspacemuntu://workspace/{id}Profile, policy, infrastructure counts
domainsmuntu://domains/{id}?cursor=0&limit=50All domains with DNS and verification state
sendersmuntu://senders/{id}?cursor=0&limit=50All email accounts with status
campaignsmuntu://campaigns/{id}?cursor=0&limit=20Unified campaign list
campaign-plansmuntu://campaign-plans/{id}?cursor=0&limit=20Draft review queue
eventsmuntu://events/{id}?cursor=0Recent system events (filterable)

Tools (30 total)

Grouped by domain — see tools/README.md for the full index.

  • Campaigns — create, launch, pause, resume, monitor, review drafts, send
  • Leads — import from array or CSV URL, enrich, sample
  • Senders — create, delete, health check, assign to campaign
  • Domains — add, verify, check status
  • Email generation — preview, refine, generate campaign guide
  • Webhooks — subscribe to workspace events
  • Meta — get agent key info

Repository Structure

muntuai-mcp/
├── README.md                    # This file
├── QUICKSTART.md                # 5-minute setup guide
├── docs/
│   ├── authentication.md        # Token format, headers, rate limits
│   ├── autonomy-levels.md       # Permission model
│   ├── resources.md             # All 6 resources with schemas
│   ├── events.md                # All event types and payloads
│   ├── webhooks.md              # Register, sign, verify
│   └── errors.md                # Error codes and handling
├── tools/
│   ├── README.md                # Full tool index
│   ├── campaigns.md
│   ├── leads.md
│   ├── senders.md
│   ├── domains.md
│   ├── email-generation.md
│   └── meta.md
├── workflows/
│   ├── README.md                # What workflows are
│   ├── launch-first-campaign.md
│   ├── review-and-send-drafts.md
│   ├── domain-setup.md
│   └── monitor-campaign.md
├── reference/
│   ├── event-types.md
│   ├── resource-schemas.md
│   └── tool-schemas.md
├── clients/
│   └── python/
│       ├── muntu_mcp_client.py  # Reference Python client
│       ├── README.md
│       └── examples/
├── agent-guides/
│   ├── for-claude.md
│   ├── for-cursor.md
│   └── decision-guide.md
└── .well-known/
    └── mcp-manifest.json        # Machine-readable capabilities manifest


Key Concepts

Workspace — All data in MuntuAI is scoped to a workspace. Your agent key is bound to one workspace and can only access data within it.

Autonomy levels — Every tool has a minimum required level. If your key's level is below the requirement, the call is rejected and the attempt is logged. See docs/autonomy-levels.md.

Campaign lifecycleuploaded → enriching → drafting → sending → completed. Agents can observe this lifecycle through get_campaign_performance and the events resource. See workflows/monitor-campaign.md.

Domain verification — Before sending, a domain must be verified with the email provider. This involves publishing DNS records and triggering verification. See workflows/domain-setup.md.


Support

  • Documentation issues: Open an issue in this repo
  • Platform support: [email protected]
  • Website: muntuai.com

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension