mcp-http-webhook 1.0.3 → 1.0.4

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/server.js CHANGED
@@ -393,7 +393,7 @@ function createMCPServer(config) {
393
393
  const subscription = await subscriptionManager.getSubscription(subscriptionId);
394
394
  if (!subscription) {
395
395
  logger.warn('Subscription not found', { subscriptionId });
396
- return res.status(404).json({ error: 'Subscription not found' });
396
+ return res.status(200).json({ error: 'Subscription not found' });
397
397
  }
398
398
  // Process webhook
399
399
  const changeInfo = await webhookManager.processIncomingWebhook(subscriptionId, payload, headers, subscription);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-http-webhook",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Production-ready MCP server framework with HTTP + webhook-based subscriptions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/server.ts CHANGED
@@ -474,7 +474,7 @@ export function createMCPServer(config: MCPServerConfig): MCPServer {
474
474
  const subscription = await subscriptionManager.getSubscription(subscriptionId);
475
475
  if (!subscription) {
476
476
  logger.warn('Subscription not found', { subscriptionId });
477
- return res.status(404).json({ error: 'Subscription not found' });
477
+ return res.status(200).json({ error: 'Subscription not found' });
478
478
  }
479
479
 
480
480
  // Process webhook