@webhooks-cc/mcp 1.0.1 → 1.1.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 +23 -3
- package/dist/index.js +23 -3
- package/dist/index.mjs +23 -3
- package/package.json +2 -2
package/dist/bin/mcp.js
CHANGED
|
@@ -253,11 +253,26 @@ var TEMPLATE_PROVIDER_VALUES = [
|
|
|
253
253
|
"slack",
|
|
254
254
|
"paddle",
|
|
255
255
|
"linear",
|
|
256
|
+
"sendgrid",
|
|
257
|
+
"clerk",
|
|
258
|
+
"discord",
|
|
259
|
+
"vercel",
|
|
260
|
+
"gitlab",
|
|
256
261
|
"standard-webhooks"
|
|
257
262
|
];
|
|
258
263
|
var VERIFY_PROVIDER_VALUES = [
|
|
259
|
-
|
|
260
|
-
"
|
|
264
|
+
"stripe",
|
|
265
|
+
"github",
|
|
266
|
+
"shopify",
|
|
267
|
+
"twilio",
|
|
268
|
+
"slack",
|
|
269
|
+
"paddle",
|
|
270
|
+
"linear",
|
|
271
|
+
"clerk",
|
|
272
|
+
"discord",
|
|
273
|
+
"vercel",
|
|
274
|
+
"gitlab",
|
|
275
|
+
"standard-webhooks"
|
|
261
276
|
];
|
|
262
277
|
var TIME_SEPARATOR = " \u2014 ";
|
|
263
278
|
var httpUrlSchema = import_zod2.z.string().url().refine(
|
|
@@ -921,6 +936,11 @@ function registerTools(server, client) {
|
|
|
921
936
|
secret: templateSecret
|
|
922
937
|
});
|
|
923
938
|
if (shouldVerify) {
|
|
939
|
+
if (provider === "discord") {
|
|
940
|
+
throw new Error(
|
|
941
|
+
"test_webhook_flow cannot verify Discord signatures (Ed25519 requires a public key, not a secret)"
|
|
942
|
+
);
|
|
943
|
+
}
|
|
924
944
|
flow.verifySignature({
|
|
925
945
|
provider,
|
|
926
946
|
secret: templateSecret
|
|
@@ -961,7 +981,7 @@ function registerTools(server, client) {
|
|
|
961
981
|
}
|
|
962
982
|
|
|
963
983
|
// src/index.ts
|
|
964
|
-
var VERSION = true ? "1.0
|
|
984
|
+
var VERSION = true ? "1.1.0" : "0.0.0-dev";
|
|
965
985
|
function createServer(options = {}) {
|
|
966
986
|
const apiKey = options.apiKey ?? process.env.WHK_API_KEY;
|
|
967
987
|
if (!apiKey) {
|
package/dist/index.js
CHANGED
|
@@ -274,11 +274,26 @@ var TEMPLATE_PROVIDER_VALUES = [
|
|
|
274
274
|
"slack",
|
|
275
275
|
"paddle",
|
|
276
276
|
"linear",
|
|
277
|
+
"sendgrid",
|
|
278
|
+
"clerk",
|
|
279
|
+
"discord",
|
|
280
|
+
"vercel",
|
|
281
|
+
"gitlab",
|
|
277
282
|
"standard-webhooks"
|
|
278
283
|
];
|
|
279
284
|
var VERIFY_PROVIDER_VALUES = [
|
|
280
|
-
|
|
281
|
-
"
|
|
285
|
+
"stripe",
|
|
286
|
+
"github",
|
|
287
|
+
"shopify",
|
|
288
|
+
"twilio",
|
|
289
|
+
"slack",
|
|
290
|
+
"paddle",
|
|
291
|
+
"linear",
|
|
292
|
+
"clerk",
|
|
293
|
+
"discord",
|
|
294
|
+
"vercel",
|
|
295
|
+
"gitlab",
|
|
296
|
+
"standard-webhooks"
|
|
282
297
|
];
|
|
283
298
|
var TIME_SEPARATOR = " \u2014 ";
|
|
284
299
|
var httpUrlSchema = import_zod2.z.string().url().refine(
|
|
@@ -942,6 +957,11 @@ function registerTools(server, client) {
|
|
|
942
957
|
secret: templateSecret
|
|
943
958
|
});
|
|
944
959
|
if (shouldVerify) {
|
|
960
|
+
if (provider === "discord") {
|
|
961
|
+
throw new Error(
|
|
962
|
+
"test_webhook_flow cannot verify Discord signatures (Ed25519 requires a public key, not a secret)"
|
|
963
|
+
);
|
|
964
|
+
}
|
|
945
965
|
flow.verifySignature({
|
|
946
966
|
provider,
|
|
947
967
|
secret: templateSecret
|
|
@@ -982,7 +1002,7 @@ function registerTools(server, client) {
|
|
|
982
1002
|
}
|
|
983
1003
|
|
|
984
1004
|
// src/index.ts
|
|
985
|
-
var VERSION = true ? "1.0
|
|
1005
|
+
var VERSION = true ? "1.1.0" : "0.0.0-dev";
|
|
986
1006
|
function createServer(options = {}) {
|
|
987
1007
|
const apiKey = options.apiKey ?? process.env.WHK_API_KEY;
|
|
988
1008
|
if (!apiKey) {
|
package/dist/index.mjs
CHANGED
|
@@ -256,11 +256,26 @@ var TEMPLATE_PROVIDER_VALUES = [
|
|
|
256
256
|
"slack",
|
|
257
257
|
"paddle",
|
|
258
258
|
"linear",
|
|
259
|
+
"sendgrid",
|
|
260
|
+
"clerk",
|
|
261
|
+
"discord",
|
|
262
|
+
"vercel",
|
|
263
|
+
"gitlab",
|
|
259
264
|
"standard-webhooks"
|
|
260
265
|
];
|
|
261
266
|
var VERIFY_PROVIDER_VALUES = [
|
|
262
|
-
|
|
263
|
-
"
|
|
267
|
+
"stripe",
|
|
268
|
+
"github",
|
|
269
|
+
"shopify",
|
|
270
|
+
"twilio",
|
|
271
|
+
"slack",
|
|
272
|
+
"paddle",
|
|
273
|
+
"linear",
|
|
274
|
+
"clerk",
|
|
275
|
+
"discord",
|
|
276
|
+
"vercel",
|
|
277
|
+
"gitlab",
|
|
278
|
+
"standard-webhooks"
|
|
264
279
|
];
|
|
265
280
|
var TIME_SEPARATOR = " \u2014 ";
|
|
266
281
|
var httpUrlSchema = z2.string().url().refine(
|
|
@@ -924,6 +939,11 @@ function registerTools(server, client) {
|
|
|
924
939
|
secret: templateSecret
|
|
925
940
|
});
|
|
926
941
|
if (shouldVerify) {
|
|
942
|
+
if (provider === "discord") {
|
|
943
|
+
throw new Error(
|
|
944
|
+
"test_webhook_flow cannot verify Discord signatures (Ed25519 requires a public key, not a secret)"
|
|
945
|
+
);
|
|
946
|
+
}
|
|
927
947
|
flow.verifySignature({
|
|
928
948
|
provider,
|
|
929
949
|
secret: templateSecret
|
|
@@ -964,7 +984,7 @@ function registerTools(server, client) {
|
|
|
964
984
|
}
|
|
965
985
|
|
|
966
986
|
// src/index.ts
|
|
967
|
-
var VERSION = true ? "1.0
|
|
987
|
+
var VERSION = true ? "1.1.0" : "0.0.0-dev";
|
|
968
988
|
function createServer(options = {}) {
|
|
969
989
|
const apiKey = options.apiKey ?? process.env.WHK_API_KEY;
|
|
970
990
|
if (!apiKey) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webhooks-cc/mcp",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "MCP server for webhooks.cc — AI agent integration for webhook testing",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
40
40
|
"zod": "^3.25.76",
|
|
41
|
-
"@webhooks-cc/sdk": "1.0
|
|
41
|
+
"@webhooks-cc/sdk": "1.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsup": "^8.5.1",
|