HTML Email Playbook
Teaches AI to write HTML email that renders in Outlook, Gmail, and Apple Mail. 19 rules, 6 comps.
我该使用它吗
质量与安全性
发现(3)
- HIGH
- MEDIUM在 get_component 中
- INFO在 get_component 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"email-playbook-mcp": {
"command": "npx",
"args": [
"email-playbook-mcp"
]
}
}
}可运行的软件包
0.6.3stdio远程端点
https://docs.osamahassouna.com/api/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢list_categories
List all rule categories in the Email Playbook with a one-line description and page count. Categories are: structure (head/body container/header/body/footer), compatibility (Outlook MSO, RTL, responsive), production (Gmail clipping, dark mode, preheader, bulletproof buttons), ai-generation (constraints for AI emitters). For reusable components, use list_components instead — they live in a separate dimension and are not returned by get_playbook_rules.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_playbook_rules(category)
Return the full rule pages for a given category. Each rule includes the title, description, markdown body explaining the rule, and any HTML/CSS code examples from the playbook. Use this to teach a model the exact patterns for a specific concern (e.g., responsive layout).
输入模式
{
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"ai-generation",
"compatibility",
"production",
"structure"
],
"description": "Which rule category to fetch."
}
},
"required": [
"category"
],
"additionalProperties": false
}🟢list_components
List all reusable email components in the playbook with their metadata: name, subcategory (layout/media/interactive/text), description, whether they require Outlook VML, and whether they are responsive. Use this first to discover what components exist before calling get_component.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_component(name)
Return the full record for a single component: title, description, narrative body, the primary HTML pattern, list of slots (placeholders the model should fill), VML/responsive flags, and all code examples. Use after list_components to fetch the actual HTML pattern to paste into an email.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"enum": [
"background-images",
"buttons",
"images",
"inline-icon",
"spacing",
"text"
],
"description": "Component name. Get the list from list_components first."
}
},
"required": [
"name"
],
"additionalProperties": false
}社区
证据