groundmail-mcp 0.19.0 → 0.19.2

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
@@ -135,7 +135,7 @@ Want your coding agent to know Groundmail too? Install the [agent skills](https:
135
135
 
136
136
  - **Our own mail servers and IP space.** Your password resets and receipts don't share a pool with bulk marketing senders.
137
137
  - **Transactional email only.** No newsletters or cold outreach on the platform, which keeps the sending reputation clean.
138
- - **Start free.** Free covers 3,000 emails a month. After that it's pay as you go: $0.70 per 1,000, less as you grow. [Pricing](https://groundmail.dev/pricing/)
138
+ - **Start free.** Free covers 3,000 emails a month. After that, pay as you go is $15 a month with 20,000 emails included, then from $0.70 per 1,000, less as you grow. [Pricing](https://groundmail.dev/pricing/)
139
139
  - **Built for code and for agents.** REST API, SMTP, SDKs for Node, Python, Go, PHP and Ruby, a CLI, and an MCP server for Claude, ChatGPT and Cursor.
140
140
 
141
141
  ## All Groundmail libraries
package/dist/index.js CHANGED
@@ -1182,6 +1182,7 @@ function formatToolError(error) {
1182
1182
  if (hint) lines.push(`hint: ${hint}`);
1183
1183
  const docsUrl = text(err.docsUrl) ?? (code ? `https://docs.groundmail.dev/errors#${code}` : null);
1184
1184
  if (docsUrl) lines.push(`how to fix: ${docsUrl}`);
1185
+ if (upgradeUrl || /billing|payment method/i.test(hint ?? "")) lines.push(BILLING_IN_DASHBOARD_NOTE);
1185
1186
  return lines.join("\n");
1186
1187
  }
1187
1188
  var paginationProps = {
@@ -1217,11 +1218,12 @@ var readOnly = (title) => ({
1217
1218
  openWorldHint: false
1218
1219
  });
1219
1220
  var HTTP_EXCLUDED_TOOLS = /* @__PURE__ */ new Set(["import_from_provider"]);
1221
+ var BILLING_IN_DASHBOARD_NOTE = "note: the user sets up billing themselves in the Groundmail dashboard. Do not ask for or accept card numbers or other payment details in chat.";
1220
1222
  var HTTP_EXCLUDED_TOOL_MESSAGE = "import_from_provider is not available on the hosted Groundmail MCP server, because it needs your other provider's API key. Import from the dashboard at https://app.groundmail.dev/import, or run the local server (npx -y groundmail-mcp) where the key stays on your machine.";
1221
1223
  var MCP_TOOLS = [
1222
1224
  {
1223
1225
  name: "send_email",
1224
- description: "Send a transactional email via Groundmail. Provide subject + html/text, or a published template_id / template_alias with optional variables. To test without delivering anything, send to a simulator address: delivered@, bounce@, block@, complaint@, suppressed@ or delayed@simulator.groundmail.dev (plus addressing like bounce+test1@ works); the result has test: true and webhooks fire as for real mail.",
1226
+ description: "Send a transactional email via Groundmail. Provide subject + html/text, or a published template_id / template_alias with optional variables. To test without delivering anything, send to a simulator address: delivered@, bounce@, block@, complaint@, suppressed@ or delayed@simulator.groundmail.dev (plus addressing like bounce+test1@ works); the result has test: true and webhooks fire as for real mail. Do not put payment card numbers, government ID numbers, health information or passwords in the content.",
1225
1227
  inputSchema: {
1226
1228
  type: "object",
1227
1229
  properties: {
@@ -1931,12 +1933,13 @@ function resolveApiKey() {
1931
1933
  }
1932
1934
 
1933
1935
  // src/server.ts
1934
- var MCP_SERVER_VERSION = "0.19.0";
1936
+ var MCP_SERVER_VERSION = "0.19.2";
1935
1937
  var MCP_SERVER_INSTRUCTIONS = [
1936
1938
  "Groundmail sends transactional email from domains the user has verified.",
1937
1939
  '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.',
1938
- "Sending to other recipients needs a verified domain (list_domains, create_domain, apply_domain_dns, verify_domain) and a payment method on the account (no charge on the Free plan).",
1940
+ "Sending to other recipients needs a verified domain (list_domains, create_domain, apply_domain_dns, verify_domain) and billing set up by the user in the Groundmail dashboard at https://app.groundmail.dev/settings/billing (no charge on the Free plan).",
1939
1941
  "Confirm with the user before sending email to anyone other than themselves.",
1942
+ "Never ask for or accept payment card numbers, passwords, government ID numbers, health information or other sensitive personal data in chat; the user enters billing and account details only in the Groundmail dashboard.",
1940
1943
  "Errors include a stable code and a link to https://docs.groundmail.dev/errors#<code> that says how to fix them."
1941
1944
  ].join(" ");
1942
1945
  var currentTool = new AsyncLocalStorage();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "groundmail-mcp",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
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",