100+ integrations are ready to connect to your AI.Connect your first MCP

Mailgun MCP server for your AI

Trace a failed email through events and logs, clear a bounce, bulk-load a mailing list, add a sending domain and check its DNS, send from a stored template and pull delivery metrics by tag.

PopMCPMailgun

Why didn't jane@northwind.co get yesterday's password reset? If she's on the bounce list, take her off

Supported Mailgun tools

Mailgun's Send, Validate, Optimize and Inspect APIs in one catalog, with the everyday tools loaded by default and US or EU routing handled on every call.

mailgun_create_template

Create a template.

mailgun_create_template_version

Create a template version.

mailgun_get_template

Get template.

mailgun_list_templates

Get templates.

mailgun_validate_address

Validate Address V4.

mailgun_add_unsubscribes

Add unsubscribes.

mailgun_delete_bounce

Remove bounce.

mailgun_delete_unsubscribe

Remove unsubscribe.

mailgun_get_bounce

Lookup bounce record.

mailgun_list_bounces

List all bounces.

mailgun_list_complaints

List all complaints.

mailgun_list_unsubscribes

List all unsubscribes.

mailgun_create_domain_webhook

Create a domain webhook.

mailgun_list_domain_webhooks

Get domain webhooks.

mailgun_add_mailing_list_member

Create a mailing list member.

mailgun_add_mailing_list_members

Bulk upload members to a mailing list (JSON).

mailgun_create_mailing_list

Create a mailing list.

mailgun_delete_mailing_list_member

Delete a member.

mailgun_list_mailing_list_members

Get mailing lists members.

mailgun_list_mailing_lists

Get mailing lists.

mailgun_update_mailing_list_member

Update a mailing list member.

mailgun_create_route

Create a route.

mailgun_list_routes

Get all routes.

mailgun_create_domain

Create a domain.

mailgun_get_domain

Get domain details.

mailgun_get_tracking_settings

Get tracking settings.

mailgun_list_domains

Get domains.

mailgun_verify_domain

Verify Domain.

mailgun_get_stored_message

Retrieve a stored email.

mailgun_send_message

Send an email.

mailgun_list_tags

Post query to list account tags or search for single tag.

mailgun_query_metrics

Query account metrics.

mailgun_get_page

Fetch another page of any Mailgun list: pass a URL from a previous response's `paging` object (next, previous, first or last) exactly as returned.

mailgun_list_events

Retrieves a paginated list of events.

mailgun_query_logs

List logs.

mailgun_copy_account_template

Copy a template.

mailgun_copy_account_template_version

Copy an account-level template version.

mailgun_copy_template

Copy a template.

mailgun_copy_template_version

Copy a version.

mailgun_create_account_template

Create an account-level template.

mailgun_create_account_template_version

Create an account-level template version.

mailgun_delete_account_template

Delete an account-level template.

mailgun_delete_account_template_version

Delete an account-level template version.

mailgun_delete_all_account_templates

Delete all account-level templates.

mailgun_delete_all_templates

Delete all templates.

mailgun_delete_template

Delete a template.

mailgun_delete_template_version

Delete a version.

mailgun_get_account_template

Get an account-level template.

mailgun_get_account_template_version

Get an account-level template version.

mailgun_get_template_version

Get a version.

mailgun_list_account_template_versions

Get all account-level template versions.

mailgun_list_account_templates

Get account-level templates.

mailgun_list_template_versions

Get all template versions.

mailgun_rename_account_template

Rename a template.

mailgun_rename_template

Rename a template.

mailgun_update_account_template

Update an account-level template.

mailgun_update_account_template_version

Update an account-level template version.

mailgun_update_template

Update template.

mailgun_update_template_version

Update a version.

mailgun_cancel_bulk_validation

Delete Job V4.

mailgun_cancel_mailing_list_validation

Delete Job V3.

mailgun_create_alert

Add Alert.

mailgun_create_bulk_validation

Create Bulk Job.

mailgun_create_limit_threshold

Create a limit threshold for an account.

mailgun_create_list_health_preview

Create a List Health Preview Job.

mailgun_create_send_alert

Create a send alert for an account.

mailgun_delete_alert

Remove Alert.

mailgun_delete_alert_slack_settings

Delete Slack settings.

mailgun_delete_limit_threshold

Delete a limit threshold for an account.

mailgun_delete_list_health_preview

Delete List Health Preview Job.

mailgun_delete_send_alert

Delete a send alert.

mailgun_get_alert_settings

List Alerts.

mailgun_get_alert_slack_channel

Get Slack channel.

mailgun_get_bulk_validation

Get Job V4.

mailgun_get_limit_threshold

Get a limit threshold for an account.

mailgun_get_list_health_preview

Get List Health Preview Job.

mailgun_get_mailing_list_validation

Get Job V3.

mailgun_get_platform_validation_threshold

Get Threshold.

mailgun_get_public_validation_threshold

Get Threshold.

mailgun_get_send_alert

Get a send alert.

mailgun_list_alert_slack_channels

List Slack channels.

mailgun_list_alertable_events

List events.

mailgun_list_bulk_validations

List Jobs V4.

mailgun_list_limit_thresholds

List limit thresholds for an account.

mailgun_list_list_health_previews

List List Health Preview Jobs.

mailgun_list_send_alerts

List send alerts.

mailgun_list_threshold_hits

List account hits.

mailgun_list_validation_jobs

List Bulk and Preview V4 Jobs.

mailgun_parse_addresses

Parse Addresses.

mailgun_parse_addresses_post

Parse Addresses.

mailgun_parse_addresses_private

Parse Addresses.

mailgun_parse_addresses_private_post

Parse Addresses.

mailgun_promote_list_health_preview

Promote List Health Preview Job.

mailgun_reset_alert_webhook_signing_key

Reset Webhook Signing Key.

mailgun_revoke_alert_slack_access

Revoke Slack access token.

mailgun_send_test_alert_email

Test message.

mailgun_send_test_alert_slack

Test message.

mailgun_send_test_alert_webhook

Test webhook.

mailgun_update_alert

Update Alert.

mailgun_update_alert_slack_settings

Update Slack settings.

mailgun_update_limit_threshold

Update a limit threshold for an account.

mailgun_update_send_alert

Update a send alert.

mailgun_validate_address_post

Validate one address, sent as a form field instead of in the URL (keeps the address out of logs).

mailgun_validate_address_v3

Validate Address V3.

mailgun_validate_address_v3_post

Validate Address V3.

mailgun_validate_address_v3_private

Validate Address V3.

mailgun_validate_address_v3_private_post

Validate Address V3.

mailgun_validate_mailing_list

Create Job V3.

mailgun_add_allowlist_entry

Add allowlist record.

mailgun_add_bounces

Add bounces.

mailgun_add_complaints

Add complaints.

mailgun_clear_allowlist

Clear allowlist.

mailgun_clear_bounces

Clear all bounces.

mailgun_clear_complaints

Clear all complaints.

mailgun_clear_unsubscribes

Clear all unsubscribes.

mailgun_delete_allowlist_entry

Remove entry from allowlist.

mailgun_delete_complaint

Remove complaint.

mailgun_get_allowlist_entry

Lookup allowlist record.

mailgun_get_complaint

Lookup complaint record.

mailgun_get_unsubscribe

Lookup unsubscribe record.

mailgun_import_allowlist

Import allowlist.

mailgun_import_bounces

Import list of bounces.

mailgun_import_complaints

Import complaint list.

mailgun_import_unsubscribes

Import unsubscribe list.

mailgun_list_allowlist

List allowlist records for domain.

mailgun_create_preview_export

Create Export Job for Email Preview Test Screenshots.

mailgun_create_preview_share

Create PreviewShare.

mailgun_create_preview_test

Create Email Preview Test V2.

mailgun_delete_preview_share

Delete PreviewShare.

mailgun_delete_preview_test

Delete Emailpreview Test V2.

mailgun_generate_preview_address

Generate Preview Address.

mailgun_generate_preview_address_v1

Generate Preview Address.

mailgun_get_preview_client_result

Get Test Results by client ID V2.

mailgun_get_preview_export

Retrieve Export Job Details for Email Preview Test Screenshots.

mailgun_get_preview_share

Get PreviewShare.

mailgun_get_preview_test

Get Emailpreview Test Information V2.

mailgun_get_preview_test_content

Get Test Content.

mailgun_get_preview_test_content_index

Get Test Content (empty).

mailgun_get_preview_test_results

Get Test Results.

mailgun_get_public_preview_share

Returns PreviewShare record by UUID.

mailgun_list_preview_clients

List Clients.

mailgun_list_preview_exports

Retrieve Export Job Details for Email Preview Test Screenshots.

mailgun_list_preview_tests

List/Search Tests V2.

mailgun_reprocess_preview_test

Reprocess Emailpreview Test.

mailgun_rotate_preview_share

Rotate PreviewShare.

mailgun_update_preview_share

Update PreviewShare.

mailgun_create_seed_list

Generate a New Seed List.

mailgun_delete_inbox_placement_result

Delete Result.

mailgun_delete_seed_list

Delete a Seed List.

mailgun_get_inbox_placement_result

Get Result Details.

mailgun_get_inbox_result_attribute_values

Get List of Values for a Result Attribute.

mailgun_get_inbox_result_sharing

Get Result Sharing Status.

mailgun_get_seed_list

Get Seed List.

mailgun_get_seed_list_attribute_values

Get List of Values for Seed List Attribute.

mailgun_get_shared_inbox_result

Get Result by a Share ID.

mailgun_list_inbox_placement_providers

List Email Providers.

mailgun_list_inbox_placement_results

List Results.

mailgun_list_inbox_result_attributes

List Available Attributes for Results.

mailgun_list_inbox_result_filters

List available filters for Results.

mailgun_list_seed_list_attributes

List Available Attributes for Seed Lists.

mailgun_list_seed_list_filters

Get List of Available Seed List Filters.

mailgun_list_seed_lists

List Seed Lists.

mailgun_run_inbox_placement_test

Run Inbox Placement Test.

mailgun_update_inbox_result_sharing

Update Result Sharing Status.

mailgun_update_seed_list

Update Seed List.

mailgun_add_domain_ip

Assign one of your account's dedicated IPs to this domain, or link a dedicated IP pool (DIPP) to it.

mailgun_assign_ip_to_all_domains

Assign an IP to all account domains.

mailgun_get_account_spillover_settings

Get DIPP spillover settings for an account.

mailgun_get_domain_spillover_pool

Get the dedicated IP pool used for spillover for a domain.

mailgun_get_ip

Get details about account IP.

mailgun_get_ip_request_allowance

Return the number of IPs available to the account per its billing plan.

mailgun_list_domain_ips

List the dedicated IPs assigned to this domain.

mailgun_list_ip_domains

Get all domains of an account where a specific IP is assigned.

mailgun_list_ips

List account IPs.

mailgun_list_ips_detailed

List account IPs - detailed view.

mailgun_remove_domain_ip

Remove an IP from the domain pool, unlink a DIPP or remove the domain pool.

mailgun_remove_domain_pool_ip

Remove an IP from the domain pool, unlink a DIPP or remove the domain pool.

mailgun_remove_ip_from_all_domains

Remove an IP from all account domains.

mailgun_request_new_ip

Add a new dedicated IP to the account.

mailgun_set_ip_band

Place account IP into a dedicated IP band.

mailgun_update_account_spillover_settings

Set or Modify the dedicated IP pool used for IP spillover.

mailgun_update_domain_spillover_pool

Set or modify the dediciated IP pool used for spillover for a domain.

mailgun_update_subaccount_ip_assignments

Update subaccount IP assignments.

mailgun_create_account_webhook

Create an account-level webhook.

mailgun_create_domain_webhook_url

Create domain webhooks (v4).

mailgun_delete_account_webhook

Delete account-level webhook by ID.

mailgun_delete_account_webhooks

Delete account-level webhooks.

mailgun_delete_domain_webhook

Delete domain webhooks by type.

mailgun_delete_domain_webhook_urls

Delete domain webhooks (v4).

mailgun_get_account_webhook

Get account-level webhook by ID.

mailgun_get_domain_webhook

Get domain webhooks by type.

mailgun_get_webhook_tls_certificate

Download the client certificate (PEM) Mailgun presents when calling your webhooks over mutual TLS, so your server can trust it (CN webhooks.mgsend.net).

mailgun_list_account_webhooks

List account-level webhooks.

mailgun_test_domain_webhook

Send a sample event to a URL to test a domain webhook, like the dashboard's Test button.

mailgun_update_account_webhook

Update an account-level webhook.

mailgun_update_domain_webhook

Update domain webhook.

mailgun_update_domain_webhook_url

Update domain webhooks (v4).

mailgun_add_ip_to_dynamic_pool

Add IP to Dynamic IP Pool.

mailgun_delete_all_dynamic_pools

Remove all dynamic IP pools.

mailgun_enroll_all_domains_in_dynamic_pools

Enroll all account domains.

mailgun_enroll_domain_in_dynamic_pools

Enroll domain.

mailgun_list_domain_dynamic_pool_history

List domain history.

mailgun_list_dynamic_pool_assignable_domains

List assignable domains.

mailgun_list_dynamic_pool_domains

List all domains assigned to dynamic IP pools.

mailgun_list_dynamic_pool_history

List account history.

mailgun_list_dynamic_pools

List all Dynamic IP pools.

mailgun_override_dynamic_pool_assignment

Override domain assignment.

mailgun_preview_dynamic_pool_assignment

Preview domain assignment.

mailgun_remove_domain_from_dynamic_pools

Remove domain from dynamic IP pools.

mailgun_remove_dynamic_pool_override

Remove override.

mailgun_set_dynamic_pool_ips

Initialize/set IPs for all pools.

mailgun_update_dynamic_pool_ips

Update pool IPs.

mailgun_delete_mailing_list

Delete a mailing list.

mailgun_get_mailing_list

Get a mailing list by address.

mailgun_get_mailing_list_member

Get a member.

mailgun_import_mailing_list_members

Bulk upload members to a mailing list (CSV).

mailgun_list_mailing_list_members_paged

Get members by page.

mailgun_list_mailing_lists_paged

Get mailing lists by page.

mailgun_update_mailing_list

Update a mailing list.

mailgun_add_ip_to_pool

Add an IP to a DIPP.

mailgun_add_ips_to_pool

Add multiple IPs to the DIPP.

mailgun_add_sandbox_recipient

Add authorized email recipient for a sandbox domain.

mailgun_create_ip_pool

Add a new DIPP to the account.

mailgun_delegate_ip_pool

Delegate DIPP to Subaccount.

mailgun_delete_ip_pool

Delete the DIPP.

mailgun_delete_sandbox_recipient

Remove an authorized sandbox domain email recipient.

mailgun_delete_sending_limit

Delete a custom sending limit.

mailgun_get_ip_pool

Get DIPP details.

mailgun_get_sending_limit

Get current custom sending limit.

mailgun_get_webhook_signing_key

Get webhook signing key saved on the account.

mailgun_list_delegated_ip_pools

List DIPPs delegated to subaccounts.

mailgun_list_ip_pool_domains

Get domains linked to DIPP.

mailgun_list_ip_pools

List dedicated IP pools of the account.

mailgun_list_sandbox_recipients

Get authorized email recipients for a sandbox domain.

mailgun_reenable_sending

Re-enable account disabled for hitting send limit.

mailgun_regenerate_webhook_signing_key

Create or regenerate webhook signing key on an account.

mailgun_remove_ip_from_pool

Remove an IP from a DIPP.

mailgun_resend_activation_email

Resend account activation email to the account owner.

mailgun_revoke_ip_pool_delegation

Revoke DIPP from Subaccount.

mailgun_set_sending_limit

Set a custom sending limit.

mailgun_update_account_feature

Update account feature.

mailgun_update_account_settings

Update variable account settings.

mailgun_update_ip_pool

Edit DIPP.

mailgun_add_monitored_ip

Register an IP address.

mailgun_create_forward

Create a forward rule.

mailgun_delete_forward

Delete a single forward rule by ID.

mailgun_delete_monitored_ip

Removes IP from monitoring.

mailgun_delete_route

Delete a route.

mailgun_get_domain_blocklists

Get Lists Domain is Listed in.

mailgun_get_forward

Get a single forward rule by ID.

mailgun_get_monitored_ip

Get the IP address.

mailgun_get_route

Get a route.

mailgun_list_blocklist_events

Get All Events.

mailgun_list_domain_blocklist_events

Get Events for Domain.

mailgun_list_forwards

List forward rules.

mailgun_list_ip_blocklist_events

List IP blocklist events for your monitored IPs: an IP being listed on or removed from a blocklist.

mailgun_list_ip_blocklists

List the blocklists Mailgun checks your monitored IPs against: [{ blocklist, name }].

mailgun_list_monitored_domains

Get Monitored Domains.

mailgun_list_monitored_ips

Lists monitored IP addresses.

mailgun_match_route

Match address to route.

mailgun_update_forward

Update a single forward rule by ID.

mailgun_update_monitored_ip

Update the IP address.

mailgun_update_route

Update a route.

mailgun_activate_dkim_key

Activate a domain key.

mailgun_create_dkim_key

Create a domain key.

mailgun_create_subaccount

Create a subaccount.

mailgun_deactivate_dkim_key

Deactivate a domain key.

mailgun_delete_dkim_key

Delete a domain key.

mailgun_delete_subaccount

Delete a subaccount.

mailgun_delete_subaccount_sending_limit

Delete a custom sending limit.

mailgun_disable_subaccount

Disable a subaccount.

mailgun_enable_subaccount

Enable a subaccount.

mailgun_get_subaccount

Get a single subaccount.

mailgun_get_subaccount_sending_limit

Get current custom sending limit.

mailgun_list_dkim_keys

List keys for all domains.

mailgun_list_domain_dkim_keys

List domain keys.

mailgun_list_subaccounts

List all subaccounts.

mailgun_rotate_dkim_key

Rotate Automatic Sender Security DKIM key for a domain.

mailgun_set_subaccount_sending_limit

Set a custom sending limit.

mailgun_update_dkim_authority

Update DKIM authority.

mailgun_update_dkim_rotation

Update Automatic Sender Security DKIM key rotation for a domain.

mailgun_update_dkim_selector

Update a DKIM selector.

mailgun_update_subaccount_feature

Update subaccount feature.

mailgun_create_code_analysis

Create a Code Analysis Test.

mailgun_create_code_analysis_version

Create New Code Analysis Version.

mailgun_create_image_validation

Create an Image Validation Test.

mailgun_create_image_validation_from_html

Create an Image Validation Test by HTML.

mailgun_create_image_validation_from_upload

Create an Image Validation Test by Image Upload.

mailgun_delete_code_analysis

Delete Code Analysis Test.

mailgun_delete_image_validation

Delete Image Validation Test.

mailgun_get_code_analysis

Get Code Analysis Results.

mailgun_get_code_analysis_dictionary

Get Code Analysis Dictionary.

mailgun_get_code_analysis_version

Get Code Analysis Results by Version.

mailgun_get_image_validation

Get Image Validation Results.

mailgun_list_code_analyses

List Code Analysis Jobs.

mailgun_list_code_analysis_versions

Get All Code Analysis Versions.

mailgun_list_image_validations

Get Image Validation Tests.

mailgun_optimize_validated_image

Optimize Single Image By Test ID.

mailgun_optimize_validated_images

Optimize Images By Test ID.

mailgun_reprocess_image_validation

Reprocess Image Validation Test.

mailgun_update_code_analysis_issue_status

Update Resolved Status.

mailgun_delete_domain

Delete a domain.

mailgun_generate_tracking_certificate

Tracking Certificate: Generate.

mailgun_get_dmarc_host_report

Retrieve DMARC reporting data for a hostname.

mailgun_get_dmarc_ip_report

Retrieve DMARC reporting data for an IP Address.

mailgun_get_dmarc_records

Retrieves the DMARC DNS records to be used for configuration.

mailgun_get_dmarc_referral_link

Gets referral link to redsift.

mailgun_get_dmarc_report

Retrieve DMARC reporting data for a domain.

mailgun_get_dmarc_setup_status

Checks if DMARC has been setup for user.

mailgun_get_dmarc_source_report

Retrieve DMARC reporting data from a specific source.

mailgun_get_domain_connection_settings

Get domain connection settings: { connection: { require_tls, skip_verification } }, i.e. whether this domain's mail is only delivered over TLS and whether the receiving server's certificate is verified.

mailgun_get_tracking_certificate

Tracking Certificate: Get certificate and status.

mailgun_list_dmarc_domains

Retrieves the list of domains that have DMARC monitoring.

mailgun_regenerate_tracking_certificate

Tracking Certificate: Regenerate expired certificate.

mailgun_update_click_tracking

Update click tracking settings.

mailgun_update_domain

Update domain.

mailgun_update_domain_connection_settings

Update domain connection settings.

mailgun_update_domain_web_prefix

Change the subdomain prefix used in this domain's open, click and unsubscribe tracking links (default "email", as in email.mg.example.com).

mailgun_update_open_tracking

Update open tracking settings.

mailgun_update_unsubscribe_tracking

Update unsubscribe tracking settings.

mailgun_check_link_validation_against_csv

Validates link test results against the provided spreadsheet file.

mailgun_create_link_validation

Create a Link Validation Test.

mailgun_create_link_validation_from_html

Create a Link Validation Test from an html input.

mailgun_delete_link_validation

Delete Link Validation Test.

mailgun_get_link_validation

Get Link Validation Results.

mailgun_get_postmaster_compliance

Get GPT v2 Domain Compliance.

mailgun_get_postmaster_domain

Get GPT Domain.

mailgun_get_postmaster_feedback_loop

Get GPT FBL.

mailgun_list_link_validations

List Link Validations.

mailgun_list_postmaster_compliance

Get GPT v2 Compliances.

mailgun_list_postmaster_domain_names

Get GPT Domains.

mailgun_list_postmaster_domains

Get GPT Domains.

mailgun_list_postmaster_feedback_loops

Get GPT FBL.

mailgun_reprocess_link_validation

Reprocess Link Validation Test.

mailgun_delete_scheduled_messages

Delete scheduled and undelivered mail.

mailgun_get_sending_queues

Get messages queue status.

mailgun_resend_stored_message

Resend an email.

mailgun_send_mime_message

Send an email in MIME format.

mailgun_create_smtp_credential

Create Mailgun SMTP credentials for a given domain.

mailgun_create_spam_test

Create Spam Test (V1).

mailgun_delete_all_smtp_credentials

Delete all Mailgun SMTP credentials for a domain.

mailgun_delete_smtp_credential

Delete Mailgun SMTP credentials.

mailgun_delete_spam_test

Delete Spam Test (V1).

mailgun_get_spam_test

Get Spam Test (V1).

mailgun_list_smtp_credentials

List Mailgun SMTP credential metadata for a given domain.

mailgun_list_spam_test_providers

List Supported ESP Providers.

mailgun_list_spam_tests

List Spam Tests (V1).

mailgun_update_smtp_credential

Update Mailgun SMTP credentials.

mailgun_add_ip_allowlist_entry

Add Mailgun account IP allowlist entry.

mailgun_add_optimize_domain

Add a single domain to an account.

mailgun_cancel_ip_warmup

Cancels the warmup plan for an IP address.

mailgun_create_accessibility_test

Create Accessibility Test.

mailgun_create_api_key

Create Mailgun API key.

mailgun_create_export

Start an export of a large list as a downloadable file, e.g. a domain's bounces.

mailgun_create_ip_warmup

Creates a warmup plan for an IP Address.

mailgun_delete_accessibility_test

Delete Accessibility Test.

mailgun_delete_api_key

Delete Mailgun API key.

mailgun_delete_ip_allowlist_entry

Delete Mailgun account IP allowlist entry.

mailgun_delete_optimize_domain

Deletes a single domain from an account.

mailgun_delete_tag

Delete account tag.

mailgun_get_accessibility_test

Get Accessibility Test.

mailgun_get_export

Get an export and its status.

mailgun_get_export_download_url

Get the download link of a finished export.

mailgun_get_ip_warmup

Retrieves the status of an in-flight IP warmup.

mailgun_get_tag_limits

Get account tag limit information.

mailgun_list_accessibility_tests

Get Accessibility Tests.

mailgun_list_api_keys

List Mailgun API keys.

mailgun_list_exports

List data exports created in the past 24 hours.

mailgun_list_ip_allowlist

List Mailgun account IP allowlist entries.

mailgun_list_ip_warmups

Retrieves the list of in-flight IP address warmup statuses.

mailgun_list_optimize_domains

Returns Domains on Mailgun Optimize services.

mailgun_regenerate_public_api_key

Regenerate Mailgun Public API key.

mailgun_update_ip_allowlist_entry

Update individual Mailgun account IP allowlist entry's description.

mailgun_update_tag

Update account tag.

mailgun_verify_optimize_domain

Queues a domain to be processed for verification.

mailgun_get_current_user

Get one's own user details.

mailgun_get_user

Get an user's details.

mailgun_list_users

Get users on an account.

mailgun_query_bounce_classification

List statistic v2.

mailgun_query_usage_metrics

Query account usage metrics.

mailgun_get_email_health_score

Get Email Health score and rates for account and subaccounts.

mailgun_get_snds_ip

Get SNDS Address Info.

mailgun_list_email_health_scores

List Email Health score and rates grouped by domains/ips/subaccounts/timestamps.

mailgun_list_snds_ips

Get SNDS Address Info.

mailgun_list_spam_trap_hits

List Spam Trap Hits.

Connect Mailgun to your AI

Credentials off one Mailgun screen, then an endpoint your client signs into. Nothing to deploy, and nothing to install.

Paste an Account API key from Mailgun's API Security page (Add new key). Admin reaches every tool, Developer all but keys, SMTP credentials and users, Analyst is read-only. Add a default sending domain if you have several, or for a Domain Sending Key.

API key••••••••••••3f7a
Default sending domain (optional)mg.example.com
ConnectionVerified

Then just ask for the work

  • “Why didn't jane@northwind.co get yesterday's password reset? If she's on the bounce list, take her off”

    • list_events
    • get_bounce
    • delete_bounce
  • “Add these 300 webinar signups to the events mailing list”

    • list_mailing_lists
    • add_mailing_list_members
  • “Compare delivered, open and click rates by tag on mg.acme.com, this week against last”

    • list_tags
    • query_metrics
  • “Create an order-shipped template and send it to me with sample order details”

    • create_template
    • send_message

Use Mailgun from the assistant you already open

One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.

Claude DesktopCustom connector

Add the PopMCP URL under Settings → Connectors and the tools appear in every chat.

Claude WebCustom connector

The same endpoint, registered in the browser. Nothing to install on the machine you are working from.

ChatGPTCustom connector

Register PopMCP as a custom connector, then let ChatGPT read and update the account.

CodexDesktop & CLI

Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.

OpenCodeCoding agent

Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.

ZCodeDesktop app

Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.

Mailgun MCP server questions

What teams ask before putting Mailgun behind an AI client.

Which Mailgun API key do I need to connect Mailgun to Claude or ChatGPT?

An Account API key, created in Mailgun under API Security with Add new key. Admin reaches every tool, Developer covers everything except API keys, SMTP credentials and users, and Analyst is read-only. A Domain Sending Key also connects if you type its domain, but then only send_message and send_mime_message work, for that one domain. PopMCP checks a sending key with an empty request, so nothing is sent while you connect.

Does it work if my Mailgun domains are in the EU region?

Yes, and you never pick a region. When you connect, PopMCP lists your domains on both the US host (api.mailgun.net) and the EU host (api.eu.mailgun.net) and records which region holds each one. Every call that names a domain goes to that domain's region, which avoids the "Domain not found" Mailgun returns from the wrong host. A domain added after you connect is looked up the first time a tool uses it.

How does the Mailgun send tool know which domain to send from?

It reads the from address. send_message sends through the matching Mailgun domain, including the common setup where hello@acme.com sends through mg.acme.com, and other domain tools fall back to your default sending domain. Friendly fields such as tags, reply_to, template_variables and deliverytime in ISO 8601 are converted to Mailgun's o:, h: and v: form fields. testmode: true has Mailgun accept a message without delivering it.

How can I see why a Mailgun email wasn't delivered?

By reading the events for that message. list_events filters by recipient, message-id, subject, tag and event type (delivered, failed, opened and so on), and get_page follows the paging.next link Mailgun returns for longer histories. get_stored_message fetches the email itself from the event's storage URL, which Mailgun keeps for your plan's retention, about 3 days by default. If a bounce is blocking the address, delete_bounce lets mail to it be attempted again.

Can one PopMCP connection work inside my Mailgun subaccounts?

No. A connection is one Mailgun account. From the parent key, list_subaccounts, create_subaccount and delete_subaccount manage subaccounts, but PopMCP never acts inside a subaccount on the parent's key. To work inside one, create an API key in that subaccount and connect it in its own PopMCP workspace, since each workspace holds one Mailgun connection.

Which Mailgun events can PopMCP watch?

17 in total. Eight come from Mailgun webhooks: email accepted, delivered, delivery delayed, failed, opened, link clicked, recipient unsubscribed and marked as spam. Change detection covers a sending domain added, mailing list created, inbound route created, template created, API key created and dedicated IP added. Three thresholds fire when the bounce rate or spam complaints climb past your level, or this month's sends near the account's custom sending limit.

Do I have to run or host the Mailgun MCP server myself?

No. PopMCP hosts it and gives you a Streamable HTTP MCP URL. There is nothing to deploy, no callback URL to register, and no infrastructure to keep running or patch.

Which AI clients can use this MCP server?

Any client that supports a remote Streamable HTTP MCP server: Claude Desktop, Claude Web, ChatGPT custom connectors, Codex and the Codex CLI, OpenCode and Z.ai's ZCode, as well as editors such as Cursor, Windsurf and Zed. Your client signs in to PopMCP with OAuth; the provider credential never leaves the server.

Why do only 35 of the 385 tools load by default?

Loading 385 tool definitions into every conversation burns context before the work starts. PopMCP loads a curated 35-tool set covering the everyday workflows and keeps the rest searchable, so your AI pulls a specialist tool only when a task needs it. Every tool stays searchable, and on Scale the owner can load the full catalog for a teammate's connection.

What is the difference between a tool and a trigger?

A tool is something your AI calls, and there are 385 here. A trigger is something PopMCP watches for you: 17 Mailgun events that can start work on the PopMCP side. Triggers never enter your AI client's context, and none of them ask you to paste a callback URL into Mailgun.

Connect Mailgun to your AI in minutes

Launch a hosted MCP endpoint for Mailgun, keep tool access under control, and start testing real workflow prompts right away.

Connect your first MCP