groundmail-mcp 0.11.1 → 0.12.0
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/dist/index.js +5 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -238,6 +238,7 @@ var templateItem = object(
|
|
|
238
238
|
},
|
|
239
239
|
unsubscribe_enabled: boolean("Whether managed unsubscribe is on for sends using this template"),
|
|
240
240
|
category: string("transactional or product"),
|
|
241
|
+
folder: nullableString("Folder the template is filed in, or null"),
|
|
241
242
|
published_version_id: nullableString("Id of the version sends currently use"),
|
|
242
243
|
published_at: nullableString("When the template was last published (ISO 8601)"),
|
|
243
244
|
created_at: string("When the template was created (ISO 8601)"),
|
|
@@ -787,7 +788,8 @@ async function callMcpTool(client, name, args) {
|
|
|
787
788
|
...format === "blocks" || format === "html" ? { format } : {},
|
|
788
789
|
html: optString(args, "html"),
|
|
789
790
|
text: optString(args, "text"),
|
|
790
|
-
alias: optString(args, "alias")
|
|
791
|
+
alias: optString(args, "alias"),
|
|
792
|
+
...optString(args, "folder") ? { folder: optString(args, "folder") } : {}
|
|
791
793
|
})
|
|
792
794
|
);
|
|
793
795
|
}
|
|
@@ -1292,7 +1294,8 @@ var MCP_TOOLS = [
|
|
|
1292
1294
|
format: { type: "string", enum: ["html", "blocks"], description: "Template format (html or blocks)" },
|
|
1293
1295
|
html: { type: "string", description: "HTML body" },
|
|
1294
1296
|
text: { type: "string", description: "Plain-text body" },
|
|
1295
|
-
alias: { type: "string", description: "Optional short alias to reference the template by instead of its id" }
|
|
1297
|
+
alias: { type: "string", description: "Optional short alias to reference the template by instead of its id" },
|
|
1298
|
+
folder: { type: "string", description: "Optional folder to file the template in; created if it does not exist" }
|
|
1296
1299
|
},
|
|
1297
1300
|
required: ["name", "subject"]
|
|
1298
1301
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groundmail-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"mcpName": "io.github.Groundmail/groundmail",
|
|
5
5
|
"description": "Groundmail MCP server: send transactional email, manage domains, templates, webhooks and suppressions from Claude, Cursor, ChatGPT and other MCP clients",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
44
|
-
"groundmail": "0.
|
|
44
|
+
"groundmail": "0.21.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"tsup": "^8.5.0",
|