HTML Email Playbook

Teaches AI to write HTML email that renders in Outlook, Gmail, and Apple Mail. 19 rules, 6 comps.

我该使用它吗

质量与安全性

B
描述质量
95%
模式完整度
65%
命名质量
100%
投毒风险
80%
权限匹配度
100%
协议合规性
100%

发现(3)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'get_component' description contains placeholder text在 get_component 中
  • INFOTool description contains placeholder or incomplete text在 get_component 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~446token 数(工具定义)
~456 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.35%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "email-playbook-mcp": {
      "command": "npx",
      "args": [
        "email-playbook-mcp"
      ]
    }
  }
}

可运行的软件包

npmemail-playbook-mcp0.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
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具
已验证未记录版本4 个工具
已验证未记录版本4 个工具