Mandrill (Mailchimp Transactional) MCP server for AI agents

Live

API KEY

TRANSACTIONAL EMAIL

Communication

Mandrill (Mailchimp Transactional) gives your agent transactional email in your Mandrill account: send messages and template emails, search sent messages, manage templates, domains, and webhooks, and read sender, tag, and template statistics.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Mandrill (Mailchimp Transactional)
agent · Acme Q3
Run
Did the receipt email to sam@example.com go out today?
S
mandrill_messages_search
350ms
Email delivery agent
Found 1 message to sam@example.com sent today, and its state is sent.
Sources: Mandrill message search, 1 message
mandrill
1 message
18:29
Message Claude...

Tools your transactional email agent reaches for on Mandrill (Mailchimp Transactional), scoped per user.

CALL ANY TOOL
61 tools for transactional email in Mandrill: send messages and template emails, search sent messages, manage templates, domains, and webhooks, and read sender, tag, and template statistics.
mandrill_allowlist_add
Add allowlist
Add an address to the allowlist so bounces never denylist it. Returns email and whether it was added.
Parameters
Name
Type
Required
Description
email
string
Required
An email address to add to the allowlist. Example: jane@example.com
comment
string
Optional
An optional description of why the email was added to the allowlist. Example: Requested removal
mandrill_allowlist_delete
Delete allowlist
mandrill_allowlist_list
List allowlist
mandrill_inbound_domain_check
Check inbound domain
mandrill_inbound_route_add
Add inbound route
mandrill_inbound_route_delete
Delete inbound route
mandrill_inbound_route_update
Update inbound route
mandrill_inbound_routes_list
List inbound routes
mandrill_message_content_get
Get message content
mandrill_message_send
Send message
mandrill_message_send_raw
Message send raw
mandrill_messages_search
Search messages
mandrill_reject_add
Add reject
mandrill_reject_delete
Delete reject
mandrill_rejects_list
List rejects
mandrill_scheduled_message_cancel
Cancel scheduled message
mandrill_scheduled_message_reschedule
Scheduled message reschedule
mandrill_sender_domain_verify
Verify sender domain
mandrill_sender_domains_list
List sender domains
mandrill_sender_info_get
Get sender info
mandrill_subaccount_info_get
Get subaccount info
mandrill_subaccounts_list
List subaccounts
mandrill_tag_delete
Delete tag
mandrill_tag_time_series_get
Get tag time series
mandrill_template_add
Add template
mandrill_template_info_get
Get template info
mandrill_template_publish
Publish template
mandrill_templates_list
List templates
mandrill_tracking_domain_check
Check tracking domain
mandrill_user_info_get
Get user info

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Mandrill tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mandrill"], toolNames: [
    "mandrill_message_send_template",
    "mandrill_messages_search",
    "mandrill_message_info_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Send the welcome template to this address, then find the message and show its delivery details" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mandrill"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Send the welcome template to this address, then find the message and show its delivery details" }],
  tools,
});

// Execute the tool call with the user's vaulted Mandrill API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mandrill"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Send the welcome template to this address, then find the message and show its delivery details" }],
  tools,
});

// Tool call runs with the user's vaulted Mandrill API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mandrill"] }, pageSize: 100,
});

const agent = new Agent({
  name: "email_delivery_agent",
  model: "gemini-2.5-pro",
  instruction: "Mandrill tools scoped to this user",
  tools,
});

await agent.run("Send the welcome template to this address, then find the message and show its delivery details");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Mandrill (Mailchimp Transactional) tool. Click to copy, paste into your agent, done.
Send email
Copy the prompt
Copied
Send the welcome template to sam@example.com.
Copy the prompt
Copied
Send a transactional email with this subject and HTML.
Copy the prompt
Copied
Render my welcome template with name set to Sam.
Search and statistics
Copy the prompt
Copied
Search messages sent to sam@example.com this week.
Copy the prompt
Copied
Show hourly statistics for the password-reset tag.
Copy the prompt
Copied
Show the delivery details for this message.
Domains and address lists
Copy the prompt
Copied
Check SPF and DKIM for my sending domain.
Copy the prompt
Copied
List the addresses on the denylist.
Copy the prompt
Copied
Add this address to the allowlist.
SEE HOW AUTH WORKS
Each user connects their own Mandrill API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Mandrill (Mailchimp Transactional)
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Mandrill (Mailchimp Transactional)
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Mandrill (Mailchimp Transactional)
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Mandrill (Mailchimp Transactional)
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other communication connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Support and Ops Teams
Email-to-calendar agent
Reads scheduling intent out of Gmail threads, resolves the times everyone actually has free, and creates the event on the user's own Google Calendar. No shared service account.
Test other agents
See the same per-user auth pattern across other communication connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
OPS
Email-to-calendar scheduling agent
Read scheduling intent out of Gmail threads, resolve mutual free time, and create the Google Calendar event.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Mandrill API key looks fine in a demo. In production every send and template change looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Mandrill today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Mandrill as the user or through a shared key?
As the user. Each user connects their own Mandrill API key once, and Scalekit sends it with every call. Every send, template change, and delete in your audit trail is attributed to that user, not a shared service account.
Where is the Mandrill API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Mandrill?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the search and statistics tools without mandrill_message_send, mandrill_message_send_raw, mandrill_message_send_template, or the delete tools such as mandrill_template_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Mandrill access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent cancel a scheduled message?
Yes. mandrill_scheduled_message_cancel cancels a scheduled message before it is sent, and mandrill_scheduled_message_reschedule changes its send time. mandrill_scheduled_messages_list finds the message first.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""mandrill"": {
""url"": ""https://mcp.scalekit.com/mandrill"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.mandrill]
url = ""https://mcp.scalekit.com/mandrill""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""mandrill"": {
""url"": ""https://mcp.scalekit.com/mandrill"",
""type"": ""http""
}
}
}