MCP Tools Reference
The Mailofly MCP server exposes 19 purpose-built tools allowing your AI assistant to perform actions in your Mailofly workspace. Every tool is strictly typed, validated via Zod schemas, and returns clean JSON payloads.1. Transactional & Marketing Emails
mailofly_send_email
Dispatch an individual transactional or marketing email with HTML/text content, attachments, CC/BCC, reply-to routing, and scheduled sending.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_send_batch
Send up to 100 distinct emails in a single request. Each email can have its own recipient, subject, and personalized body.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_get_email
Inspect the live delivery status, bounce events, and metadata of a previously dispatched email.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_list_emails
Retrieve a paginated list of sent emails with delivery statuses and timestamps.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_cancel_email
Cancel a scheduled email before its scheduled dispatch time.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
2. Audience & Contacts
mailofly_list_contacts
Query contacts in your audience, with optional filtering by segment.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_create_contact
Add a new subscriber or customer contact with optional custom attributes.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_get_contact
Retrieve contact details, subscribed segments, and custom properties by ID.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_delete_contact
Permanently remove a contact from your audience.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
3. Email Templates
mailofly_list_templates
List all reusable templates configured in your workspace.
Parameters: None required.
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_get_template
Fetch a template’s HTML body, plain text, and placeholder variable schema.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_create_template
Create a new reusable template with variables for dynamic interpolation.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
4. Broadcast Campaigns
mailofly_list_campaigns
List all marketing and broadcast campaigns in your account.
Parameters: None required.
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_create_campaign
Create a new campaign targeted at an audience segment.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_send_campaign
Trigger immediate or scheduled delivery of a campaign broadcast.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
5. Domains & Deliverability
mailofly_list_domains
Check all sending domains and their DNS record verification states (SPF, DKIM, DMARC, Return-Path).
Parameters: None required.
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_verify_domain
Trigger a real-time DNS check for a pending or active domain.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt
mailofly_list_identities
List configured sender identities and routing accounts.
Parameters: None required.
Example Natural Language Prompt
Example Natural Language Prompt
6. Usage & Metrics
mailofly_get_usage
Retrieve email volume, delivery rates, bounce counters, and monthly quota limits.
Parameters:
Example Natural Language Prompt
Example Natural Language Prompt