MCP Server
Use Emailens with Claude Desktop, Claude Code, Cursor, and other MCP-compatible AI assistants.
Emailens provides an MCP (Model Context Protocol) server with 9 tools for email compatibility analysis, fixing, and previewing — directly inside your AI assistant.
7 tools run locally (no account needed). 2 hosted tools unlock screenshots and sharing with an optional API key.
What you can do
With the MCP server connected, you can ask your AI:
- "Analyze this email and tell me what breaks in Gmail and Outlook"
- "Fix the compatibility issues for all clients"
- "Compare the original and fixed versions — did the scores improve?"
- "Run a full audit — spam, links, accessibility, everything"
- "Check if company.com has SPF and DMARC set up"
- "Take screenshots of this email across all clients"
- "Create a shareable link so my team can see the results"
Your AI calls the appropriate Emailens tools and returns structured results.
Tools overview
Local tools (no account needed)
| Tool | Description |
|---|---|
preview_email | Full preview — transforms, scores, dark mode, inbox preview, size check |
analyze_email | Quick CSS compatibility analysis with per-client scores |
audit_email | Comprehensive audit — spam, links, a11y, images, inbox, size, templates |
fix_email | Generate fix prompts the AI can apply directly |
diff_emails | Compare before/after — score changes per client |
check_deliverability | SPF, DKIM, DMARC, MX, BIMI checks |
list_clients | List all 15 supported email clients |
Hosted tools (require API key)
| Tool | Description |
|---|---|
capture_screenshots | Real browser screenshots across 15 clients |
share_preview | Shareable preview links (Dev plan required) |
Set EMAILENS_API_KEY to unlock hosted tools. Free plan includes 30 previews/day. See Setup for configuration.
Two ways to connect
Local (npm) — Install via npx -y @emailens/mcp. Runs on your machine. All 9 tools available (7 local + 2 hosted with API key). Works offline.
Remote (URL) — Point your MCP client to https://emailens.dev/api/mcp. No install needed. 7 analysis tools, API key required.
Get started
See Setup for installation instructions, or jump to the Tools reference for detailed parameters.