@cybermem/mcp 0.14.11 → 0.14.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @cybermem/mcp
2
2
 
3
+ ## 0.14.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Automated patch version bump.
8
+
9
+ ## 0.14.12
10
+
11
+ ### Patch Changes
12
+
13
+ - Automated patch version bump.
14
+
3
15
  ## 0.14.11
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -283,7 +283,13 @@ For full protocol: https://docs.cybermem.dev/agent-protocol`;
283
283
  const port = parseInt(getArg("--port") || "3100", 10);
284
284
  const app = (0, express_1.default)();
285
285
  app.use((0, cors_1.default)());
286
- app.use(express_1.default.json());
286
+ app.use((req, res, next) => {
287
+ // Skip JSON parsing for SSE message endpoint - it needs raw body stream
288
+ if (req.path === "/message") {
289
+ return next();
290
+ }
291
+ express_1.default.json()(req, res, next);
292
+ });
287
293
  app.get("/health", (req, res) => res.json({ ok: true, version: PACKAGE_VERSION }));
288
294
  app.use((req, res, next) => {
289
295
  const clientName = req.headers["x-client-name"] || "antigravity-client";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cybermem/mcp",
3
- "version": "0.14.11",
3
+ "version": "0.14.13",
4
4
  "description": "CyberMem MCP Server - AI Memory with openmemory-js SDK",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -392,7 +392,13 @@ For full protocol: https://docs.cybermem.dev/agent-protocol`;
392
392
  const port = parseInt(getArg("--port") || "3100", 10);
393
393
  const app = express();
394
394
  app.use(cors());
395
- app.use(express.json());
395
+ app.use((req, res, next) => {
396
+ // Skip JSON parsing for SSE message endpoint - it needs raw body stream
397
+ if (req.path === "/message") {
398
+ return next();
399
+ }
400
+ express.json()(req, res, next);
401
+ });
396
402
  app.get("/health", (req, res) =>
397
403
  res.json({ ok: true, version: PACKAGE_VERSION }),
398
404
  );