@mambasms/mcp-server 0.7.10 → 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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -123,7 +123,7 @@ function defineTool(name, description, shape, handler) {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
const server = new McpServer(
|
|
126
|
-
{ name: "mambasms-mcp-server", version: "0.7.
|
|
126
|
+
{ name: "mambasms-mcp-server", version: "0.7.11" },
|
|
127
127
|
{
|
|
128
128
|
instructions: `MambaSMS 营销自动化(店铺级,鉴权用 MAMBA_ACCESS_TOKEN 店铺密钥)。共 66 个工具,分四组。
|
|
129
129
|
不确定用什么/想先看总览 → mamba_guide;只知道关键词 → mamba_search;要参数细节 → mamba_tool_schema。
|
|
@@ -167,8 +167,8 @@ defineTool(
|
|
|
167
167
|
|
|
168
168
|
defineTool(
|
|
169
169
|
"template_create",
|
|
170
|
-
|
|
171
|
-
1) html:传纯HTML(
|
|
170
|
+
`创建【组件模板】。⚠️模板只有组件形态(HTML 只是组件树里的一个 html 区块):客户要整封 HTML 或富文本时,不要建模板,应改用 campaign_create_email(html=...) 建活动草稿(edition=richtext)。两种方式二选一——
|
|
171
|
+
1) html:传纯HTML(作为模板里的一个 html 区块;适合迁移现有邮件);
|
|
172
172
|
2) sections:语义化区块列表(推荐,支持购物车列表/浏览商品推荐等动态区块):
|
|
173
173
|
[{type:"html",html:"..."}, {type:"cart_list",buttonText:"Back to Cart",limit:3},
|
|
174
174
|
{type:"browse_list",buttonText:"TAKE ANOTHER LOOK",limit:2}, ...]
|
package/package.json
CHANGED