groundmail-mcp 0.15.1 → 0.16.1

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/README.md CHANGED
@@ -55,7 +55,7 @@ When you connect, you choose the access: **Full**, **Send only** or **Read only*
55
55
  >
56
56
  > "How is my deliverability over the last 7 days?"
57
57
 
58
- Tools cover emails (send, list, look up), domains (add, apply DNS through Cloudflare, Vercel or GoDaddy, verify), templates, webhooks, suppressions, address validation, deliverability, DMARC monitoring, email testing (a test address per run, then wait for the email and read its code and links), imports from other providers and tenants (one per customer you send for: create, update, pause, resume, stats; `tenant` on sends, domains and suppressions). Each tool carries read-only and destructive annotations and an output schema. Full list: [docs.groundmail.dev/ai/mcp](https://docs.groundmail.dev/ai/mcp).
58
+ Tools cover emails (send, list, look up), domains (add, apply DNS through Cloudflare, Vercel, GoDaddy, Netlify, DigitalOcean or DNSimple, verify), templates, webhooks, suppressions, address validation, deliverability, DMARC monitoring, email testing (a test address per run, then wait for the email and read its code and links), imports from other providers and tenants (one per customer you send for: create, update, pause, resume, stats; `tenant` on sends, domains and suppressions). Each tool carries read-only and destructive annotations and an output schema. Full list: [docs.groundmail.dev/ai/mcp](https://docs.groundmail.dev/ai/mcp).
59
59
 
60
60
  ## Transports
61
61
 
package/dist/index.js CHANGED
@@ -613,6 +613,7 @@ var testEmailOutput = object(
613
613
  );
614
614
 
615
615
  // src/tools.ts
616
+ var DNS_PROVIDERS = ["cloudflare", "godaddy", "vercel", "netlify", "digitalocean", "dnsimple"];
616
617
  function textResult(value, isError = false) {
617
618
  const isObject = value !== null && typeof value === "object" && !Array.isArray(value);
618
619
  return {
@@ -745,11 +746,8 @@ async function callMcpTool(client, name, args) {
745
746
  return textResult("Missing required argument: domain", true);
746
747
  }
747
748
  const providerRaw = typeof args.provider === "string" ? args.provider.trim().toLowerCase() : "";
748
- if (providerRaw !== "cloudflare" && providerRaw !== "godaddy" && providerRaw !== "vercel") {
749
- return textResult(
750
- 'Missing or invalid provider. Use provider "cloudflare", "godaddy", or "vercel".',
751
- true
752
- );
749
+ if (!DNS_PROVIDERS.includes(providerRaw)) {
750
+ return textResult(`Missing or invalid provider. Use one of: ${DNS_PROVIDERS.join(", ")}.`, true);
753
751
  }
754
752
  const result = await client.domains.apply(domain, { provider: providerRaw });
755
753
  return textResult(result);
@@ -991,8 +989,8 @@ async function callMcpTool(client, name, args) {
991
989
  const domain = optString(args, "domain");
992
990
  if (!domain) return textResult("Missing required argument: domain", true);
993
991
  const apply = optString(args, "apply");
994
- if (apply && apply !== "cloudflare" && apply !== "vercel" && apply !== "godaddy") {
995
- return textResult("apply must be cloudflare, vercel or godaddy", true);
992
+ if (apply && !DNS_PROVIDERS.includes(apply)) {
993
+ return textResult(`apply must be one of: ${DNS_PROVIDERS.join(", ")}`, true);
996
994
  }
997
995
  return textResult(await client.dmarc.enable(domain, apply ? { apply } : {}));
998
996
  }
@@ -1233,14 +1231,14 @@ var MCP_TOOLS = [
1233
1231
  },
1234
1232
  {
1235
1233
  name: "apply_domain_dns",
1236
- description: "Apply Groundmail DNS records for a domain through Cloudflare, Vercel or GoDaddy, using the provider account connected in the dashboard. If none is connected, ask the user to connect it at https://app.groundmail.dev/integrations (never ask for the provider token in chat), or have them publish the records from create_domain by hand.",
1234
+ description: "Apply Groundmail DNS records for a domain through Cloudflare, Vercel, GoDaddy, Netlify, DigitalOcean or DNSimple, using the provider account connected in the dashboard. If none is connected, ask the user to connect it at https://app.groundmail.dev/integrations (never ask for the provider token in chat), or have them publish the records from create_domain by hand.",
1237
1235
  inputSchema: {
1238
1236
  type: "object",
1239
1237
  properties: {
1240
1238
  domain: { type: "string", description: "Domain name or id of a domain already added to this account (example.com)" },
1241
1239
  provider: {
1242
1240
  type: "string",
1243
- enum: ["cloudflare", "godaddy", "vercel"],
1241
+ enum: [...DNS_PROVIDERS],
1244
1242
  description: "DNS provider that hosts the domain"
1245
1243
  }
1246
1244
  },
@@ -1685,7 +1683,7 @@ var MCP_TOOLS = [
1685
1683
  domain: { type: "string", description: "Domain name or id (example.com)" },
1686
1684
  apply: {
1687
1685
  type: "string",
1688
- enum: ["cloudflare", "vercel", "godaddy"],
1686
+ enum: [...DNS_PROVIDERS],
1689
1687
  description: "Also write the DMARC record through this DNS provider (connected under Integrations)"
1690
1688
  }
1691
1689
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "groundmail-mcp",
3
- "version": "0.15.1",
3
+ "version": "0.16.1",
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.26.1"
44
+ "groundmail": "0.28.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "tsup": "^8.5.0",