mandrill-mcp
v1.0.0MCP 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.
| Parameter | Type | Description |
|---|---|---|
from_email * | string | Verified sending address |
subject * | string | Subject line |
to * | array | Recipients |
from_name | string | Sender display name |
html | string | HTML body |
important | boolean | Mark the message as important |
tags | array | Tags for reporting |
text | string | Plain-text body (auto-generated when omitted) |
track_clicks | boolean | Track clicks |
track_opens | boolean | Track opens |
send_template_email
Send an email rendered from a stored Mandrill template.
| Parameter | Type | Description |
|---|---|---|
from_email * | string | Verified sending address |
template_name * | string | Template slug |
to * | array | Recipients |
from_name | string | Sender display name |
merge_vars | array | Per-recipient merge vars: [{rcpt: 'a@b.c', vars: [{name, content}]}] |
subject | string | Override the template subject |
template_content | array | Handlebars replacements: [{name, content}] |
send_raw_email
Send a pre-built MIME message through Mandrill.
| Parameter | Type | Description |
|---|---|---|
from_email * | string | Verified sending address |
raw_message * | string | Full MIME message, including headers |
to * | array | Recipient addresses |
from_name | string | Sender display name |
subject | string | Subject override |
search_messages
Search sent messages by Mandrill's search syntax, e.g. 'email:someone@example.com'.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query |
date_from | string | ISO 8601 start date |
date_to | string | ISO 8601 end date |
limit | integer | Max results, Mandrill defaults to 100 |
get_message_info
Get delivery details and open/click counts for one message.
| Parameter | Type | Description |
|---|---|---|
id * | string | Mandrill message id |
get_message_content
Get the stored HTML body of a sent message.
| Parameter | Type | Description |
|---|---|---|
id * | string | Mandrill message id |
list_scheduled_messages
List messages that are scheduled but not sent yet.
| Parameter | Type | Description |
|---|---|---|
to | string | Only messages to this address |
cancel_scheduled_message
Cancel a scheduled message. Destructive: the message will not be sent.
| Parameter | Type | Description |
|---|---|---|
id * | string | Mandrill message id |
reschedule_message
Move a scheduled message to a new send time.
| Parameter | Type | Description |
|---|---|---|
id * | string | Mandrill message id |
send_at * | string | New send time, ISO 8601 with timezone |
parse_email
Parse a raw MIME message and return Mandrill's extracted headers, body and attachments.
| Parameter | Type | Description |
|---|---|---|
raw_message * | string | Full MIME message |
add_template
Create a Mandrill template from Handlebars code.
| Parameter | Type | Description |
|---|---|---|
code * | string | Handlebars template source |
name * | string | Template name |
from_email | string | Default sender address |
from_name | string | Default sender name |
subject | string | Default subject |
text | string | Plain-text part |
list_templates
List every template in the account.
get_template
Get one template by name.
| Parameter | Type | Description |
|---|---|---|
name * | string | Template name |
update_template
Update a template's code, subject or sender defaults.
| Parameter | Type | Description |
|---|---|---|
name * | string | Template name |
code | string | New Handlebars source |
from_email | string | Default sender address |
from_name | string | Default sender name |
subject | string | Default subject |
text | string | Plain-text part |
delete_template
Delete a template. Destructive and permanent.
| Parameter | Type | Description |
|---|---|---|
name * | string | Template name |
render_template
Render a template with merge vars without sending anything.
| Parameter | Type | Description |
|---|---|---|
template_name * | string | Template name |
merge_vars | array | Merge vars: [{name, content}] |
template_content | array | Handlebars replacements: [{name, content}] |
publish_template
Publish a template so it can be sent by name.
| Parameter | Type | Description |
|---|---|---|
name * | string | Template name |
code | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Tag name |
list_rejects
List addresses Mandrill has rejected, with the reason.
| Parameter | Type | Description |
|---|---|---|
include_expired | boolean | Include expired rejections |
delete_reject
Remove one address from the rejection list so it can be mailed again.
| Parameter | Type | Description |
|---|---|---|
email * | string | Address to unblock |
list_webhooks
List webhook targets and their delivery counters.
add_webhook
Create a webhook that posts Mandrill events to a URL.
| Parameter | Type | Description |
|---|---|---|
url * | string | HTTPS endpoint to receive events |
description | string | Human label |
events | array | Event names, e.g. ['send', 'open', 'hard_bounce'] |
delete_webhook
Delete a webhook. Destructive: events stop being delivered.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Webhook id |
list_inbound_domains
List domains configured to receive inbound mail.
list_inbound_routes
List inbound routing rules, optionally for one domain.
| Parameter | Type | Description |
|---|---|---|
domain | string | Limit to this domain |
add_inbound_domain
Register a domain for inbound mail processing.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to receive mail for |
list_subaccounts
List subaccounts with reputation and status.
add_subaccount
Create a subaccount for separate sending reputation.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique subaccount id |
name | string | Display name |
notes | string | Free-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.