inbox-preview
Render HTML/.eml emails in real Gmail, Outlook & Yahoo web clients and screenshot them
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"inbox-preview": {
"url": "https://api.powerline.ai/v1/mcp"
}
}
}リモートエンドポイント
https://api.powerline.ai/v1/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢list_clients
List the email clients this deployment can render right now, with their rendering tier, engine, and capabilities
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡submit_preview(html, eml, subject, include_previews, include_full_page, ...)
Submit an email for rendering across email clients — full HTML, or a complete raw .eml (base64). Provide exactly one of html/eml. Returns a job ID to poll for results.
入力スキーマ
{
"type": "object",
"properties": {
"html": {
"description": "The full email HTML to preview. Provide exactly one of html or eml.",
"type": "string"
},
"eml": {
"description": "A complete raw RFC 822 message (.eml), base64-encoded — inserted verbatim (real headers, multipart, attachments). Max 10MB decoded. Provide exactly one of html or eml.",
"type": "string"
},
"subject": {
"description": "Email subject line",
"type": "string"
},
"include_previews": {
"description": "Also capture the inbox-list row (how the message looks unread in the list) and the subject heading, returned as inbox_preview / subject_preview on each render. Default false: they cost more than the body render itself, so ask only when you need them.",
"type": "boolean"
},
"include_full_page": {
"description": "Also screenshot the whole client window around the opened email (the mailbox UI as well as the message), returned as full_page on each render next to the usual email-only screenshot. Default false. Best-effort: the render mailbox identity and any other mail are masked, and the capture is omitted when that cannot be verified.",
"type": "boolean"
},
"renders": {
"description": "Exactly the renders you want, one entry each (e.g. outlook light + outlook dark are two entries). Omit for the server default: every live client at its default width, light.",
"type": "array",
"items": {
"type": "object",
"properties": {
"client": {
"type": "string",
"enum": [
"gmail",
"outlook",
"yahoo"
],
"description": "Client ID"
},
"viewport_width": {
"description": "Viewport width in pixels (200-2560). Defaults to the client default (1280).",
"type": "number"
},
"color_scheme": {
"description": "Render in the client's light or dark mode (default light). Dark must be supported by the client — check color_schemes in list_clients.",
"type": "string",
"enum": [
"light",
"dark"
]
},
"images_disabled": {
"description": "Render with remote images blocked (default false)",
"type": "boolean"
}
},
"required": [
"client"
]
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_job(job_id)
Get the status and screenshots for a preview job. Poll until status is "completed".
入力スキーマ
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"description": "The job ID returned by submit_preview"
}
},
"required": [
"job_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_screenshot(job_id, client, viewport_width, color_scheme, images_disabled)
Fetch a rendered screenshot. Returns the image URL for the given job, client, width, and environment (color scheme / images).
入力スキーマ
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"description": "The job ID"
},
"client": {
"type": "string",
"enum": [
"gmail",
"outlook",
"yahoo"
],
"description": "Client ID"
},
"viewport_width": {
"type": "number",
"description": "Viewport width of the render, matching the job (1280 when the job used client defaults)"
},
"color_scheme": {
"default": "light",
"description": "The render's color scheme",
"type": "string",
"enum": [
"light",
"dark"
]
},
"images_disabled": {
"default": false,
"description": "Whether the render had images blocked",
"type": "boolean"
}
},
"required": [
"job_id",
"client",
"viewport_width"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}コミュニティ
エビデンス