groundmail-mcp 0.19.3 → 0.20.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.
Files changed (2) hide show
  1. package/dist/index.js +27 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -186,6 +186,29 @@ var emailItem = object(
186
186
  },
187
187
  ["id", "from", "to", "subject", "status"]
188
188
  );
189
+ var blocklistListingProps = {
190
+ list: string("List name: Spamhaus DBL, SURBL or URIBL"),
191
+ list_id: string("List id: spamhaus-dbl, surbl or uribl"),
192
+ name: string("The listed name: the domain itself or its main domain"),
193
+ reason: string("What the list says it is listed for, for example spam domain"),
194
+ listed_since: string("When the daily check first found it listed (ISO 8601)"),
195
+ info_url: string("Where to look the name up and request removal")
196
+ };
197
+ var domainBlocklists = object(
198
+ {
199
+ status: string("Blocklist status: clear, listed, or unknown (not checked yet, not verified, or no list answered)"),
200
+ checked_at: nullableString("When the last daily blocklist check ran (ISO 8601)"),
201
+ names: stringArray("Names checked: the domain and its main domain, or one name for a main domain"),
202
+ main_domain: string("The main (registrable) domain"),
203
+ listings: arrayOf(object(blocklistListingProps, ["list", "name"]), "Current listings, main domain first"),
204
+ removed: arrayOf(
205
+ object({ ...blocklistListingProps, removed_at: string("When it came off the list (ISO 8601)") }, ["list", "name"]),
206
+ "Recent removals, newest first"
207
+ ),
208
+ unanswered_lists: stringArray("Lists that did not answer the last check")
209
+ },
210
+ ["status"]
211
+ );
189
212
  var domainItem = object(
190
213
  {
191
214
  id: string("Domain id"),
@@ -201,6 +224,7 @@ var domainItem = object(
201
224
  inbound_enabled: boolean("Whether inbound receiving is enabled"),
202
225
  inbound_status: string("Inbound status: disabled, pending, active or error"),
203
226
  inbound_error: nullableString("Inbound setup error, if any"),
227
+ blocklists: described(domainBlocklists, "Daily check of the domain and its main domain on Spamhaus DBL, SURBL and URIBL. A listing never pauses sending"),
204
228
  tenant: nullableString("External id of the tenant that owns the domain. Absent for a domain the whole account can use")
205
229
  },
206
230
  ["id", "name", "status"]
@@ -1425,7 +1449,7 @@ var MCP_TOOLS = [
1425
1449
  readOnlyHint: false,
1426
1450
  destructiveHint: false,
1427
1451
  idempotentHint: false,
1428
- openWorldHint: false
1452
+ openWorldHint: true
1429
1453
  }
1430
1454
  },
1431
1455
  {
@@ -1472,7 +1496,7 @@ var MCP_TOOLS = [
1472
1496
  required: ["email"]
1473
1497
  },
1474
1498
  outputSchema: validateEmailOutput,
1475
- annotations: readOnly("Validate email address")
1499
+ annotations: { ...readOnly("Validate email address"), openWorldHint: true }
1476
1500
  },
1477
1501
  {
1478
1502
  name: "add_suppression",
@@ -1933,7 +1957,7 @@ function resolveApiKey() {
1933
1957
  }
1934
1958
 
1935
1959
  // src/server.ts
1936
- var MCP_SERVER_VERSION = "0.19.3";
1960
+ var MCP_SERVER_VERSION = "0.20.0";
1937
1961
  var MCP_SERVER_INSTRUCTIONS = [
1938
1962
  "Groundmail sends transactional email from domains the user has verified.",
1939
1963
  '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.19.3",
3
+ "version": "0.20.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.31.0"
44
+ "groundmail": "0.32.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "tsup": "^8.5.0",