Ecomail MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Ecomail MCP Server
A Model Context Protocol (MCP) server for Ecomail — the email marketing platform. Manage lists, subscribers, campaigns, automations, transactional emails, e-commerce transactions, templates, domains, and more — directly from any MCP client like Claude Desktop, Cursor, or Claude Code.
Features
Lists — View, create, update lists. Get subscribers, subscribe/unsubscribe, bulk subscribe, manage segments.
Subscribers — Get subscriber details globally, delete subscribers, search contacts across all lists.
Campaigns — List, create, update, send campaigns. Get aggregate and per-subscriber stats, segment stats.
Automations — List automations, trigger for subscribers, get aggregate and detailed stats.
Transactional Emails — Send transactional emails with custom content or templates. View stats and double opt-in stats.
Transactions — Create, update, delete e-commerce transactions. Bulk create/delete. Get paginated transactions.
Templates — Create and retrieve email templates.
Domains — List, create, and delete sending domains.
Feeds — Refresh product and data feeds.
Tracker Events — Track custom subscriber events server-side.
Discount Coupons — Import and delete coupon codes.
Webhooks — Set, get, and delete webhook URL for campaign stats.
Related MCP server: maacgo-email
Setup
Log in to your Ecomail account
Go to Manage your account > For developers
Click Copy API Key
Usage
Claude Code
claude mcp add ecomail -e ECOMAIL_API_KEY=your_api_key -- npx -y ecomail-mcpCursor
Open the command palette and choose "Cursor Settings" > "MCP" > "Add new global MCP server".
{
"mcpServers": {
"ecomail": {
"command": "npx",
"args": ["-y", "ecomail-mcp"],
"env": {
"ECOMAIL_API_KEY": "your_api_key"
}
}
}
}Claude Desktop
Open Claude Desktop settings > "Developer" tab > "Edit Config".
{
"mcpServers": {
"ecomail": {
"command": "npx",
"args": ["-y", "ecomail-mcp"],
"env": {
"ECOMAIL_API_KEY": "your_api_key"
}
}
}
}Options
--key: Your Ecomail API key (alternative toECOMAIL_API_KEYenv var)
Environment variables:
ECOMAIL_API_KEY: Your Ecomail API key (required)
Available Tools
Lists
Tool | Description |
| View all subscriber lists |
| Create a new subscriber list |
| Show list detail with custom fields, groups, segments, and subscriber counts |
| Update an existing list |
| Get paginated subscribers from a list |
| Get a subscriber by email from a list |
| Get a subscriber by phone from a list |
| Add a new subscriber to a list |
| Add up to 3000 subscribers at once |
| Unsubscribe from a list |
| Update subscriber data in a list |
| Get all segments for a list |
Subscribers
Tool | Description |
| Get subscriber details globally across all lists |
| Permanently delete a subscriber |
| Search for a subscriber by email across the account |
Campaigns
Tool | Description |
| List campaigns with filtering |
| Create a new campaign (draft) |
| Get campaign detail with stats |
| Update a draft campaign |
| Queue campaign for immediate sending |
| Get aggregate campaign statistics |
| Get per-subscriber campaign statistics |
| Get segment performance across campaigns |
Automations
Tool | Description |
| List all automations |
| Trigger automation for a subscriber |
| Get aggregate automation statistics |
| Get per-subscriber automation statistics |
| Get stats for specific emails in an automation |
Transactional Emails
Tool | Description |
| Send transactional email with custom content |
| Send transactional email using a template |
| Get transactional email stats (6 months) |
| Get double opt-in email stats (6 months) |
Transactions
Tool | Description |
| Create an e-commerce transaction |
| Create up to 1000 transactions at once |
| Get paginated transactions with filters |
| Overwrite an existing transaction |
| Delete a transaction by order ID |
| Delete up to 1000 transactions at once |
Templates
Tool | Description |
| Create a new email template |
| Get template by ID with HTML content |
Domains
Tool | Description |
| List all domains |
| Add a new domain |
| Remove a domain |
Feeds
Tool | Description |
| Trigger product feed refresh |
| Trigger data feed refresh |
Tracker Events
Tool | Description |
| Track a custom event for a subscriber |
Discount Coupons
Tool | Description |
| Import coupon codes |
| Delete coupon codes |
Webhooks
Tool | Description |
| Set webhook URL for campaign stats |
| Get current webhook URL |
| Remove webhook URL |
Local Development
Clone and build:
git clone <repo-url>
cd ecomail-mcp
pnpm install
pnpm run buildUse the local build in your MCP client:
{
"mcpServers": {
"ecomail": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_PROJECT/dist/index.js"],
"env": {
"ECOMAIL_API_KEY": "your_api_key"
}
}
}
}Testing with MCP Inspector
Set your API key:
export ECOMAIL_API_KEY=your_key_hereStart the inspector:
pnpm inspectorIn the browser (Inspector UI):
Choose stdio (launch a process).
Command:
nodeArgs:
dist/index.jsEnv:
ECOMAIL_API_KEY=your_key_hereClick Connect, then use "List tools" to verify the server is working.
Resources
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Send transactional email and manage domains, audiences, and broadcasts from any MCP client.
Read lists, contacts, campaign stats; add contacts; draft, schedule and send campaigns and SMS.
Ecommerce email MCP for Shopify/Woo — campaigns, automations, popups, analytics. OAuth.
Send email and read templates, marketing contacts, lists, stats, bounces and unsubscribes.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables agents to create and manage durable email workflows, templates, contacts, and enrollments over MCP.2AGPL 3.0- AlicenseNot gradedqualityCmaintenanceEnables sending transactional email and campaigns, managing contacts and templates, and reading delivery reports and wallet usage from any MCP client.MIT
- AlicenseNot gradedqualityBmaintenanceEnables authenticated management of email, drafts, sending, domains, contacts, templates, campaigns, workflows, and webhooks through typed MCP tools backed by a REST API.MIT
- AlicenseNot gradedqualityBmaintenanceEnables users to search, read, and create ecommerce email marketing assets such as campaigns, automations, popups, and landing pages, manage sending-domain setup, and with confirmation schedule/send campaigns or publish/pause assets.MIT