Emailens MCP

Analyze, audit, fix and diff HTML, MJML, Maizzle and React Email across 21 email clients.

使うべきか

品質と安全性

A
説明の品質
96%
スキーマの完全性
93%
命名の品質
89%
ポイズニングのリスク
80%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(2)

  • HIGHTool poisoning patterns detected
  • INFOTool description contains placeholder or incomplete textaudit_email 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~3,425トークン数(ツール定義)
~1.6 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 2.68%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "@emailens/mcp"
      ]
    }
  }
}

実行可能なパッケージ

npm@emailens/mcp0.16.0stdio

リモートエンドポイント

https://emailens.dev/api/mcpstreamable-http

できること

ツール一覧

ツール(15)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢preview_email(html, clients, format, targetingPolicy)

Full email compatibility preview , transforms HTML for 21 email clients, analyzes CSS, generates scores, simulates dark mode, checks inbox preview and email size.

入力スキーマ

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "The email HTML source code"
    },
    "clients": {
      "description": "Optional client ID filter",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "format": {
      "description": "Source format: 'html' (default), 'jsx' (React Email), 'mjml', or 'maizzle' (HTML template or Vue single-file component). Anything but 'html' is compiled before analysis and sets the syntax of the fix snippets. A pasted Vue file with no format is compiled as maizzle.",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    },
    "targetingPolicy": {
      "description": "'progressive' (default) suppresses compatibility false-positives inside client-targeted scopes and only flags deprecated or dangerous hacks. 'strict' treats targeting as non-standard and reports every hack. 'lenient' suppresses false positives and ignores non-fatal targeting warnings.",
      "type": "string",
      "enum": [
        "progressive",
        "strict",
        "lenient"
      ]
    }
  },
  "required": [
    "html"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢analyze_email(html, format, detail, clients, targetingPolicy)

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. Narrow with clients, or pass detail:'full' for the per-client breakdown with fix snippets. Use audit_email for a full quality report (spam, links, a11y, images, etc.).

入力スキーマ

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "The email source"
    },
    "format": {
      "description": "Source format: 'html' (default), 'jsx' (React Email), 'mjml', or 'maizzle' (HTML template or Vue single-file component). Anything but 'html' is compiled before analysis and sets the syntax of the fix snippets. A pasted Vue file with no format is compiled as maizzle.",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    },
    "detail": {
      "description": "'summary' (default) returns one entry per error or warning, listing the clients it affects, and only counts info findings (safe fallbacks). 'full' returns one entry per client with fix snippets, info included.",
      "type": "string",
      "enum": [
        "summary",
        "full"
      ]
    },
    "clients": {
      "description": "Only report these client IDs (e.g. ['gmail-web','outlook-windows']). The fastest way to cut the response when you care about specific clients. Use list_clients for the IDs.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "targetingPolicy": {
      "description": "'progressive' (default) suppresses compatibility false-positives inside client-targeted scopes and only flags deprecated or dangerous hacks. 'strict' treats targeting as non-standard and reports every hack. 'lenient' suppresses false positives and ignores non-fatal targeting warnings.",
      "type": "string",
      "enum": [
        "progressive",
        "strict",
        "lenient"
      ]
    }
  },
  "required": [
    "html"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢audit_email(html, format, skip, detail, clients, ...)

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, corners, gradients, VML fallbacks or images. Comprehensive email quality audit: CSS compatibility, spam scoring, link validation, accessibility, images, inbox preview, size (Gmail clipping), template variables, content overflow, visual fallbacks, dark-mode and mobile text contrast, design consistency, structural faults in Outlook-only VML, style survival (CSS a client parses and then discards, such as a stylesheet past Gmail's 16 KB ceiling or every rule after a `}}`), and client targeting (HowToTarget hacks such as Gmail u+.body or MSO conditionals). For HTML input, findings tied to a specific element carry loc (line, column, offset). Compatibility is collapsed to one finding per problem listing the clients it affects; pass detail:'full' for the per-client breakdown with fix snippets. Use skip to omit checks, targetingPolicy to change how targeted scopes affect scores, and clients to narrow which clients are reported.

入力スキーマ

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "The email source"
    },
    "format": {
      "description": "Source format: 'html' (default), 'jsx' (React Email), 'mjml', or 'maizzle' (HTML template or Vue single-file component). Anything but 'html' is compiled before analysis and sets the syntax of the fix snippets. A pasted Vue file with no format is compiled as maizzle.",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    },
    "skip": {
      "description": "Checks to skip (e.g. ['spam', 'images'])",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "spam",
          "links",
          "accessibility",
          "images",
          "compatibility",
          "inboxPreview",
          "size",
          "templateVariables",
          "overflow",
          "visual",
          "darkContrast",
          "mobileContrast",
          "design",
          "vml",
          "styleSurvival",
          "targeting"
        ]
      }
    },
    "detail": {
      "description": "'summary' (default) returns one entry per error or warning, listing the clients it affects, and only counts info findings (safe fallbacks). 'full' returns one entry per client with fix snippets, info included.",
      "type": "string",
      "enum": [
        "summary",
        "full"
      ]
    },
    "clients": {
      "description": "Only report these client IDs (e.g. ['gmail-web','outlook-windows']). The fastest way to cut the response when you care about specific clients. Use list_clients for the IDs.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "targetingPolicy": {
      "description": "'progressive' (default) suppresses compatibility false-positives inside client-targeted scopes and only flags deprecated or dangerous hacks. 'strict' treats targeting as non-standard and reports every hack. 'lenient' suppresses false positives and ignores non-fatal targeting warnings.",
      "type": "string",
      "enum": [
        "progressive",
        "strict",
        "lenient"
      ]
    },
    "emailType": {
      "description": "'transactional' (receipts, password resets, codes, alerts: no unsubscribe link required) or 'marketing'. Omitted: guessed from the content, which misses many transactional emails.",
      "type": "string",
      "enum": [
        "marketing",
        "transactional"
      ]
    },
    "previousHtml": {
      "description": "The design to hold this version to, usually your first draft. Omitted: the first version of this email you audited recently (matched by <title> and text).",
      "type": "string"
    }
  },
  "required": [
    "html"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fix_email(html, format, scope, selectedClientId)

Generate a structured fix prompt for email compatibility issues.

入力スキーマ

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "The email HTML source code to fix"
    },
    "format": {
      "description": "Input format , controls fix syntax",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    },
    "scope": {
      "description": "Fix scope",
      "type": "string",
      "enum": [
        "all",
        "current"
      ]
    },
    "selectedClientId": {
      "description": "Client ID for scoped fixes",
      "type": "string"
    }
  },
  "required": [
    "html"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢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.

入力スキーマ

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢diff_emails(before, after, format)

Compare two email HTML versions , shows score changes, fixed issues, and regressions per client.

入力スキーマ

{
  "type": "object",
  "properties": {
    "before": {
      "type": "string",
      "description": "Original email HTML"
    },
    "after": {
      "type": "string",
      "description": "Modified email HTML"
    },
    "format": {
      "description": "Input format",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    }
  },
  "required": [
    "before",
    "after"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪capture_screenshots(html, format, clients, modes, title)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "The email source"
    },
    "format": {
      "description": "Input format",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    },
    "clients": {
      "description": "Filter to specific client IDs",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "modes": {
      "description": "Screenshot modes (default: ['light'])",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "light",
          "dark"
        ]
      }
    },
    "title": {
      "description": "Name for the hosted preview",
      "type": "string"
    }
  },
  "required": [
    "html"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡share_preview(html, title, format)

Create a shareable link for an email preview. Recipients see the full analysis without needing an account. Requires the Dev plan or above.

入力スキーマ

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "The email source"
    },
    "title": {
      "description": "Display title for the share page",
      "type": "string"
    },
    "format": {
      "description": "Input format",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    }
  },
  "required": [
    "html"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢check_deliverability(domain)

Check email deliverability for a domain , SPF, DKIM, DMARC, MX, BIMI.

入力スキーマ

{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "minLength": 3,
      "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
      "description": "Domain to check (e.g. 'company.com')"
    }
  },
  "required": [
    "domain"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢build_email(intent, format, seedHtml, threshold, maxIterations)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "intent": {
      "type": "string",
      "description": "What the email should be and contain , the brief to build from"
    },
    "format": {
      "description": "Output framework: 'html' (default), 'jsx', 'mjml', or 'maizzle'",
      "type": "string",
      "enum": [
        "html",
        "jsx",
        "mjml",
        "maizzle"
      ]
    },
    "seedHtml": {
      "description": "Optional existing code to improve from instead of starting blank",
      "type": "string"
    },
    "threshold": {
      "description": "Target compatibility score, 50-100 (default 90)",
      "type": "number"
    },
    "maxIterations": {
      "description": "Max repair rounds, 1-8 (default 5)",
      "type": "number"
    }
  },
  "required": [
    "intent"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_build_status(runId)

Check a build_email run by runId , returns status, iteration, best compatibility score, and the current best source once available.

入力スキーマ

{
  "type": "object",
  "properties": {
    "runId": {
      "type": "string",
      "description": "The runId returned by build_email"
    }
  },
  "required": [
    "runId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡sandbox_get_inbox(name)

Retrieve or auto-create your Emailens sandbox test email address for capturing test emails.

入力スキーマ

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Optional friendly name for the sandbox inbox",
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢sandbox_list_messages(inboxId)

List recently captured test emails in the Emailens sandbox.

入力スキーマ

{
  "type": "object",
  "properties": {
    "inboxId": {
      "description": "Optional inbox ID filter",
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢sandbox_wait_for_email(inboxId, subject, sender, timeoutSeconds)

Poll and wait for a matching incoming test email in the sandbox (ideal for auth OTPs, magic links, transactional email assertions).

入力スキーマ

{
  "type": "object",
  "properties": {
    "inboxId": {
      "description": "Optional inbox ID filter",
      "type": "string"
    },
    "subject": {
      "description": "Substring match for email subject (case-insensitive)",
      "type": "string"
    },
    "sender": {
      "description": "Substring match for sender address (case-insensitive)",
      "type": "string"
    },
    "timeoutSeconds": {
      "description": "Max seconds to wait (default: 30, max: 60)",
      "type": "number"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢sandbox_get_message(messageId)

Get complete email details: HTML/text body, parsed headers, spam score, SPF/DKIM/DMARC auth status, and validated links.

入力スキーマ

{
  "type": "object",
  "properties": {
    "messageId": {
      "type": "string",
      "description": "ID of the sandbox message"
    }
  },
  "required": [
    "messageId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 15 件
検証済みバージョンは記録されていませんツール 15 件
検証済みバージョンは記録されていませんツール 13 件
検証済みバージョンは記録されていませんツール 13 件
検証済みバージョンは記録されていませんツール 9 件
検証済みバージョンは記録されていませんツール 9 件
検証済みバージョンは記録されていませんツール 9 件