Skip to main content

Mailofly MCP Server

Connect your favorite AI coding assistants and autonomous agents directly to your Mailofly workspace using the Model Context Protocol (MCP). With Mailofly MCP, your AI assistant can dispatch transactional emails, manage contacts, check real-time delivery logs, inspect DNS records, and build email templates directly inside your editor. Mailofly MCP is available in two transport modes — choose the one that fits your client:

Instant Email Dispatch

Send single emails or bulk batches with custom HTML, attachments, and scheduling.

Audience Management

Create, query, and segment contacts dynamically through natural language.

Live Deliverability Data

Monitor sent volumes, bounce rates, and open tracking directly inside your chat.

Domain & DNS Verification

Inspect SPF, DKIM, DMARC, and MX records without leaving your IDE.

Supported AI Clients

The Mailofly MCP server is packaged as an executable via npx and works out-of-the-box with all major MCP-compatible environments:

Cursor

Full tool execution in Cursor Chat & Composer.

Claude Desktop

Native tool call integration with Claude 3.5 Sonnet.

Google Antigravity

Autonomous agent pairing with Mailofly capabilities.

Windsurf

Native Cascade integration with Stdio MCP transport.

Zed

Native MCP server support in Zed’s Assistant Panel.

VS Code (Cline / Roo)

Autonomous dev agent support via VS Code extensions.

One-Click Setup

Install Mailofly in your editor instantly:

Transport Options

Stdio (npx)

Runs locally via npx. Best for local editors like Cursor, Claude Desktop, Windsurf, and Zed. Requires Node.js.

Hosted HTTP/SSE

Zero-install URL transport hosted at mcp.mailofly.com. Best for web-based AI clients like Claude.ai and any client that accepts an MCP URL.

30-Second Quickstart

Add to your AI client’s configuration file:

What Can You Say to Your AI?

Once connected, you can interact with Mailofly using everyday natural language:
  • “Add sarah@acme.com to our contacts list with first name Sarah and company Acme.”
  • “List the most recent 20 contacts in our audience.”
  • “Remove the contact with ID cnt_xyz789 from our audience.”
  • “List all active email templates in our workspace.”
  • “Show me the HTML body and placeholders of the ‘Password Reset’ template.”
  • “Create a new reusable template named ‘Order Confirmation’ with an order summary table.”
  • “What is our email sending volume and delivery rate over the last 14 days?”
  • “Check the DNS and DKIM verification status of sending domain acme.com.”
  • “List all verified sender identities configured in our account.”

Next Steps

Client Integration Guides

Copy-paste configurations for Cursor, Claude Desktop, Antigravity, and Windsurf.

Tools Reference

Full reference for all 19 tools across emails, contacts, campaigns, and domains.

Live Resources

Learn how agents use live workspace resources as ambient context.