Back to Templates

Complete Mandrill Email API Integration for AI Tools (90 Operations)

Created by

Created by: David Ashby || cfomodz

David Ashby

Last update

Last update 2 days ago

Share


⚠️ ADVANCED USE ONLY - Mandrill MCP Server (90 operations)

🚨 This workflow is for advanced users only!

This MCP server contains 90 operations which is significantly more than the recommended maximum of tools for most AI clients.

🔍 Recommended Alternative for basic use cases

Seek a simplified MCP server that utilizes the official n8n tool implementation for Mandrill if available, or an MCP server with only common operations as it will be more efficient and easier to manage.

🛠️ Advanced Usage Requirements

BEFORE adding this MCP server to your client:

Disable or delete unused nodes - Review sections and disable/delete those you don't need

AFTER adding the MCP server to your client:
1.Selective tool enabling - Instead of enabling all tools (default), manually select only the specific tools you need for that Workflow's MCP client.
2. Monitor performance - Too many tools can slow down AI responses

💡 Pro Tips

Keep maximum 40 enabled tools - Most AI clients perform better with fewer tools

  • Group related operations and only enable one group at a time

  • Use the overview note to understand what each operation group does

  • Ping me on discord if your business needs this implemented professionally

⚡ Quick Setup

  1. Import this workflow into your n8n instance
  2. Credentials Add Mandrill credentials
  3. Activate the workflow to start your MCP server
  4. Copy the webhook URL from the MCP trigger node
  5. Connect AI agents using the MCP URL

🔧 How it Works

This workflow converts the Mandrill API into an MCP-compatible interface for AI agents.

MCP Trigger: Serves as your server endpoint for AI agent requests
HTTP Request Nodes: Handle API calls to https://mandrillapp.com/api/1.0/
AI Expressions: Automatically populate parameters via $fromAI() placeholders
Native Integration: Returns responses directly to the AI agent

📋 Available Operations (90 total)

🔧 Exports (5 endpoints)

POST /exports/activity.json: Create Export 5
POST /exports/info.json: Create Export 6
POST /exports/list.json: Create Export 7
POST /exports/rejects.json: Create Export 8
POST /exports/whitelist.json: Create Export 9

🔧 Inbound (9 endpoints)

POST /inbound/add-domain.json: Create Inbound 9
POST /inbound/add-route.json: Create Inbound 10
POST /inbound/check-domain.json: Create Inbound 11
POST /inbound/delete-domain.json: Create Inbound 12
POST /inbound/delete-route.json: Create Inbound 13
POST /inbound/domains.json: Create Inbound 14
POST /inbound/routes.json: Create Inbound 15
POST /inbound/send-raw.json: Create Inbound 16
POST /inbound/update-route.json: Create Inbound 17

🔧 Ips (13 endpoints)

POST /ips/cancel-warmup.json: Create Ip 13
POST /ips/check-custom-dns.json: Create Ip 14
POST /ips/create-pool.json: Create Ip 15
POST /ips/delete-pool.json: Create Ip 16
POST /ips/delete.json: Create Ip 17
POST /ips/info.json: Create Ip 18
POST /ips/list-pools.json: Create Ip 19
POST /ips/list.json: Create Ip 20
POST /ips/pool-info.json: Create Ip 21
POST /ips/provision.json: Create Ip 22
POST /ips/set-custom-dns.json: Create Ip 23
POST /ips/set-pool.json: Create Ip 24
POST /ips/start-warmup.json: Create Ip 25

🔧 Messages (11 endpoints)

POST /messages/cancel-scheduled.json: Create Message 11
POST /messages/content.json: Create Message 12
POST /messages/info.json: Create Message 13
POST /messages/list-scheduled.json: Create Message 14
POST /messages/parse.json: Create Message 15
POST /messages/reschedule.json: Create Message 16
POST /messages/search-time-series.json: Create Message 17
POST /messages/search.json: Create Message 18
POST /messages/send-raw.json: Create Message 19
POST /messages/send-template.json: Create Message 20
POST /messages/send.json: Create Message 21

🔧 Metadata (4 endpoints)

POST /metadata/add.json: Create Metadata 4
POST /metadata/delete.json: Create Metadata 5
POST /metadata/list.json: Create Metadata 6
POST /metadata/update.json: Create Metadata 7

🔧 Rejects (3 endpoints)

POST /rejects/add.json: Create Reject 3
POST /rejects/delete.json: Create Reject 4
POST /rejects/list.json: Create Reject 5

🔧 Senders (7 endpoints)

POST /senders/add-domain.json: Create Sender 7
POST /senders/check-domain.json: Create Sender 8
POST /senders/domains.json: Create Sender 9
POST /senders/info.json: Create Sender 10
POST /senders/list.json: Create Sender 11
POST /senders/time-series.json: Create Sender 12
POST /senders/verify-domain.json: Create Sender 13

🔧 Subaccounts (7 endpoints)

POST /subaccounts/add.json: Create Subaccount 7
POST /subaccounts/delete.json: Create Subaccount 8
POST /subaccounts/info.json: Create Subaccount 9
POST /subaccounts/list.json: Create Subaccount 10
POST /subaccounts/pause.json: Create Subaccount 11
POST /subaccounts/resume.json: Create Subaccount 12
POST /subaccounts/update.json: Create Subaccount 13

🔧 Tags (5 endpoints)

POST /tags/all-time-series.json: Create Tag 5
POST /tags/delete.json: Create Tag 6
POST /tags/info.json: Create Tag 7
POST /tags/list.json: Create Tag 8
POST /tags/time-series.json: Create Tag 9

🔧 Templates (8 endpoints)

POST /templates/add.json: Create Template 8
POST /templates/delete.json: Create Template 9
POST /templates/info.json: Create Template 10
POST /templates/list.json: Create Template 11
POST /templates/publish.json: Create Template 12
POST /templates/render.json: Create Template 13
POST /templates/time-series.json: Create Template 14
POST /templates/update.json: Create Template 15

🔧 Urls (6 endpoints)

POST /urls/add-tracking-domain.json: Create Url 6
POST /urls/check-tracking-domain.json: Create Url 7
POST /urls/list.json: Create Url 8
POST /urls/search.json: Create Url 9
POST /urls/time-series.json: Create Url 10
POST /urls/tracking-domains.json: Create Url 11

🔧 Users (4 endpoints)

POST /users/info.json: Create User 4
POST /users/ping.json: Create User 5
POST /users/ping2.json: Create User 6
POST /users/senders.json: Create User 7

🔧 Webhooks (5 endpoints)

POST /webhooks/add.json: Create Webhook 5
POST /webhooks/delete.json: Create Webhook 6
POST /webhooks/info.json: Create Webhook 7
POST /webhooks/list.json: Create Webhook 8
POST /webhooks/update.json: Create Webhook 9

🔧 Whitelists (3 endpoints)

POST /whitelists/add.json: Create Whitelist 3
POST /whitelists/delete.json: Create Whitelist 4
POST /whitelists/list.json: Create Whitelist 5

🤖 AI Integration

Parameter Handling: AI agents automatically provide values for:
• Path parameters and identifiers
• Query parameters and filters
• Request body data
• Headers and authentication

Response Format: Native Mandrill API responses with full data structure

Error Handling: Built-in n8n HTTP request error management

💡 Usage Examples

Connect this MCP server to any AI agent or workflow:

Claude Desktop: Add MCP server URL to configuration
Cursor: Add MCP server SSE URL to configuration
Custom AI Apps: Use MCP URL as tool endpoint
API Integration: Direct HTTP calls to MCP endpoints

✨ Benefits

Zero Setup: No parameter mapping or configuration needed
AI-Ready: Built-in $fromAI() expressions for all parameters
Production Ready: Native n8n HTTP request handling and logging
Extensible: Easily modify or add custom logic

🆓 Free for community use! Ready to deploy in under 2 minutes.