@kadoa/mcp 0.5.24 → 0.5.25

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.
Files changed (2) hide show
  1. package/dist/index.js +22 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53284,23 +53284,27 @@ function registerTools(server, ctx, capabilities) {
53284
53284
  password: exports_external.string().optional().describe("Password (required for 'basic' type)"),
53285
53285
  headers: exports_external.object({}).passthrough().optional().describe("Custom headers as key-value pairs (required for 'header' type)")
53286
53286
  }).optional().describe("Authentication configuration for the webhook endpoint");
53287
+ const notificationChannelsSchema = exports_external.object({
53288
+ email: exports_external.object({
53289
+ recipients: exports_external.array(exports_external.string().email()).optional().describe("Email addresses to notify. Omit to use account default email.")
53290
+ }).optional().describe("Send email notifications. Pass {} for account default email, or {recipients: [...]} for custom addresses."),
53291
+ webhook: exports_external.object({
53292
+ url: exports_external.string().url().describe("Webhook endpoint URL"),
53293
+ httpMethod: exports_external.enum(["POST", "GET", "PUT", "PATCH"]).optional().describe("HTTP method (defaults to POST)"),
53294
+ auth: webhookAuthShape
53295
+ }).optional().describe("Send notifications via HTTP webhook"),
53296
+ slack: exports_external.object({
53297
+ webhookUrl: exports_external.string().url().optional().describe("Slack incoming webhook URL (legacy)"),
53298
+ slackChannelId: exports_external.string().optional().describe("Slack channel ID from OAuth integration (e.g. C01ABCDEF)"),
53299
+ slackChannelName: exports_external.string().optional().describe("Slack channel name (e.g. #alerts)")
53300
+ }).optional().describe("Send notifications to a Slack channel. Use slackChannelId/slackChannelName for OAuth integration, or webhookUrl for legacy incoming webhooks."),
53301
+ websocket: exports_external.boolean().optional().describe("Enable WebSocket notifications for programmatic real-time consumption")
53302
+ });
53287
53303
  const notificationsInputShape = {
53288
- notifications: exports_external.preprocess(coerceJson(), exports_external.object({
53289
- email: exports_external.object({
53290
- recipients: exports_external.array(exports_external.string().email()).optional().describe("Email addresses to notify. Omit to use account default email.")
53291
- }).optional().describe("Send email notifications. Pass {} for account default email, or {recipients: [...]} for custom addresses."),
53292
- webhook: exports_external.object({
53293
- url: exports_external.string().url().describe("Webhook endpoint URL"),
53294
- httpMethod: exports_external.enum(["POST", "GET", "PUT", "PATCH"]).optional().describe("HTTP method (defaults to POST)"),
53295
- auth: webhookAuthShape
53296
- }).optional().describe("Send notifications via HTTP webhook"),
53297
- slack: exports_external.object({
53298
- webhookUrl: exports_external.string().url().optional().describe("Slack incoming webhook URL (legacy)"),
53299
- slackChannelId: exports_external.string().optional().describe("Slack channel ID from OAuth integration (e.g. C01ABCDEF)"),
53300
- slackChannelName: exports_external.string().optional().describe("Slack channel name (e.g. #alerts)")
53301
- }).optional().describe("Send notifications to a Slack channel. Use slackChannelId/slackChannelName for OAuth integration, or webhookUrl for legacy incoming webhooks."),
53302
- websocket: exports_external.boolean().optional().describe("Enable WebSocket notifications for programmatic real-time consumption")
53303
- }).optional().describe("Notification channels to alert when data changes."))
53304
+ notifications: exports_external.preprocess(coerceJson(), notificationChannelsSchema.optional()).optional().describe("Optional notification channels to alert when data changes.")
53305
+ };
53306
+ const requiredNotificationsInputShape = {
53307
+ notifications: exports_external.preprocess(coerceJson(), notificationChannelsSchema).describe("Notification channels to alert when data changes.")
53304
53308
  };
53305
53309
  function resolveUrls(args) {
53306
53310
  const urls = args.urls ?? (args.url ? [args.url] : []);
@@ -53529,7 +53533,7 @@ function registerTools(server, ctx, capabilities) {
53529
53533
  ...urlInputShape,
53530
53534
  description: exports_external.string().max(500).optional().describe("Description of what this monitor watches (max 500 characters)"),
53531
53535
  tags: exports_external.preprocess(coerceArray(true), exports_external.array(exports_external.string())).optional().describe("Tags for organizing monitors"),
53532
- ...notificationsInputShape
53536
+ ...requiredNotificationsInputShape
53533
53537
  }),
53534
53538
  annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false }
53535
53539
  }, withErrorHandling("create_realtime_monitor", async (args) => {
@@ -55142,7 +55146,7 @@ var package_default;
55142
55146
  var init_package = __esm(() => {
55143
55147
  package_default = {
55144
55148
  name: "@kadoa/mcp",
55145
- version: "0.5.24",
55149
+ version: "0.5.25",
55146
55150
  description: "Kadoa MCP Server — manage workflows from Claude Desktop, Cursor, and other MCP clients",
55147
55151
  type: "module",
55148
55152
  main: "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kadoa/mcp",
3
- "version": "0.5.24",
3
+ "version": "0.5.25",
4
4
  "description": "Kadoa MCP Server — manage workflows from Claude Desktop, Cursor, and other MCP clients",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",