@webhooks-cc/mcp 1.20.0 → 1.21.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/bin/mcp.js CHANGED
@@ -456,7 +456,7 @@ var import_zod3 = require("zod");
456
456
  var import_sdk2 = require("@webhooks-cc/sdk");
457
457
 
458
458
  // src/version.ts
459
- var VERSION = true ? "1.20.0" : "0.0.0-dev";
459
+ var VERSION = true ? "1.21.0" : "0.0.0-dev";
460
460
  var MCP_USER_AGENT = `webhooks-cc-mcp/${VERSION}`;
461
461
 
462
462
  // src/tools.ts
@@ -1804,6 +1804,15 @@ function registerTools(target, client, options = {}) {
1804
1804
  );
1805
1805
  })
1806
1806
  );
1807
+ server.tool(
1808
+ "get_billing",
1809
+ "What the account pays for: the plan and its subscription (status, monthly or annual, when it renews, a pending change, whether it cancels at the period's end), the add-ons (extra requests, parsed pages, domains), and every team's subscription and add-ons. Read only: changing a plan, seats or add-ons takes the person in a browser.",
1810
+ {},
1811
+ withErrorHandling(async () => {
1812
+ const billing = await client.billing.get();
1813
+ return jsonContent(fitArrayField(billing, "teams"));
1814
+ })
1815
+ );
1807
1816
  server.tool(
1808
1817
  "get_usage",
1809
1818
  "Check current request usage, remaining quota, plan, and period end; parsed pages, preview data (whk share) and AI assists, each with when it resets; and the pooled quota of every subscribed team you belong to.",
@@ -1584,6 +1584,15 @@ function registerTools(target, client, options = {}) {
1584
1584
  );
1585
1585
  })
1586
1586
  );
1587
+ server.tool(
1588
+ "get_billing",
1589
+ "What the account pays for: the plan and its subscription (status, monthly or annual, when it renews, a pending change, whether it cancels at the period's end), the add-ons (extra requests, parsed pages, domains), and every team's subscription and add-ons. Read only: changing a plan, seats or add-ons takes the person in a browser.",
1590
+ {},
1591
+ withErrorHandling(async () => {
1592
+ const billing = await client.billing.get();
1593
+ return jsonContent(fitArrayField(billing, "teams"));
1594
+ })
1595
+ );
1587
1596
  server.tool(
1588
1597
  "get_usage",
1589
1598
  "Check current request usage, remaining quota, plan, and period end; parsed pages, preview data (whk share) and AI assists, each with when it resets; and the pooled quota of every subscribed team you belong to.",
package/dist/index.js CHANGED
@@ -480,7 +480,7 @@ var import_zod3 = require("zod");
480
480
  var import_sdk2 = require("@webhooks-cc/sdk");
481
481
 
482
482
  // src/version.ts
483
- var VERSION = true ? "1.20.0" : "0.0.0-dev";
483
+ var VERSION = true ? "1.21.0" : "0.0.0-dev";
484
484
  var MCP_USER_AGENT = `webhooks-cc-mcp/${VERSION}`;
485
485
 
486
486
  // src/tools.ts
@@ -1828,6 +1828,15 @@ function registerTools(target, client, options = {}) {
1828
1828
  );
1829
1829
  })
1830
1830
  );
1831
+ server.tool(
1832
+ "get_billing",
1833
+ "What the account pays for: the plan and its subscription (status, monthly or annual, when it renews, a pending change, whether it cancels at the period's end), the add-ons (extra requests, parsed pages, domains), and every team's subscription and add-ons. Read only: changing a plan, seats or add-ons takes the person in a browser.",
1834
+ {},
1835
+ withErrorHandling(async () => {
1836
+ const billing = await client.billing.get();
1837
+ return jsonContent(fitArrayField(billing, "teams"));
1838
+ })
1839
+ );
1831
1840
  server.tool(
1832
1841
  "get_usage",
1833
1842
  "Check current request usage, remaining quota, plan, and period end; parsed pages, preview data (whk share) and AI assists, each with when it resets; and the pooled quota of every subscribed team you belong to.",
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  registerTools,
14
14
  waitForRequestShape,
15
15
  withErrorHandling
16
- } from "./chunk-KLP2TU7I.mjs";
16
+ } from "./chunk-BAGCOSXG.mjs";
17
17
 
18
18
  // src/index.ts
19
19
  import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -262,7 +262,7 @@ import {
262
262
  } from "@webhooks-cc/sdk";
263
263
 
264
264
  // src/version.ts
265
- var VERSION = true ? "1.20.0" : "0.0.0-dev";
265
+ var VERSION = true ? "1.21.0" : "0.0.0-dev";
266
266
  var MCP_USER_AGENT = `webhooks-cc-mcp/${VERSION}`;
267
267
 
268
268
  // src/sandbox-tools.ts
package/dist/tools.js CHANGED
@@ -1595,6 +1595,15 @@ function registerTools(target, client, options = {}) {
1595
1595
  );
1596
1596
  })
1597
1597
  );
1598
+ server.tool(
1599
+ "get_billing",
1600
+ "What the account pays for: the plan and its subscription (status, monthly or annual, when it renews, a pending change, whether it cancels at the period's end), the add-ons (extra requests, parsed pages, domains), and every team's subscription and add-ons. Read only: changing a plan, seats or add-ons takes the person in a browser.",
1601
+ {},
1602
+ withErrorHandling(async () => {
1603
+ const billing = await client.billing.get();
1604
+ return jsonContent(fitArrayField(billing, "teams"));
1605
+ })
1606
+ );
1598
1607
  server.tool(
1599
1608
  "get_usage",
1600
1609
  "Check current request usage, remaining quota, plan, and period end; parsed pages, preview data (whk share) and AI assists, each with when it resets; and the pooled quota of every subscribed team you belong to.",
package/dist/tools.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  waitForRequestShape,
19
19
  withErrorHandling,
20
20
  withShareHints
21
- } from "./chunk-KLP2TU7I.mjs";
21
+ } from "./chunk-BAGCOSXG.mjs";
22
22
  export {
23
23
  LOCAL_ONLY_TOOLS,
24
24
  REMOTE_MAX_WAIT_MS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webhooks-cc/mcp",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "mcpName": "io.github.kroqdotdev/webhooks-cc",
5
5
  "description": "MCP server for webhooks.cc — AI agent integration for webhook testing",
6
6
  "main": "dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@modelcontextprotocol/sdk": "^1.32.2",
46
46
  "zod": "^4.6.7",
47
- "@webhooks-cc/sdk": "1.24.0"
47
+ "@webhooks-cc/sdk": "1.25.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^26.6.6",