Skip to content
MCP server

Emailens MCP

Audit, fix and preview HTML, MJML, Maizzle and React Email across 21 email clients

Install
Pricing
Freemium
Platforms
CLI, API, Web
Runs
Locally or Remotely
Version
0.16.0
Listing updated
3 days ago

About Emailens MCP

Emailens MCP is a freemium MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

Coding agents write email HTML that looks fine and then breaks in Outlook. The site describes a test in which six agents wrote 120 emails and none passed in all 21 clients; with these tools in the loop the same agents shipped 94. The engine behind them is open source on npm.

Tool replies are kept short on purpose. audit_email takes a file path, reads the file next to the server and lists only what to fix. It also remembers your first draft and reports design removals, such as deleted rounded corners, so a clean score cannot hide a worse email.

Seven tools run locally with no account. Screenshots and share links need an API key from the dashboard.

Install

Run in a terminal

claude mcp add --transport http mcp https://emailens.dev/api/mcp

Add to Settings → Connectors → Add custom connector

https://emailens.dev/api/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://emailens.dev/api/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://emailens.dev/api/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://emailens.dev/api/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://emailens.dev/api/mcp"
    }
  }
}

Configuration

  • EMAILENS_API_KEYAPI key for screenshots and sharing. Get one free at app.emailens.dev/dashboard/api

Tools this server provides (15)

Read directly from the server.

preview_email
Full email compatibility preview , transforms HTML for 21 email clients, analyzes CSS, generates scores, previews dark mode, checks inbox preview and email size.
analyze_email
Fix error and warning findings. Info findings are not problems (the email falls back safely there): never remove responsive (@media) or dark-mode CSS to clear them. Quick CSS compatibility analysis, returns per-client scores and one finding per problem, listing the clients it affects. For HTML input each finding carries loc (line, column, offset) and alsoAtLines, so you can edit the exact source.
audit_email
Fix error and warning findings, and restore anything listed in designRemovals. Info findings are not problems (the email falls back safely there): never remove responsive (@media), dark-mode CSS or rounded corners to clear them. designRemovals compares this version with the first one audited for the same email (or with previousHtml): design the edits deleted, such as @media rules, dark mode, corne
fix_email
Generate a structured fix prompt for email compatibility issues.
list_clients
List all 21 supported email clients with IDs, names, rendering engines, dark mode support, and deprecation status. Use the returned IDs to filter other tools like preview_email or capture_screenshots.
diff_emails
Compare two email HTML versions , shows score changes, fixed issues, and regressions per client.
capture_screenshots
Capture real email screenshots across 21 clients (Gmail, Outlook, Apple Mail, etc.) with light and dark mode variants. Screenshots are rendered in real browsers and hosted on CDN.
share_preview
Create a shareable link for an email preview. Recipients see the full analysis without needing an account. Requires the Dev plan or above.
check_deliverability
Check email deliverability for a domain , SPF, DKIM, DMARC, MX, BIMI.
build_email
Generate a cross-client-compatible email from a brief using Emailens's self-healing loop (generate → score across 21 clients → repair). Output stays in the framework you choose. Returns a runId immediately , poll get_build_status for progress and the final code. Requires a Pro/Team API key.
get_build_status
Check a build_email run by runId , returns status, iteration, best compatibility score, and the current best source once available.
sandbox_get_inbox
Retrieve or auto-create your Emailens sandbox test email address for capturing test emails.
sandbox_list_messages
List recently captured test emails in the Emailens sandbox.
sandbox_wait_for_email
Poll and wait for a matching incoming test email in the sandbox (ideal for auth OTPs, magic links, transactional email assertions).
sandbox_get_message
Get complete email details: HTML/text body, parsed headers, spam score, SPF/DKIM/DMARC auth status, and validated links.

What it does

21-client checks
Scores CSS compatibility against 21 email clients including Outlook and dark mode.
Design-removal warnings
Reports features an edit took away, such as rounded corners.
File-path input
The server reads the file itself so the email stays out of the model's context.
Formats supported
Works with HTML, React Email, MJML and Maizzle.
Local engine
Seven tools run offline with no account or rate limit.
Optional screenshots
An API key adds screenshots and sharing.

Good for

  • Check a generated email before a customer sees it
  • Fix Outlook rendering warnings in a template
  • Compare dark-mode previews of a campaign
  • Gate email sends in CI on the paid plan

Pricing

Freemium, from $9 a month

Free tier; Dev $9/mo; Pro $19/mo

Prices change. Check emailens.dev before you buy.

Emailens MCP FAQ

Do I need an account?

No for the seven local tools; screenshots and sharing use EMAILENS_API_KEY.

What does it cost?

Free covers 30 checks a day; Dev is $9 a month and Pro $19 a month.

Is the engine open source?

The site says the email CSS engine is open source.

Is Emailens MCP free?

Emailens MCP has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.

How do I add Emailens MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://emailens.dev/api/mcp

What are the best alternatives to Emailens MCP?

The closest alternatives to Emailens MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Emailens MCP

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools