Mailpro

Developer Portal

Connect Mailpro to your AI assistant

The Mailpro MCP server lets Claude, ChatGPT and other assistants work with a Mailpro account: read campaigns and results, look up contacts, prepare lists and templates. The account owner signs in and decides what the assistant may do.

Server address

https://api.mailpro.com/mcp

One address for every assistant. Transport: Streamable HTTP. Sign-in: OAuth 2.1 with PKCE. There is no API key to copy.

Connect an assistant in 3 steps

1. Add the server in the assistant

In the assistant's settings, add a connector (remote MCP server) and paste the address above.

2. Sign in to Mailpro

The assistant opens a Mailpro page. Sign in with your Mailpro account: the assistant never sees your password.

3. Accept the rights

The page lists what the assistant asks for. Accept or refuse. The assistant is then listed in the app, under Settings → SMTP & API → AI Assistants (MCP).

Tools

Every tool works on the account of the signed-in user: no tool takes an account id. Names and descriptions are in English, as the assistant receives them.

· · All tools on one page →
AccountAccount, credits, API request quota4
get_accountGet Account
Returns general information about the signed-in Mailpro account.
Read
get_credit_balanceGet Credit Balance
Returns what the signed-in Mailpro account can still send.
Read
get_api_usageGet API Usage
Returns the API request quota of the signed-in Mailpro account for the current period.
Read
get_sending_usageGet Sending Usage
Returns how much the signed-in Mailpro account sent over a period.
Read
Campaigns and resultsCampaigns, statistics, bounces, scheduled sends10
list_campaignsList Campaigns
Lists the email campaigns of the signed-in Mailpro account, most recent first, with their main counters (sent, opens, clicks, bounces, unsubscriptions).
Read
get_campaignGet Campaign Details
Returns one email campaign of the signed-in Mailpro account.
Read
get_campaign_statisticsGet Campaign Statistics
Returns the statistics of one email campaign of the signed-in Mailpro account.
Read
get_campaign_bouncesGet Campaign Bounces
Lists the bounces of one email campaign of the signed-in Mailpro account.
Read
get_campaign_opensGet Campaign Opens
Lists who opened one email campaign of the signed-in Mailpro account.
Read
get_campaign_clicksGet Campaign Clicks
Lists who clicked in one email campaign of the signed-in Mailpro account.
Read
compare_campaignsCompare Campaign Performance
Compares 2 to 5 email campaigns of the signed-in Mailpro account side by side.
Read
list_scheduled_sendsList Scheduled Sends
Lists what the signed-in Mailpro account has scheduled and not yet sent.
Read
get_email_delivery_statusGet Email Delivery Status
Returns the delivery status of one transactional email sent by the signed-in Mailpro account.
Read
list_automationsList Automations
Lists the automations of the signed-in Mailpro account, most recent first.
Read
ContactsSearch, read, create, update, unsubscribe9
search_contactsSearch Contacts
Searches the contacts of the signed-in Mailpro account inside ONE contact list, ONE tag or ONE segment.
Read
find_contact_by_emailFind Contact By Email
Finds the contact of the signed-in Mailpro account that has this exact email address, whatever lists it is in, and returns the same details as get_contact (including its contact id, lists and tags).
Read
get_contactGet Contact Details
Returns one contact of the signed-in Mailpro account.
Read
get_contact_activityGet Contact Activity
Returns the recent email activity of one contact of the signed-in Mailpro account.
Read
create_contactCreate Contact
Creates a contact in the signed-in Mailpro account, inside one contact list.
Change
import_contactsImport Contacts
Creates several contacts at once in the signed-in Mailpro account, all inside one contact list.
Change
update_contactUpdate Contact
Updates one contact of the signed-in Mailpro account.
Change
unsubscribe_contactUnsubscribe Contact
Unsubscribes an email address for the signed-in Mailpro account.
Change
list_suppressionsList Bounces and Unsubscribes
Lists the addresses the signed-in Mailpro account no longer sends to.
Read
Lists, tags and segmentsContact lists, tags, segments, custom fields12
list_contact_listsList Contact Lists
Lists the contact lists of the signed-in Mailpro account, most recent first, with the number of contacts in each.
Read
get_contact_listGet Contact List
Returns one contact list of the signed-in Mailpro account.
Read
create_contact_listCreate Contact List
Creates an empty contact list in the signed-in Mailpro account.
Change
add_contact_to_listAdd Contact to List
Adds an existing contact of the signed-in Mailpro account to one more contact list.
Change
remove_contact_from_listRemove Contact from List
Removes a contact of the signed-in Mailpro account from one contact list.
Change
list_tagsList Tags
Lists the contact tags of the signed-in Mailpro account, with the number of contacts carrying each.
Read
create_tagCreate Tag
Creates a contact tag in the signed-in Mailpro account.
Change
add_contact_tagAdd Tag to Contact
Applies a tag to a contact of the signed-in Mailpro account.
Change
remove_contact_tagRemove Tag from Contact
Removes a tag from a contact of the signed-in Mailpro account.
Change
list_segmentsList Segments
Lists the contact segments (saved filters) of the signed-in Mailpro account.
Read
count_segment_contactsCount Segment Contacts
Counts the contacts matching one segment of the signed-in Mailpro account, optionally restricted to one contact list.
Read
list_custom_fieldsList Custom Fields
Lists the custom contact fields of the signed-in Mailpro account (name, personalization key, type).
Read
Templates and sendersEmail templates, sender addresses, SPF, DKIM, DMARC6
list_email_templatesList Email Templates
Lists the email templates (saved messages) of the signed-in Mailpro account, most recently modified first.
Read
get_email_templateGet Email Template
Returns one email template of the signed-in Mailpro account.
Read
create_email_templateCreate Email Template
Saves a new email template (a message.
Change
update_email_templateUpdate Email Template
Changes one email template of the signed-in Mailpro account.
Change
list_sender_emailsList Sender Addresses
Lists the sender addresses of the signed-in Mailpro account and whether each is validated.
Read
get_sender_authenticationGet Sender Authentication
Returns the email authentication status of one sender address of the signed-in Mailpro account.
Read
SendingSend an email, an SMS or a campaign, approval, scheduled sends10
get_send_settingsGet Send Settings
Returns what the account owner allows THIS assistant to send, for emails or for SMS.
Read
send_transactional_emailSend Transactional Email
Sends one email to one person from the signed-in Mailpro account.
Change
send_email_campaignSend Email Campaign
Sends an email campaign from the signed-in Mailpro account.
Change
send_approved_requestSend Approved Request
Sends an email, an email campaign, an SMS or an SMS campaign that waited for approval, once the account owner approved it in the Mailpro app.
Change
get_send_requestGet Send Request
Returns where a send requested by this assistant stands.
Read
cancel_scheduled_email_campaignCancel Scheduled Email Campaign
Cancels an email campaign send of the signed-in Mailpro account that is scheduled and not yet sent.
Change
reschedule_email_campaignReschedule Email Campaign
Changes the planned date of an email campaign send of the signed-in Mailpro account that is scheduled and not yet sent.
Change
send_transactional_smsSend Transactional SMS
Sends one SMS to one phone number from the signed-in Mailpro account.
Change
send_sms_campaignSend SMS Campaign
Sends one SMS text to every contact of one contact list of the signed-in Mailpro account, now or at a planned date.
Change
cancel_scheduled_smsCancel Scheduled SMS
Cancels an SMS send of the signed-in Mailpro account that is scheduled and not yet sent.
Change

Sending emails and SMS

An assistant can send an email, an SMS or a campaign from the account. The account owner decides how, for each connected assistant, in the app under Settings → SMTP & API → AI Assistants (MCP).

ModeHow it works
With approvalThe default. The assistant requests the send; nothing leaves. The owner sees the recipient, the sender, the subject and the content in the app and approves or refuses within 30 minutes. Once approved, the assistant sends it within one hour, once, with exactly the approved content.
Direct sendThe send leaves at once, without approval. For an email or an SMS to one person, a daily limit applies per assistant: 100 emails and 20 SMS by default, changed by the owner.
SMS campaignAlways with approval, whatever the mode.
SuspendOne button in the app stops every send of every assistant at once. Reading keeps working.

Sends use the account's email and SMS credits, like any other send. A request that is not approved in time expires: nothing is sent.

Guides and ready-made requests

The server also gives the assistant two guides (resources) and three ready-made requests (prompts). They are fixed text: reading them uses no API request.

NameWhat it is
mailpro://guide/getting-startedGuide: which tool to start with, how ids and paging work.
mailpro://guide/deliverabilityGuide: the rules that keep emails out of spam, and the tool that checks each one.
analyze_last_campaignRequest: read the results of the latest campaign and explain them.
compare_recent_campaignsRequest: compare the latest campaigns and show the trend.
check_sender_setupRequest: check the sender addresses and their domain authentication.

Rights

The assistant asks for rights when it connects, and the user sees them before accepting. A tool whose right was not granted answers with an error; nothing is done.

RightAllows
account:readView account credits, limits and subscription
contacts:readView contacts, lists, tags and segments
contacts:writeCreate and edit contacts, lists and tags
email:readView campaigns, delivery, opens, clicks and bounces
email:templates:readView email templates
email:templates:writeCreate and edit email templates
email:sendSend emails on your behalf
sms:sendSend SMS messages on your behalf
sms:readView SMS balance and history

Removing access: in the app, under Settings → SMTP & API → AI Assistants (MCP), click Remove access. The assistant loses access within 20 minutes at most, the lifetime of a token.

Limits

LimitValue
API request quotaEvery tool call counts against the account's API request quota, like a direct API call. The tool get_api_usage shows what is left.
Lists20 items per page by default, 50 at most. has_more says whether another page exists.
Rate300 requests per minute and per IP address on the MCP server.
TokenValid for 20 minutes, renewed by the assistant without asking the user again.

For developers of MCP clients

The server follows the MCP authorization specification: an MCP client finds everything from the server address.

StepDetail
No tokenThe server answers 401 with a WWW-Authenticate header that gives the address of its resource metadata.
Resource metadatahttps://api.mailpro.com/mcp/.well-known/oauth-protected-resource (RFC 9728): authorization server and rights.
Authorization serverhttps://api.mailpro.com/oauth/.well-known/oauth-authorization-server (RFC 8414).
Client registrationDynamic registration (RFC 7591) at the registration_endpoint of the authorization server. Public client, no secret.
Authorizationauthorization_code with PKCE S256, and the resource parameter (RFC 8707) set to the server address. A token issued for the MCP server is not accepted by the Mailpro APIs when called directly.
SessionsNone: the server is stateless, each request carries its token.

Errors

ResponseMeaning
401Missing, invalid or expired token. The assistant signs in again or renews its token.
429Too many requests in one minute. Wait and try again.
Tool errorThe tool answers with a short message in English: item not found, right not granted, quota used up, or request refused by Mailpro. When a change is refused, nothing was changed.