@webhooks-cc/mcp 1.0.0 → 1.0.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/dist/bin/mcp.js +3 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +2 -2
package/dist/bin/mcp.js
CHANGED
|
@@ -276,7 +276,8 @@ var durationOrTimestampSchema = import_zod2.z.union([import_zod2.z.string(), imp
|
|
|
276
276
|
var mockResponseSchema = import_zod2.z.object({
|
|
277
277
|
status: import_zod2.z.number().int().min(100).max(599).describe("HTTP status code (100-599)"),
|
|
278
278
|
body: import_zod2.z.string().default("").describe("Response body string (default: empty)"),
|
|
279
|
-
headers: import_zod2.z.record(import_zod2.z.string()).default({}).describe("Response headers (default: none)")
|
|
279
|
+
headers: import_zod2.z.record(import_zod2.z.string()).default({}).describe("Response headers (default: none)"),
|
|
280
|
+
delay: import_zod2.z.number().int().min(0).max(3e4).optional().describe("Response delay in milliseconds (0-30000, default: none)")
|
|
280
281
|
});
|
|
281
282
|
function textContent(text) {
|
|
282
283
|
return { content: [{ type: "text", text }] };
|
|
@@ -960,7 +961,7 @@ function registerTools(server, client) {
|
|
|
960
961
|
}
|
|
961
962
|
|
|
962
963
|
// src/index.ts
|
|
963
|
-
var VERSION = true ? "1.0.
|
|
964
|
+
var VERSION = true ? "1.0.1" : "0.0.0-dev";
|
|
964
965
|
function createServer(options = {}) {
|
|
965
966
|
const apiKey = options.apiKey ?? process.env.WHK_API_KEY;
|
|
966
967
|
if (!apiKey) {
|
package/dist/index.js
CHANGED
|
@@ -297,7 +297,8 @@ var durationOrTimestampSchema = import_zod2.z.union([import_zod2.z.string(), imp
|
|
|
297
297
|
var mockResponseSchema = import_zod2.z.object({
|
|
298
298
|
status: import_zod2.z.number().int().min(100).max(599).describe("HTTP status code (100-599)"),
|
|
299
299
|
body: import_zod2.z.string().default("").describe("Response body string (default: empty)"),
|
|
300
|
-
headers: import_zod2.z.record(import_zod2.z.string()).default({}).describe("Response headers (default: none)")
|
|
300
|
+
headers: import_zod2.z.record(import_zod2.z.string()).default({}).describe("Response headers (default: none)"),
|
|
301
|
+
delay: import_zod2.z.number().int().min(0).max(3e4).optional().describe("Response delay in milliseconds (0-30000, default: none)")
|
|
301
302
|
});
|
|
302
303
|
function textContent(text) {
|
|
303
304
|
return { content: [{ type: "text", text }] };
|
|
@@ -981,7 +982,7 @@ function registerTools(server, client) {
|
|
|
981
982
|
}
|
|
982
983
|
|
|
983
984
|
// src/index.ts
|
|
984
|
-
var VERSION = true ? "1.0.
|
|
985
|
+
var VERSION = true ? "1.0.1" : "0.0.0-dev";
|
|
985
986
|
function createServer(options = {}) {
|
|
986
987
|
const apiKey = options.apiKey ?? process.env.WHK_API_KEY;
|
|
987
988
|
if (!apiKey) {
|
package/dist/index.mjs
CHANGED
|
@@ -279,7 +279,8 @@ var durationOrTimestampSchema = z2.union([z2.string(), z2.number()]);
|
|
|
279
279
|
var mockResponseSchema = z2.object({
|
|
280
280
|
status: z2.number().int().min(100).max(599).describe("HTTP status code (100-599)"),
|
|
281
281
|
body: z2.string().default("").describe("Response body string (default: empty)"),
|
|
282
|
-
headers: z2.record(z2.string()).default({}).describe("Response headers (default: none)")
|
|
282
|
+
headers: z2.record(z2.string()).default({}).describe("Response headers (default: none)"),
|
|
283
|
+
delay: z2.number().int().min(0).max(3e4).optional().describe("Response delay in milliseconds (0-30000, default: none)")
|
|
283
284
|
});
|
|
284
285
|
function textContent(text) {
|
|
285
286
|
return { content: [{ type: "text", text }] };
|
|
@@ -963,7 +964,7 @@ function registerTools(server, client) {
|
|
|
963
964
|
}
|
|
964
965
|
|
|
965
966
|
// src/index.ts
|
|
966
|
-
var VERSION = true ? "1.0.
|
|
967
|
+
var VERSION = true ? "1.0.1" : "0.0.0-dev";
|
|
967
968
|
function createServer(options = {}) {
|
|
968
969
|
const apiKey = options.apiKey ?? process.env.WHK_API_KEY;
|
|
969
970
|
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.0.1",
|
|
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.0.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsup": "^8.5.1",
|