home / mcp / cakemail mcp server
Provides enterprise-ready MCP capabilities to manage templates, contacts, campaigns, lists, transactional emails, and reporting via the Cakemail API.
Configuration
View docs{
"mcpServers": {
"cakemail-cakemail-mcp-server": {
"command": "node",
"args": [
"/absolute/path/to/cakemail-mcp-server/build/index.js"
],
"env": {
"CAKEMAIL_BASE_URL": "https://api.cakemail.dev",
"CAKEMAIL_PASSWORD": "your-password",
"CAKEMAIL_USERNAME": "[email protected]"
}
}
}
}You can run and connect to the Cakemail MCP Server to manage templates, contacts, campaigns, lists, transactional emails, sub-accounts, and rich analytics from an MCP-compatible client. This server provides enterprise-grade features with a focus on OpenAPI-compliant templates, BEEeditor integration, and robust production readiness.
You use an MCP client to interact with the Cakemail MCP Server through a local stdio-based runtime. Start the server in your environment, then configure your MCP client to point at the local process. The server exposes a comprehensive set of capabilities across templates, contacts, campaigns, lists, transactional emails, sub-accounts, and analytics. Use natural language commands in your MCP client to create, update, render, or query resources, and leverage the editor integrations for visual design where available.
Prerequisites: Node.js 18 or higher and a Cakemail account with API access. You will also use Claude Desktop or another MCP-compatible client to connect.
Configure your environment with your Cakemail credentials and base API URL, then set up your MCP client to load the server as a local stdio process.
Create, render, and manage templates, manage contacts and lists, build and send campaigns, handle transactional emails, and access rich reporting and analytics. Use the MCP clientβs natural language commands to perform common workflows, such as creating a new template, rendering a preview, listing campaigns, or exporting campaign analytics.
Review the security posture: OAuth 2.0 authentication with automatic token refresh, input validation, and HTTPS-only API communication. Manage credentials via environment variables and rotate them if needed. If you encounter authentication or connectivity issues, verify credentials, restart the MCP client, and test API connectivity from the MCP client with the provided health/status commands.
Use the built-in test and inspector commands in your MCP client to validate connectivity, verify template rendering, and ensure end-to-end flow through campaigns and reports.
# Prerequisites
node --version
# Install dependencies
npm install
# Build the project
npm run build
# Run (example inline; actual startup is provided via the MCP runtime)
npm run start{
"mcpServers": {
"cakemail": {
"command": "node",
"args": ["/absolute/path/to/cakemail-mcp-server/build/index.js"],
"env": {
"CAKEMAIL_USERNAME": "[email protected]",
"CAKEMAIL_PASSWORD": "your-password",
"CAKEMAIL_BASE_URL": "https://api.cakemail.dev"
}
}
}
}After you start the MCP server, verify health status in your MCP client and perform a quick connectivity check to ensure the server is reachable and responsive.
Create, update, delete, list, get, duplicate, render, and search templates with OpenAPI-compliant content structures and legacy compatibility.
Create, update, delete contacts with custom fields, list by lists, advanced segmentation, and engagement metrics.
Create, update, list, delete campaigns; send campaigns to lists; schedule, test, render, and track performance; BEEeditor integration.
Create, update, delete lists; list with filtering; get details and statistics; archive with data preservation; analytics.
Send transactional emails; track delivery; render previews; access detailed activity logs and statistics.
Manage sub-accounts with multi-tenant support, suspension, organization conversion, and advanced search.
Modular reports, campaign analytics, email statistics, list/account analytics, export management, smart insights, and debugging tools.
Campaign activity logs, workflow logs, delivery logs, and smart filtering for events.
Manage verified senders with status checks and authentication support.
Create basic BEEeditor templates, generate newsletters with sections, validate BEE templates, and drag-and-drop design.
Get current account details, view retry configurations, and monitor health.
Health monitoring, OAuth 2.0 with token refresh, retry/backoff, rate limiting, and queuing.