mailgun/mailgun-mcp-server

mailgun/mailgun-mcp-server

от mailgun
MCP сервер для Mailgun позволяет AI агентам отправлять email, управлять доставляемостью, доменами и аналитикой. Идеален для разработчиков, автоматизирующих почтовые процессы через MCP инструмент с поддержкой валидации и тестов доставляемости.

Mailgun MCP Server

npm version MCP License

Overview

A Model Context Protocol (MCP) server for Mailgun that gives AI agents a practical, workflow-oriented interface to send email, diagnose deliverability, and manage account operations.

[!NOTE] This MCP server runs locally on your machine and communicates over stdio. Mailgun does not currently offer a hosted version of this server.

Capabilities
  • Messaging — Send emails, retrieve stored messages, resend messages
  • Domains — View domain details, verify DNS configuration, manage tracking settings (click, open, unsubscribe)
  • Webhooks — List, create, and update event webhooks
  • Routes — View and update inbound email routing rules
  • Mailing Lists — Create, view, and update mailing lists and their members
  • Templates — Create, view, and update email templates with versioning
  • Analytics — Query sending metrics, usage metrics, and logs
  • Stats — View aggregate statistics by domain, tag, provider, device, and country
  • Suppressions — View bounces, unsubscribes, complaints, and allowlist entries
  • IPs & IP Pools — View IP assignments and dedicated IP pool configuration
  • Bounce Classification — Analyze bounce types and delivery issues
  • Validation — Validate email address deliverability and syntax before sending (validate)
  • Optimize (Inbox Placement) — Retrieve inbox placement / seed test results to gauge deliverability (optimize)
  • Inspect (Email Preview) — Retrieve email rendering and preview test results across clients (inspect)
  • Account Limits — View custom monthly sending limits
Инструменты были проиндексированы:
get_inbox_placement_result

Получает детали результата

Параметры
  • providerstring
  • resultstringобязательный
get_metrics_summary

Получает структурированную сводку ключевых метрик отправки (количества и вычисленные показатели) для домена и временного окна. Возвращает необработанные количества, десятичные показатели и отчет о пропусках данных. Используйте как примитив данных для вопросов о состоянии доставки.

Параметры
  • domainstringобязательный

    Sending domain to retrieve metrics for.

  • durationstring

    Duration shorthand as alternative to start/end (e.g. '24h', '7d'). Defaults to '24h'.

  • endstring

    End of time window in ISO 8601 format.

  • startstring

    Start of time window in ISO 8601 format (e.g. '2026-04-27T00:00:00Z').

  • timezonestring

    Timezone for the window (e.g. 'UTC', 'America/New_York'). Defaults to UTC.

get_preview_result

Получает результаты тестов.

Параметры
  • test_idstringобязательный

    Test to get results for

get-v1-bounce-classification-stats

Выводит статистику, отсортированную по общему количеству отказов.

Параметры
  • groupstring

    Group response by fields: subaccount.id, domain.name, entity-id, rule-id

  • include_subaccountsboolean

    Include subaccounts

  • limitnumber

    Limits the number of items returned in a response

get-v3-domain-aggregates-countries

Агрегирует счётчики по странам

Параметры
  • domainstringобязательный

    The domain name

get-v3-domain-aggregates-devices

Агрегирует количество по устройствам, вызывающим события.

Параметры
  • domainstringобязательный

    The domain name

get-v3-domain-aggregates-providers

Агрегирует подсчеты по ESP

Параметры
  • domainstringобязательный

    The domain name

get-v3-domain-bounces

Перечисляет все возвраты.

Параметры
  • domain_namestringобязательный

    Domain to retrieve bounces from

  • limitnumberобязательный

    Maximum number of records to return (optional, default: 100, max: 1000)

  • pagestringобязательный

    Page direction relative to the above address, can be next, previous or last, if empty, returns the first page

  • termstringобязательный

    Filter records based on addresses that start with the specified substring.

get-v3-domain-bounces-address

Ищет запись о возврате.

Параметры
  • addressstringобязательный

    The address to search for

  • domain_namestringобязательный

    Domain to retrieve the bounce from

get-v3-domain-complaints

Перечисляет все жалобы.

Параметры
  • addressstringобязательный

    address serving as a "divider" between pages

  • domain_namestringобязательный

    Domain to retrieve complaints from

  • limitnumber

    Maximum number of records to return (optional, default: 100, max: 1000)

  • pagestring

    Page direction relative to the above address, can be next, previous or last, if empty, returns the first page

  • termstringобязательный

    Filter records based on addresses that start with the specified substring.

get-v3-domain-complaints-address

Находит запись жалобы

Параметры
  • addressstringобязательный

    The address to search for

  • domain_namestringобязательный

    Domain to retrieve the complaint from

get-v3-domains-domain-limits-tag

Получает ограничения тегов.

Параметры
  • domainstringобязательный

    The domain name

get-v3-domains-domain-messages-storage_key

Извлекает сохранённое письмо.

Параметры
  • domain_namestringобязательный

    Domain name that was used to send the email

  • storage_keystringобязательный

    Storage key from the email's associated events (Example: Accepted/Delivered events storage.key field). Note: Storage keys are available for the duration of your domain's message retention policy.

get-v3-domains-domain-tag-countries

Список поддерживаемых кодов стран

Параметры
  • domainstringобязательный

    The domain name

get-v3-domains-domain-tag-devices

Список поддерживаемых устройств

Параметры
  • domainstringобязательный

    The domain name

get-v3-domains-domain-tag-providers

Список поддерживаемых провайдеров

Параметры
  • domainstringобязательный

    The domain name

get-v3-domains-domain-webhooks

Получает вебхуки домена

Параметры
  • domainstringобязательный

    Domain name you want webhooks for

get-v3-domains-domain-webhooks-webhook

Получает вебхуки домена по типу

Параметры
  • domain_namestringобязательный

    Domain name you want webhooks for

  • webhook_namestringобязательный

    The webhook type you wish to retrieve. Valid types are accepted, clicked, opened, unsubscribed, delivered, permanent_fail, temporary_fail, complained

get-v3-domains-name-sending_queues

Получает статус очереди сообщений.

Параметры
  • namestringобязательный

    The name of the domain you want get sending queues from

get-v3-domains-name-tracking

Получает настройки отслеживания

Параметры
  • namestringобязательный

    The name of the domain to fetch tracking details for.

get-v3-domain-stats-total

Итоги по всему домену

Параметры
  • domainstringобязательный

    The domain name

  • durationstring

    If duration is provided than it's calculated from the 'end' date and overwrites the 'start' date

  • endstring

    The end date in RFC 2822 format or unix epoch (default: current time)

  • eventstringобязательный

    Name of the event(s) to receive the stats for (Multiple events are allowed). Supported events are: accepted, delivered, failed, opened, clicked, unsubscribed, complained, stored

  • resolutionstring

    The gregorian resolution the query is for 'day, month, hour` (default: day)

  • startstring

    The start date in RFC 2822 format or unix epoch (default: 7 days ago)

get-v3-domain-tag

Возвращает тег

Параметры
  • domainstringобязательный

    The domain name

  • tagstringобязательный

    The name of the tag

get-v3-domain-tags

Перечисляет все теги

Параметры
  • domainstringобязательный

    The domain name

  • limitnumber

    Limits the number of items returned in a request

  • pagestring

    The page direction based on the tag parameter; valid choices are (first, last, next, prev)

  • prefixstring

    List only tags that begin with this prefix

  • tagstring

    The tag that marks the end of the current page and the start of the next

get-v3-domain-tag-stats

Получает статистику по тегу.

Параметры
  • countrystring

    The country value; see GET /v3/domains/1/tag/providers for possible values

  • devicestring

    The device value; see GET /v3/domains/1/tag/devices for possible values

  • domainstringобязательный

    The domain id

  • durationstring

    If duration is provided than it's calculated from the 'end' date and overwrites the 'start' date

  • endstring

    The end date in RFC 2822 format or unix epoch (default: current time)

  • eventstringобязательный

    Name of the event(s) to receive the stats for (Multiple events are allowed). Supported events are: accepted, delivered, failed, opened, clicked, unsubscribed, complained, stored

  • providerstring

    The provider value; see GET /v3/domains/1/tag/providers for possible values

  • resolutionstring

    The gregorian resolution the query is for 'day, month, hour` (default: day)

  • startstring

    The start date in RFC 2822 format or unix epoch (default: 7 days ago)

  • tagstringобязательный

    The name of the tag

get-v3-domain-tag-stats-aggregates

Получает агрегированные типы статистики по тегу

Параметры
  • domainstringобязательный

    The domain name

  • tagstringобязательный

    The name of the tag

  • typestringобязательный

    The type of aggregate (country, device, provider)

get-v3-domain-templates

Получает шаблоны

Параметры
  • domain_namestringобязательный

    Domain name to fetch the templates for.

  • limitnumber

    Number of templates to retrieve. Default and max limit is 100.

  • pstring

    Pivot used to retrieve the next page of templates.

  • pageenum

    Name of the page to retrieve. Value can be first, last, next, or previous. Defaults to first.

get-v3-domain-templates-template

Получает шаблон

Параметры
  • activestring

    If this flag is set to yes the active version of the template is included in the response.

  • domain_namestringобязательный

    Domain name the template is stored under.

  • template_namestringобязательный

    Template name to fetch.

get-v3-domain-templates-template-versions

Получает все версии шаблонов

Параметры
  • domain_namestringобязательный

    Domain name to fetch the templates for.

  • limitnumber

    Number of templates to retrieve. Default and max limit is 100.

  • pstring

    Pivot used to retrieve the next page of templates.

  • pageenum

    Name of the page to retrieve. Value can be first, last, next, or previous. Defaults to first.

  • template_namestringобязательный

    template name to fetch the versions for.

get-v3-domain-templates-template-versions-version

Возвращает версию

Параметры
  • domain_namestringобязательный

    Domain name the template is stored under.

  • template_namestringобязательный

    template name the version is for.

  • version_namestringобязательный

    Tag of the version of the template to fetch.

get-v3-domain-unsubscribes

Вывести список всех отписок

Параметры
  • addressstringобязательный

    address serving as a "divider" between pages

  • domain_namestringобязательный

    Domain to retrieve unsubscribes from

  • limitnumber

    Maximum number of records to return (optional, default: 100, max: 1000)

  • pagestring

    Page direction relative to the above address, can be next, previous or last, if empty, returns the first page

  • termstringобязательный

    Filter records based on addresses that start with the specified substring.

get-v3-domain-unsubscribes-address

Находит запись об отписке.

Параметры
  • addressstringобязательный

    The address to search for

  • domain_namestringобязательный

    Domain to retrieve the unsubscribe from

get-v3-domain-whitelists

Выводит записи разрешённого списка для домена.

Параметры
  • addressstringобязательный

    address serving as a "divider" between pages

  • domain_namestringобязательный

    Domain to retrieve allowlist entries from

  • limitnumber

    Maximum number of records to return (optional, default: 100, max: 1000)

  • pagestring

    Page direction relative to the above address, can be next, previous or last, if empty, returns the first page

  • termstringобязательный

    Filter records based on addresses that start with the specified substring.

get-v3-domain-whitelists-value

Ищет запись из списка разрешённых

Параметры
  • domain_namestringобязательный

    Domain to retrieve the allowlist entry from

  • valuestringобязательный

    The address to search for

get-v3-ip_pools

Выводит список выделенных IP-пулов аккаунта.

Параметры

Без параметров.

get-v3-ip_pools-pool_id

Получает подробности DIPP

Параметры
  • pool_idstringобязательный

    Id of the DIPP to get details about

get-v3-ip_pools-pool_id-domains

Получает домены, связанные с DIPP.

Параметры
  • limitnumber

    The maximum number of records to return

  • pagestring

    Encoded page identifier retrieved from previous call

  • pool_idstringобязательный

    Id of the DIPP to get details about

get-v3-ips

Выводит список IP-адресов аккаунта.

Параметры
  • dedicatedboolean

    Return only dedicated IPs

  • enabledboolean

    Return only enabled IPs

get-v3-ips-ip

Получает сведения об IP-адресе учётной записи.

Параметры
  • ipstringобязательный

    IP address to get details about

get-v3-ips-ip-domains

Получает все домены аккаунта, на которых назначен определённый IP-адрес.

Параметры
  • ipstringобязательный

    The IP to filter on

  • limitnumberобязательный

    The limit to apply to the returned domains

  • searchstringобязательный

    The search query that the returned domains' names must match

  • skipnumberобязательный

    The number of matching domains to skip in the response

get-v3-lists

Получает списки рассылки

Параметры
  • addressstring

    Filter mailing lists matching a specific address

  • limitstring

    Set limit for the list length returned. Defaults to 100.

  • skipstring

    Skip the first n values in the list. Defaults to 0.

get-v3-lists-list_address

Получает список рассылки по адресу

Параметры
  • list_addressstringобязательный

    The mailing list's address

get-v3-lists-list_address-members

Получает участников списков рассылки.

Параметры
  • addressstring

    A valid email address specification.

  • limitnumber

    Maximum number of records to return. Max is 100. Defaults to 100.

  • list_addressstringобязательный

    The mailing list's address

  • skipnumber
  • subscribedboolean

    Filtering list on whether the member is subscribed or not.

get-v3-lists-list_address-members-member_address

Получает участника

Параметры
  • list_addressstringобязательный

    The mailing list's address

  • member_addressstringобязательный

    The member's address

get-v3-routes

Получает все маршруты.

Параметры
  • limitstring

    Maximum number of records to return. Defaults to 100.

  • skipstring

    Number of records to skip. Defaults to 0.

get-v3-routes-id

Получает маршрут

Параметры
  • idstringобязательный

    The unique identifier of the route

get-v3-stats-filter

Отфильтрованные/сгруппированные итоги для всего аккаунта

Параметры
  • durationstring

    If duration is provided than it's calculated from the 'end' date and overwrites the 'start' date

  • endstring

    The end date in RFC 2822 format or unix epoch (default: current time)

  • eventstringобязательный

    Name of the event(s) to receive the stats for (Multiple events are allowed). Supported events are: accepted, delivered, failed, opened, clicked, unsubscribed, complained, stored

  • filterstring

    A filter for account level metrics such as filter=domain:my.example.com

  • groupstring

    The key to group metrics by. Must be one of total, time, day, month, domain, ip, provider, tag, country

  • resolutionstring

    The gregorian resolution the query is for 'day, month, hour` (default: day)

  • startstring

    The start date in RFC 2822 format or unix epoch (default: 7 days ago)

get-v3-stats-total

Итоги по всему аккаунту

Параметры
  • durationstring

    If duration is provided than it's calculated from the 'end' date and overwrites the 'start' date

  • endstring

    The end date in RFC 2822 format or unix epoch (default: current time)

  • eventstringобязательный

    Name of the event(s) to receive the stats for (Multiple events are allowed). Supported events are: accepted, delivered, failed, opened, clicked, unsubscribed, complained, stored

  • resolutionstring

    The gregorian resolution the query is for 'day, month, hour` (default: day)

  • startstring

    The start date in RFC 2822 format or unix epoch (default: 7 days ago)

get-v3-stats-total-domains

Итоги по доменам учётных записей для одного временного разрешения

Параметры
  • eventstringобязательный

    Name of the event(s) to receive the stats for (Multiple events are allowed). Supported events are: accepted, delivered, failed, opened, clicked, unsubscribed, complained, stored

  • limitstring

    Skip x number of domains; used to page through large numbers of domains

  • resolutionstring

    The gregorian resolution the query is for 'day, month, hour` (default: day)

  • timestampstringобязательный

    The date/time of the 'resolution' we are retrieving

get-v4-domains

Получает домены

Параметры
  • authoritystring

    Get only domains with a specific authority. If state is specified then only state filtering will be proceed

  • include_subaccountsboolean

    Search on every domain that belongs to any subaccounts under this account. Default to false.

  • limitnumber

    Max count of items. Max: 1000. Default: 100

  • searchstring

    Search domains by the given partial or complete name. Does not support wildcards

  • skipnumber

    Get the list of items starting at the nth element. Default: 0

  • sortstring

    Valid sort options are name which defaults to asc order, name:asc, or name:desc. If sorting is not specified domains are returned in reverse creation date order.

  • statestring

    Get only domains with a specific state. Can be either active, unverified or disabled.

get-v4-domains-name

Получает детали домена

Параметры
  • namestringобязательный

    The name of the domain you want to fetch

get-v5-accounts-limit-custom-monthly

Получает текущий пользовательский лимит отправки.

Параметры

Без параметров.

get-v5-accounts-subaccounts-ip_pools-all

Выводит список DIPPs, делегированных субаккаунтам.

Параметры

Без параметров.

post-v1-analytics-logs

Выводит список логов.

Параметры
post-v1-analytics-metrics

Запрашивает метрики аккаунта.

Параметры
  • dimensionsenum[]

    Attributes of the metric data such as 'subaccount'. See dimensions

  • durationstring

    A duration in the format of '1d' '2h' '2m'. If duration is provided then it is calculated from the end date and overwrites the start date.

  • endstring

    An end date (default: current time). Must be in RFC 2822 format: https://datatracker.ietf.org/doc/html/rfc2822.html#page-14

  • filterobject
  • include_aggregatesboolean

    Include top-level aggregate metrics.

  • include_subaccountsboolean

    Include stats from all subaccounts.

  • metricsenum[]

    Name of the metrics to receive the stats for such as 'processed_count'. See metrics

  • resolutionstring

    A resolution in the format of 'day' 'hour' 'month'. Default is day.

  • startstring

    A start date (default: 7 days before current time). Must be in RFC 2822 format: https://datatracker.ietf.org/doc/html/rfc2822.html#page-14

post-v1-analytics-usage-metrics

Запрашивает метрики использования аккаунта

Параметры
  • dimensionsenum[]

    Attributes of the metric data such as 'subaccount'. See dimensions

  • durationstring

    A duration in the format of '1d' '2h' '2m'. If duration is provided then it is calculated from the end date and overwrites the start date.

  • endstring

    An end date (default: current time). Must be in RFC 2822 format: https://datatracker.ietf.org/doc/html/rfc2822.html#page-14

  • filterobject
  • include_aggregatesboolean

    Include top-level aggregate metrics.

  • include_subaccountsboolean

    Include stats from all subaccounts.

  • metricsenum[]

    Name of the metrics to receive the stats for such as 'processed_count'.

  • resolutionstring

    A resolution in the format of 'day' 'hour' 'month'. Default is day.

  • startstring

    A start date (default: 7 days before current time). Must be in RFC 2822 format: https://datatracker.ietf.org/doc/html/rfc2822.html#page-14

post-v2-bounce-classification-metrics

Список статистики v2

Параметры
  • dimensionsenum[]

    Dimensions.

  • durationstring

    A duration in the format of '48h' '60m' '30s'. If duration is provided then it is calculated from the end date and overwrites the start date.

  • endobject
  • filterobject
  • include_subaccountsboolean

    Include stats from all subaccounts.

  • metricsstring[]

    Metrics to return. See example.

  • paginationobject
  • resolutionobject
  • startobject
post-v3-domain-messages

Отправляет email

Параметры
  • amp-htmlstring

    AMP part of the message. Please follow Google guidelines to compose and send AMP emails

  • attachmentstring[]

    File attachment. You can post multiple attachment values. Important: You must use multipart/form-data encoding for sending attachments

  • bccstring[]

    Same as to but for blind carbon copy recipients. Supports friendly name format.

  • ccstring[]

    Same as to but for carbon copy recipients. Supports friendly name format.

  • domain_namestringобязательный

    Domain name used to send the message

  • fromstringобязательный

    Email address of the From header. Can include a friendly name using the format "Friendly Name <email@domain.com>". Note: not required if sending with a template that has a pre-set From header, but will override the template's From header if provided.

  • htmlstring

    Body of the message (HTML version)

  • h_X-My-Headerstring

    Adds custom headers to the email. Use 'h:' prefix followed by header name and value. Example: 'h:X-Custom-Header=my-value'

  • inlinestring[]

    Attachment with inline disposition. Can be used to send inline images (see example). You can post multiple inline values

  • o_archive-tostring

    Sends a copy of successfully delivered messages to the specified URL via HTTP POST. The request uses Content-Type: application/mime and contains the exact message the recipient's SMTP server received. NOTE: These are accounted for and billed as delivered messages

  • o_deliver-withinstring

    Specifies the maximum time window for delivering the message. Accepts values in format [0-9]+h[0-9]+m (e.g., 1h30m, 30m, 24h), with a minimum of 5m and maximum of 24h. For scheduled messages, the delivery window starts from the scheduled time. The standard retry schedule applies within this window, so shorter timeframes may result in fewer delivery attempts.

  • o_deliverytimestring

    Specifies the scheduled delivery time in RFC-2822 format. Depending on your plan, you can schedule messages up to 3 or 7 days in advance. If your domain has a custom message_ttl (time-to-live) setting, this value determines the maximum scheduling duration. Example: 'Fri, 14 Oct 2011 12:00:00 +0000'

  • o_deliverytime-optimize-periodstring

    Toggles Send Time Optimization (STO) on a per-message basis. String should be set to the number of hours in [0-9]+h format, with the minimum being 24h and the maximum being 72h. This value defines the time window in which Mailgun will run the optimization algorithm based on prior engagement data of a given recipient. See Sending a Message with STO for details. Please note that STO is only available on certain plans. See www.mailgun.com/pricing for more info

  • o_dkimenum

    Enables or disables DKIM signatures on a per-message basis. Overrides the domain-level DKIM setting for this specific message.

  • o_require-tlsenum

    When set to 'yes', requires the message to be sent only over a TLS connection to the Email Service Provider. If TLS cannot be established, the message will not be delivered. When set to 'no' (default), Mailgun attempts TLS but falls back to plaintext SMTP if needed.

  • o_secondary-dkimstring

    Specify a second domain key to sign the email with. The value is formatted as signing_domain/selector, e.g. example.com/s1. This tells Mailgun to sign the message with the signing domain example.com using the selector s1. Note: the domain key specified must have been previously created and activated.

  • o_secondary-dkim-publicstring

    Specify an alias of the domain key specified in o:secondary-dkim. Also formatted as public_signing_domain/selector. o:secondary-dkim option must also be provided. Mailgun will sign the message with the provided key of the secondary DKIM, but use the public secondary DKIM name and selector. Note: We will perform a DNS check prior to signing the message to ensure the public keys matches the secondary DKIM.

  • o_sending-ipstring

    Used to specify an IP Address to send an email that is owned by your account

  • o_sending-ip-poolstring

    If an IP Pool ID is provided, the email will be delivered with an IP that belongs in that pool

  • o_skip-verificationenum

    If true, the certificate and hostname of the resolved MX Host will not be verified when trying to establish a TLS connection. If false, Mailgun will verify the certificate and hostname. If either one can not be verified, a TLS connection will not be established. The default is false

  • o_suppress-headersstring

    Removes specified X-Mailgun headers from the delivered message. Provide header names separated by commas (e.g., 'X-Mailgun-Variables,X-Mailgun-Tag') or use 'all' to remove all X-Mailgun headers.Note: X-Mailgun-Sid header is currently used to process complains received via feedback loops.

  • o_tagstring[]

    Tag string. See Tagging for more information

  • o_testmodeenum

    Enables sending in test mode. Messages are processed normally but not actually delivered to recipients. Useful for testing without sending real emails. See Sending in Test Mode

  • o_time-zone-localizestring

    Toggles Timezone Optimization (TZO) on a per message basis. String should be set to preferred delivery time in HH:mm or hh:mmaa format, where HH:mm is used for 24 hour format without AM/PM and hh:mmaa is used for 12 hour format with AM/PM. See Sending a Message with TZO for details. Please note that TZO is only available on certain plans. See www.mailgun.com/pricing for more info

  • o_trackingenum

    Toggles both click and open tracking on a per-message basis

  • o_tracking-clicksenum

    Toggles click tracking on a per-message basis, see Tracking Clicks. This overrides the domain-level click tracking setting.

  • o_tracking-opensenum

    Toggles opens tracking on a per-message basis, see Tracking Opens. Has higher priority than domain-level setting.

  • o_tracking-pixel-location-topenum

    Places the tracking pixel at the top of emails instead of the bottom. Useful for long emails that may be truncated or have rendering issues, ensuring open tracking works accurately.

  • recipient-variablesstring

    A JSON-encoded dictionary for batch sending with personalized variables per recipient. Each key is a recipient email address, each value is a dictionary of variables for that recipient. Variables can be referenced in the message using %recipient.variablename%. Example: '{"alice@example.com": {"name":"Alice", "id":1}, "bob@example.com": {"name":"Bob", "id":2}}'. Maximum 1,000 recipients per batch. See Batch Sending for more information

  • subjectstringобязательный

    Message subject. Note: not required if sending with a template that has a pre-set Subject header, but it will override it if provided.

  • templatestring

    Name of a template stored via the Templates API to use to render the email body. See Templates for more information

  • textstring

    Body of the message (text version)

  • tostring[]обязательный

    Email address of the recipient(s). Supports friendly name format. Example: "Bob <bob@host.com>". Use commas to separate multiple recipients. Duplicate addresses are automatically ignored.

  • t_textenum

    Generates a plain text version of the template alongside the HTML version when sending templated emails. When set to 'yes', instructs Mailgun to create a text/plain MIME part based on the template content, ensuring compatibility with email clients that don't support HTML or have HTML rendering disabled. This improves email deliverability and accessibility by providing a fallback text version in multipart emails.

  • t_variablesstring

    A valid JSON-encoded dictionary used as the input for template variable expansion. See Templates for more information

  • t_versionstring

    Render a specific version of the given template instead of the latest version. template option must also be provided.

  • v_my-varstring

    Attaches custom data to the message using the 'v:' prefix followed by a variable name. When sending with templates, provides values for template variable substitution (overridden by 't:variables' if both are provided). When not using templates, treated as metadata and included in events/webhooks. Variables are visible in the delivered email's X-Mailgun-Variables header. Example: 'v:user-id=123'. NOTE: Anything over 4KB will be truncated in the event/webhooks.

post-v3-domains-domain-messages-storage_key

Повторно отправляет электронное письмо.

Параметры
  • domain_namestringобязательный

    Domain name used to send the message

  • storage_keystringобязательный

    Storage key from the email's associated events (Example: Accepted/Delivered events storage.key field). Note: Storage keys are available for the duration of your domain's message retention policy.

  • tostringобязательный

    Email address of the recipient(s). Supports friendly name format. Example: "Bob <bob@host.com>". Use commas to separate multiple recipients. Duplicate addresses are automatically ignored.

post-v3-domains-domain-webhooks

Создаёт доменный вебхук

Параметры
  • domainstringобязательный

    The domain name to create the webhook for

  • idstringобязательный

    Webhook type to create. Valid types are accepted, clicked, opened, unsubscribed, delivered, permanent_fail, temporary_fail, complained

  • urlstringобязательный

    url(s) for webhooks to be sent to. Use multiple times to associate more than one url. Maximum of 3 urls for a given webhook type.

post-v3-domain-templates

Создаёт шаблон

Параметры
  • commentstring

    Version comment. This is valid only if a new version is being created. (template parameter is provided.)

  • createdBystring

    Optional metadata field api user can indicate who created the template.

  • descriptionstring

    Description of the template being stored

  • domain_namestringобязательный

    Domain name the template is associated with.

  • headersstring

    Key value JSON object of headers to be stored with the template. Where key is the header name and value is the header value. The header names From, Subject, and Reply-To are the only ones currently supported. These headers will be inserted into the MIME at the time we attempt delivery. Headers set at the message level will override headers set on the template. e.g. Setting the From header at the time of sending will override the From header saved on the template. Additionally, headers generated by templates are not reflected on the accepted event as they are not prepended to the message until the message is prepped for delivery. if a From header is not provided either in the message or template, we will default to postmaster@your-sending-domain.tld

  • namestringобязательный

    Name of the template being stored. Supports utf-8 characters and name will be down cased.

  • tagstring

    Initial tag of the created version. If the template parameter is provided and the tag is missing, the default value initial is used.

  • templatestring

    Content of the template.

post-v3-domain-templates-template-versions

Создаёт версию шаблона

Параметры
  • activestring

    If this flag is set to yes, this version becomes active

  • commentstring

    Comment related to the version that is being created.

  • domain_namestringобязательный

    Domain name the template is associated with.

  • headersstring

    Key value JSON object of headers to be stored with the template. Where key is the header name and value is the header value. The header names From, Subject, and Reply-To are the only ones currently supported. These headers will be inserted into the MIME at the time we attempt delivery. Headers set at the message level will override headers set on the template. e.g. Setting the From header at the time of sending will override the From header saved on the template. Additionally, headers generated by templates are not reflected on the accepted event as they are not prepended to the message until the message is prepped for delivery. if a From header is not provided either in the message or template, we will default to postmaster@your-sending-domain.tld

  • tagstringобязательный

    Tag of the version that is being created. Must be unique to the template.

  • templatestringобязательный

    Content of the template.

  • template_namestringобязательный

    template name to create the new version for.

post-v3-lists

Создаёт список рассылки

Параметры
  • access_levelstring

    List access level, one of: readonly, members, everyone. Defaults to readonly

  • addressstringобязательный

    A valid email address for the mailing list, e.g. developers@mailgun.net, or Developers devs@mg.net

  • descriptionstring

    A description

  • namestring

    Mailing list name, e.g. Developers

  • reply_preferencestring

    Set where replies should go: list or sender. Defaults to list

post-v3-lists-list_address-members

Создаёт участника списка рассылки

Параметры
  • addressstring

    Valid email address specification.

  • list_addressstringобязательный

    The mailing list's address

  • namestring

    An optional member name.

  • subscribedboolean

    Set the member as subscribed or not. Defaults to true.

  • upsertboolean

    Set to True to update member if present, False to raise error in case of a duplicate member. Defaults to false.

  • varsobject
put-v3-domains-domain-webhooks-webhook

Обновляет вебхук домена.

Параметры
  • domain_namestringобязательный

    The name of the domain you want to get webhook from

  • urlstringобязательный

    New url(s) to associate to webhook. Use multiple times to associate more than one url. Maximum of 3 urls for a given type.

  • webhook_namestringобязательный

    The webhook type to update.

put-v3-domains-name-tracking-click

Обновляет настройки отслеживания кликов.

Параметры
  • activestring

    Set param to htmlonly, true, or false. Omit this param to make no change to the active status. Click tracking is consider as active if it's in the 'htmlonly' or 'true' state

  • namestringобязательный

    The name of the domain you want to update

put-v3-domains-name-tracking-open

Обновляет настройки отслеживания открытий

Параметры
  • activeboolean

    Set this param to true or false to toggle open tracking active status. Omit this param to keep current settings.

  • namestringобязательный

    The name of the domain you want to update

  • place_at_the_topboolean

    Setting this param to true will place the open tracking pixel at the top of the HTML body when inserted into the email mime. Omit this param to keep current setting.

put-v3-domains-name-tracking-unsubscribe

Обновляет настройки отслеживания отписок

Параметры
  • activeboolean

    This param will toggle the active status of unsubscribe tracking on the domain.

  • html_footerstring

    Updates the html footer for the unsubscribe link inserted into the email html part of the mime.

  • namestringобязательный

    The name of the domain you want to update

  • text_footerstring

    Updates the text footer for the unsubscribe link inserted into the email plain part of the mime.

put-v3-domain-templates-template

Обновляет шаблон.

Параметры
  • descriptionstring

    Update description of the template being updated.

  • domain_namestringобязательный

    Domain name the template is associated with.

  • template_namestringобязательный

    The template name.

put-v3-domain-templates-template-versions-version

Обновляет версию

Параметры
  • activestring

    If this flag is set to yes, this version becomes active

  • commentstring

    Comment related to the version that is being created.

  • domain_namestringобязательный

    Domain name the template is associated with.

  • headersstring

    Key value JSON object of headers to be stored with the template. Where key is the header name and value is the header value. The header names From, Subject, and Reply-To are the only ones currently supported. These headers will be inserted into the MIME at the time we attempt delivery.

  • templatestring

    Content of the template.

  • template_namestringобязательный

    template name the version is stored under.

  • version_namestringобязательный

    Tag of the version of the template to be updated

put-v3-lists-list_address

Обновляет список рассылки

Параметры
  • access_levelstring

    One of: readonly, members, everyone. Defaults to readonly.

  • addressstring

    The new mailing list address.

  • descriptionstring
  • list_addressstringобязательный

    The mailing list's address

  • list-idstring
  • namestring
  • reply_referencestring

    Set where replies should go. Can be list or sender. Defaults to list.

put-v3-lists-list_address-members-member_address

Обновляет участника списка рассылки

Параметры
  • addressstring

    A valid email address specification.

  • list_addressstringобязательный

    The mailing list's address

  • member_addressstringобязательный

    The member's address

  • namestring

    An optional member name.

  • subscribedboolean

    Set the member to subscribed or not. Defaults to True.

  • varsobject
put-v3-routes-id

Обновляет маршрут

Параметры
  • actionstring[]

    This action is executed when the expression evaluates to True. You can pass multiple parameters.

  • descriptionstring

    An arbitrary string.

  • expressionstring

    The filtering rule.

  • idstring

    Unique identifier of the route

  • prioritynumber

    Smaller number indicates higher priority. Higher priority routes are handled first.

put-v4-domains-name-verify

Проверяет домен.

Параметры
  • namestringобязательный

    The name of the domain you want to verify

validate_email

Проверяет адрес V4

Параметры
  • addressstringобязательный

    The address to be validated

  • provider_lookupboolean

    Enable/disable provider lookup, default is true

Похожие MCP-сервера

clawaimail/mcp

clawaimail/mcp

ClawAIMail - MCP сервер для AI-агентов, предоставляющий почтовые ящики и полный контроль над email через REST API, WebSocket и webhooks. Идеален для разработчиков, строящих агентные рабочие процессы с email.

HTML2
TheSameAbramovych/qmailing-mcp-server

TheSameAbramovych/qmailing-mcp-server

MCP сервер для интеграции AI-агентов с почтовым сервисом QMailing. Позволяет управлять ящиками, отправлять и читать письма, работать с вложениями и вебхуками. Подключается к Claude.ai через OAuth или к другим MCP-клиентам через npm. Требует тариф PLUS.

TypeScript1
railsware/mailtrap-mcp

railsware/mailtrap-mcp

MCP сервер для отправки email и тестирования в песочнице Mailtrap. Отправляйте письма, управляйте шаблонами, просматривайте логи доставки и статистику. Помогает разработчикам отлаживать email-функциональность через AI.

TypeScript65
n24q02m/better-email-mcp

n24q02m/better-email-mcp

MCP-сервер для email через IMAP/SMTP: читает, отправляет, управляет папками и вложениями. Поддерживает мультиаккаунты, автонастройку провайдера и app passwords. Упрощает интеграцию почты в AI-агентов.

TypeScript34
tomba-io/tomba-mcp-server

tomba-io/tomba-mcp-server

MCP сервер для поиска, верификации и обогащения email-адресов через Tomba.io. Помогает находить контакты по доменам, именам и LinkedIn, проверять доставляемость писем и изучать технологии сайтов. П...

TypeScript8
shy2593666979/mcp-server-email

shy2593666979/mcp-server-email

MCP сервер для отправки email и поиска вложений. Даёт AI-ассистентам возможность составлять и отправлять письма с вложениями, а также искать файлы по шаблону. Использует SMTP, поддерживает нескольких получателей.

Python80
© Каталог MCP, 2026. Все права защищены.
Проект не аффилирован с Anthropic и любыми упомянутыми продуктами.
Все названия и торговые марки принадлежат их владельцам.
Контакты для связи: hi@mcp-katalog.ru

Лука Никитин