inbox-preview
Render HTML/.eml emails in real Gmail, Outlook & Yahoo web clients and screenshot them
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~797token 数(工具定义)
~2.1 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.62%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `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#"
}社区
证据
最近观测
已验证未记录版本4 个工具
已验证未记录版本4 个工具
已验证未记录版本4 个工具