groundmail-mcp 0.17.1 → 0.18.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 +20 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -130,6 +130,23 @@ function heldBackItem() {
|
|
|
130
130
|
["email", "reason"]
|
|
131
131
|
);
|
|
132
132
|
}
|
|
133
|
+
var nullableBoolean = (description) => ({ type: ["boolean", "null"], description });
|
|
134
|
+
var emailDelivery = {
|
|
135
|
+
...object(
|
|
136
|
+
{
|
|
137
|
+
receiving_server: nullableString("Hostname of the recipient's mail server, e.g. gmail-smtp-in.l.google.com"),
|
|
138
|
+
response: nullableString(
|
|
139
|
+
"Its exact SMTP reply to the latest attempt that finished: 250 \u2026 when it accepted the email, 5xx \u2026 when it refused it"
|
|
140
|
+
),
|
|
141
|
+
tls: nullableBoolean("Whether the connection used TLS; null when the attempt did not say"),
|
|
142
|
+
deferred_response: nullableString("Its reply to the latest deferral (a 4xx such as greylisting; delivery is retried); null when none"),
|
|
143
|
+
deferred_at: nullableString("When the latest deferral happened (ISO 8601)")
|
|
144
|
+
},
|
|
145
|
+
["receiving_server", "response", "tls", "deferred_response", "deferred_at"]
|
|
146
|
+
),
|
|
147
|
+
type: ["object", "null"],
|
|
148
|
+
description: "What the recipient's mail server said about the latest delivery attempt. Null until an attempt reports one, and for test emails. delivered_at minus created_at is how long it took to land"
|
|
149
|
+
};
|
|
133
150
|
var emailItem = object(
|
|
134
151
|
{
|
|
135
152
|
id: string("Email id (msg_\u2026)"),
|
|
@@ -147,6 +164,7 @@ var emailItem = object(
|
|
|
147
164
|
enum: ["hard", "block", null],
|
|
148
165
|
description: "Why it bounced: hard (address cannot receive; suppressed) or block (the receiving server refused the sender for reputation or policy; address not suppressed, safe to retry later). Null if it did not bounce"
|
|
149
166
|
},
|
|
167
|
+
delivery: emailDelivery,
|
|
150
168
|
held_back: arrayOf(
|
|
151
169
|
heldBackItem(),
|
|
152
170
|
"Recipients Groundmail validation held back before sending, with why; empty when none were"
|
|
@@ -1239,7 +1257,7 @@ var MCP_TOOLS = [
|
|
|
1239
1257
|
},
|
|
1240
1258
|
{
|
|
1241
1259
|
name: "get_email",
|
|
1242
|
-
description: "Get a single email by public id (msg_\u2026).",
|
|
1260
|
+
description: "Get a single email by public id (msg_\u2026): its status, and in delivery the recipient's mail server, its exact reply (250 \u2026 when accepted, 5xx \u2026 when refused), TLS and the latest deferral. delivered_at minus created_at is how long it took to land.",
|
|
1243
1261
|
inputSchema: {
|
|
1244
1262
|
type: "object",
|
|
1245
1263
|
properties: {
|
|
@@ -1884,7 +1902,7 @@ function resolveApiKey() {
|
|
|
1884
1902
|
}
|
|
1885
1903
|
|
|
1886
1904
|
// src/server.ts
|
|
1887
|
-
var MCP_SERVER_VERSION = "0.
|
|
1905
|
+
var MCP_SERVER_VERSION = "0.18.0";
|
|
1888
1906
|
var MCP_SERVER_INSTRUCTIONS = [
|
|
1889
1907
|
"Groundmail sends transactional email from domains the user has verified.",
|
|
1890
1908
|
'To test before a domain is verified, call send_email with from "noreply@mail.groundmail.dev" and to set to the Groundmail account email; sandbox sends to any other address are rejected.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groundmail-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.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.32.1",
|
|
44
|
-
"groundmail": "0.
|
|
44
|
+
"groundmail": "0.30.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"tsup": "^8.5.0",
|