email-design-mcp
This 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.
email-design-mcp
An open-source MCP server that enables AI assistants to design and generate professional, responsive email templates.
Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP-compatible client.
Features
Generate emails from natural language - Describe what you want, get production-ready MJML + HTML
Brand memory - Save brand colors, fonts, and tone once, use across all emails
Expert design built-in - Professional spacing, typography, color usage, and CTA patterns enforced automatically
Iterative refinement - Say "make the headline bigger" or "remove the testimonials section" in plain English
Layout variety - 12 layout variants across 4 email types prevent repetitive designs
Live preview - Local preview server with hot reload at
http://localhost:3947Validation - Checks size limits, dark mode, accessibility, links, and more
Export - Get HTML, MJML, or both for any generated email
Guided workflows - MCP prompts walk you through creating welcome, newsletter, promotional, and transactional emails
No API keys needed - Uses the host AI model (Claude, GPT, etc.) for generation
Related MCP server: RuSender MCP
Quick Start
Install
npm install -g email-design-mcpConnect to Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"email-design": {
"command": "email-design-mcp"
}
}
}Connect to Cursor / VS Code
Add to .cursor/mcp.json or VS Code MCP settings:
{
"mcpServers": {
"email-design": {
"command": "npx",
"args": ["email-design-mcp"]
}
}
}Usage
1. Set up your brand (optional but recommended)
Option A — Auto-extract from website:
"Set up a brand from https://acme.com"
The server fetches the site and extracts colors, fonts, logo, and name automatically.
Option B — Manual setup:
"Set up a brand called Acme with primary color #FF6B35, secondary #1A1A2E, casual tone, targeting young professionals"
You can also combine both — provide a URL for auto-extraction and override specific values manually.
2. Generate an email
"Create a welcome email for new subscribers"
The server composes an expert prompt stack with design rules, brand context, and layout instructions. The AI generates MJML, which is compiled to responsive HTML.
3. Refine
"Make the headline bigger and change the button to say 'Start Free Trial'"
Refinements target specific sections without regenerating the whole email. Version history lets you undo changes.
4. Export
"Export the email as HTML"
Get the final HTML or MJML ready to paste into your ESP.
Tools
Tool | Description |
| Save a brand profile (colors, fonts, tone) |
| Generate an email from a natural language prompt |
| Iterate on a generated email with feedback |
| Compile raw MJML to HTML |
| Check email for best practices |
| Export as HTML, MJML, or both |
| Convert a design description to a branded email |
Guided Workflows (MCP Prompts)
These prompts walk you through creating specific email types with smart defaults:
Prompt | Description |
| Welcome email for new subscribers |
| Newsletter with featured content |
| Sale/launch email with urgency |
| Receipt, confirmation, or shipping notification |
Templates
4 bundled MJML templates with placeholder variables:
Welcome - Hero image + intro text + CTA
Newsletter - Featured article + content grid + footer
Promotional - Hero offer + product showcase + urgency
Transactional - Order confirmation with itemized details
Validation Checks
Check | What it verifies |
Email size | Under Gmail's 102KB clipping threshold |
Dark mode |
|
Alt text | All images have meaningful alt attributes |
Links | All |
Unsubscribe | Footer contains unsubscribe link |
Text ratio | Sufficient text relative to images |
Viewport | Mobile viewport meta tag |
Preheader | Hidden preview text for inbox |
Title | HTML title tag present |
Inline styles | Styles inlined for email client compatibility |
Storage
Data is stored at ~/.email-design-mcp/:
~/.email-design-mcp/
brands/ # Brand profiles (JSON)
history/ # Generated email history (JSON)
config.json # Optional config (history retention, preview port)History is automatically cleaned up after 30 days (configurable in config.json).
Development
git clone https://github.com/harikrishna8121999/email-design-mcp.git
cd email-design-mcp
npm install
npm run dev # Watch mode
npm test # Run tests
npm run typecheck # Type check
npm run build # Compile TypeScriptArchitecture
See ARCHITECTURE.md for the full design document.
Stack: TypeScript, Node.js, MJML, Zod, MCP SDK
Key design decisions:
No external AI API calls - the host model does generation
Prompt engineering layer (expert system prompts + design rules + layout variants) is the core differentiator
MJML for email rendering ensures Outlook/Gmail/mobile compatibility
Local JSON storage keeps it simple with no database dependency
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
Design on-brand emails with your AI, preview them in chat, and send through server-side guardrails.
Transactional email for AI agents: templates, domain verify, and sends.
Visual email & layout builder that turns AI assistants into a Temway authoring studio.
AI-native email marketing. Campaigns, automations, transactional, contacts, and analytics.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables creation and management of professional email templates using MJML markup language. Provides compilation to responsive HTML, template generation, validation, and component documentation for building email campaigns.42MIT

RuSender MCPofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to manage email campaigns, contact lists, analytics, A/B tests, and transactional emails through natural language, using OAuth for secure connection.1MIT- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to read, search, send, reply to, forward, draft, schedule, organize, and analyze email across multiple IMAP/SMTP accounts, with labels, real-time inbox watching, verification-code capture, calendar extraction, and OAuth2 support. It also offers customizable presets, static rules, and a guided setup wizard for fast configuration.31 npmISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to search, read, send, reply to, forward, organize, and bulk-delete email across multiple mailboxes via IMAP and SMTP, with connection pooling and AES-256-encrypted credential storage. Supports 15+ pre-configured providers and a web-based setup wizard.1,009 npmMIT