MCPサーバー

Emailens MCP

io.github.emailens/mcp

このMCPでできること

Analyzes, audits, previews, compares, and fixes HTML-based email designs for cross-client compatibility, accessibility, spam, and deliverability.

analyze_email
Analyze Email
Quick CSS compatibility analysis , returns warnings and per-client scores.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format for framework-specific fix snippets'}}}
audit_email
Audit Email
Comprehensive quality audit , CSS compatibility, spam, links, accessibility, images, inbox preview, size, templates, content overflow, visual bugs.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code'}, 'skip': {'type': 'array', 'items': {'enum': ['spam', 'links', 'accessibility', 'images', 'compatibility', 'inboxPreview', 'size', 'templateVariables', 'overflow', 'visual'], 'type': 'string'}, 'description': 'Checks to skip'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format'}}}
build_email
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.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['intent'], 'properties': {'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': "Output framework: 'html' (default), 'jsx', 'mjml', or 'maizzle'"}, 'intent': {'type': 'string', 'description': 'What the email should be and contain , the brief to build from'}, 'seedHtml': {'type': 'string', 'description': 'Optional existing code to improve from instead of starting blank'}, 'threshold': {'type': 'number', 'description': 'Target compatibility score, 50-100 (default 90)'}, 'maxIterations': {'type': 'number', 'description': 'Max repair rounds, 1-8 (default 5)'}}}
check_deliverability
Check Deliverability
Check email deliverability for a domain , SPF, DKIM, DMARC, MX, BIMI.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['domain'], 'properties': {'domain': {'type': 'string', 'pattern': '^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$', 'minLength': 3, 'description': "Domain to check (e.g. 'company.com')"}}}
diff_emails
Diff Emails
Compare two email HTML versions , shows score changes, fixed issues, and regressions per client.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['before', 'after'], 'properties': {'after': {'type': 'string', 'description': 'Modified email HTML'}, 'before': {'type': 'string', 'description': 'Original email HTML'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format'}}}
fix_email
Fix Email
Generate a structured fix prompt for email compatibility issues.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code to fix'}, 'scope': {'enum': ['all', 'current'], 'type': 'string', 'description': 'Fix scope'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format , controls fix syntax'}, 'selectedClientId': {'type': 'string', 'description': 'Client ID for scoped fixes'}}}
get_build_status
Get Build Status
Check a build_email run by runId , returns status, iteration, best compatibility score, and the current best source once available.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['runId'], 'properties': {'runId': {'type': 'string', 'description': 'The runId returned by build_email'}}}
list_clients
List Email 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', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
preview_email
Preview Email
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', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': "Input format: 'html' (default), 'jsx', 'mjml', or 'maizzle'"}, 'clients': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Optional client ID filter'}}}
追加
get_build_status
2026年9月17日12:41
追加
build_email
2026年9月17日12:41
追加
check_deliverability
2026年9月17日12:41
追加
diff_emails
2026年9月17日12:41
追加
list_clients
2026年9月17日12:41
追加
fix_email
2026年9月17日12:41
追加
audit_email
2026年9月17日12:41
追加
analyze_email
2026年9月17日12:41
追加
preview_email
2026年9月17日12:41