@mambasms/mcp-server 0.7.9 → 0.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mambasms/mcp-server",
3
- "version": "0.7.9",
3
+ "version": "0.7.11",
4
4
  "description": "MCP server for MambaSMS email templates - create/manage templates from AI agents (Codex, Claude Desktop, Cursor)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -51,7 +51,8 @@ description: 曼巴 MambaSMS 营销自动化 MCP(@mambasms/mcp-server)使用技
51
51
  5. **限流当常态、分页有边界**:店铺级 10 请求/秒;`campaign_list` 10 秒 1 次;遇 429 退避(列表 ≥10 秒);遇 `412 上一条消息还在处理中` 等 1 秒重试。列表一律先收窄条件、`page_size` 建议 ≤50,**禁止循环翻页拉全量**;汇总看报表接口,不要拉明细自己算;分组成员抽样即可。
52
52
  6. **商品名用店铺真实商品**:写 `products[].name` 前先 `product_list`(可换多个候选词、或拉前 20~50 条按语义挑);确实没有就问客户要商品名/链接,**不要断言“店铺没有该商品”**。名字对不上会渲染成热销商品。
53
53
  7. **交付带证据**:`id` + `status=draft` + 受众(分组名/人数)+ 预览链接;发之前先 `template_preview` / `email_audit`。
54
- 8. **失败先读文案**:412 都写了下一步动作;不要原样重试。
54
+ 8. **HTML/富文本 = 活动草稿,不是模板**:系统模板只有组件形态。客户要整封 HTML 或富文本时,用 `campaign_create_email(html=...)` **建活动草稿**(`edition=richtext`);`template_create(html)` 只用于「组件模板里嵌一个 HTML 区块」,别拿它交付 HTML 式邮件。
55
+ 9. **失败先读文案**:412 都写了下一步动作;不要原样重试。
55
56
 
56
57
  ---
57
58
 
@@ -61,7 +62,7 @@ description: 曼巴 MambaSMS 营销自动化 MCP(@mambasms/mcp-server)使用技
61
62
  - [ ] 正文过了质量闸门(活动 ≥4200 字符 / 流程节点 ≥3000,含 `{Unsubscribe}`,英文文案)
62
63
  - [ ] 人群正确:分组名 + 人数(等 `dynamicStatus=complete`)或 `communication_select/tag_id` 对得上
63
64
  - [ ] 页脚:有退订;社媒是**图标**、在最底部(不是文字按钮)
64
- - [ ] 给客户一句话说明“用了哪种方式(模板/从零/自带HTML)+ 下一步在后台做什么”
65
+ - [ ] 给客户一句话说明“用了哪种方式(平台模板/从零组件/HTML或富文本→活动草稿)+ 下一步在后台做什么”
65
66
  - [ ] 需要客户确认的(受众范围、发送时间、折扣)已问过并复述
66
67
 
67
68
  ---