mandrill-mcp

v1.0.0
io.github.mrfentmen/mandrill-mcp Checked 3 days ago Published 27 days ago

MCP server for Mandrill: transactional email MCP: real tools for real work.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

send_email

Send a transactional email through Mandrill. This sends real mail from a verified domain.

ParameterTypeDescription
from_email *stringVerified sending address
subject *stringSubject line
to *arrayRecipients
from_namestringSender display name
htmlstringHTML body
importantbooleanMark the message as important
tagsarrayTags for reporting
textstringPlain-text body (auto-generated when omitted)
track_clicksbooleanTrack clicks
track_opensbooleanTrack opens

send_template_email

Send an email rendered from a stored Mandrill template.

ParameterTypeDescription
from_email *stringVerified sending address
template_name *stringTemplate slug
to *arrayRecipients
from_namestringSender display name
merge_varsarrayPer-recipient merge vars: [{rcpt: 'a@b.c', vars: [{name, content}]}]
subjectstringOverride the template subject
template_contentarrayHandlebars replacements: [{name, content}]

send_raw_email

Send a pre-built MIME message through Mandrill.

ParameterTypeDescription
from_email *stringVerified sending address
raw_message *stringFull MIME message, including headers
to *arrayRecipient addresses
from_namestringSender display name
subjectstringSubject override

search_messages

Search sent messages by Mandrill's search syntax, e.g. 'email:someone@example.com'.

ParameterTypeDescription
query *stringSearch query
date_fromstringISO 8601 start date
date_tostringISO 8601 end date
limitintegerMax results, Mandrill defaults to 100

get_message_info

Get delivery details and open/click counts for one message.

ParameterTypeDescription
id *stringMandrill message id

get_message_content

Get the stored HTML body of a sent message.

ParameterTypeDescription
id *stringMandrill message id

list_scheduled_messages

List messages that are scheduled but not sent yet.

ParameterTypeDescription
tostringOnly messages to this address

cancel_scheduled_message

Cancel a scheduled message. Destructive: the message will not be sent.

ParameterTypeDescription
id *stringMandrill message id

reschedule_message

Move a scheduled message to a new send time.

ParameterTypeDescription
id *stringMandrill message id
send_at *stringNew send time, ISO 8601 with timezone

parse_email

Parse a raw MIME message and return Mandrill's extracted headers, body and attachments.

ParameterTypeDescription
raw_message *stringFull MIME message

add_template

Create a Mandrill template from Handlebars code.

ParameterTypeDescription
code *stringHandlebars template source
name *stringTemplate name
from_emailstringDefault sender address
from_namestringDefault sender name
subjectstringDefault subject
textstringPlain-text part

list_templates

List every template in the account.

get_template

Get one template by name.

ParameterTypeDescription
name *stringTemplate name

update_template

Update a template's code, subject or sender defaults.

ParameterTypeDescription
name *stringTemplate name
codestringNew Handlebars source
from_emailstringDefault sender address
from_namestringDefault sender name
subjectstringDefault subject
textstringPlain-text part

delete_template

Delete a template. Destructive and permanent.

ParameterTypeDescription
name *stringTemplate name

render_template

Render a template with merge vars without sending anything.

ParameterTypeDescription
template_name *stringTemplate name
merge_varsarrayMerge vars: [{name, content}]
template_contentarrayHandlebars replacements: [{name, content}]

publish_template

Publish a template so it can be sent by name.

ParameterTypeDescription
name *stringTemplate name
codestringOptional code to publish with it

ping

Check that the API key works. Returns PONG when it does.

get_user_info

Read the account's reputation and sending quota.

list_senders

List the domains and addresses this account has sent from.

list_tags

List tags with their send, open and click totals.

delete_tag

Delete a tag and its reporting history. Destructive.

ParameterTypeDescription
tag *stringTag name

list_rejects

List addresses Mandrill has rejected, with the reason.

ParameterTypeDescription
include_expiredbooleanInclude expired rejections

delete_reject

Remove one address from the rejection list so it can be mailed again.

ParameterTypeDescription
email *stringAddress to unblock

list_webhooks

List webhook targets and their delivery counters.

add_webhook

Create a webhook that posts Mandrill events to a URL.

ParameterTypeDescription
url *stringHTTPS endpoint to receive events
descriptionstringHuman label
eventsarrayEvent names, e.g. ['send', 'open', 'hard_bounce']

delete_webhook

Delete a webhook. Destructive: events stop being delivered.

ParameterTypeDescription
id *integerWebhook id

list_inbound_domains

List domains configured to receive inbound mail.

list_inbound_routes

List inbound routing rules, optionally for one domain.

ParameterTypeDescription
domainstringLimit to this domain

add_inbound_domain

Register a domain for inbound mail processing.

ParameterTypeDescription
domain *stringDomain to receive mail for

list_subaccounts

List subaccounts with reputation and status.

add_subaccount

Create a subaccount for separate sending reputation.

ParameterTypeDescription
id *stringUnique subaccount id
namestringDisplay name
notesstringFree-form notes

list_urls

List tracked URLs and their click totals.

list_exports

List activity export jobs.

list_metadata

List custom metadata fields defined on the account.