@cybermem/mcp-core 0.5.1 → 0.5.3
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/index.js +1 -1
- package/package.json +2 -3
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ const express_1 = __importDefault(require("express"));
|
|
|
14
14
|
dotenv_1.default.config();
|
|
15
15
|
// Default to local CyberMem backend (via Traefik on port 8626)
|
|
16
16
|
const API_URL = process.env.CYBERMEM_URL || "http://localhost:8626/memory";
|
|
17
|
-
const API_KEY = process.env.
|
|
17
|
+
const API_KEY = process.env.OM_API_KEY || "";
|
|
18
18
|
// Track client name per session
|
|
19
19
|
// Since we don't have a built-in session ID in the request context easily,
|
|
20
20
|
// we'll use a global fallback and allow updating it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cybermem/mcp-core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "CyberMem MCP Server (TypeScript)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
"author": "Mikhail Kogan <mikhailkogan17@gmail.com>",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"publishConfig": {
|
|
35
|
-
"access": "public"
|
|
36
|
-
"provenance": true
|
|
35
|
+
"access": "public"
|
|
37
36
|
},
|
|
38
37
|
"dependencies": {
|
|
39
38
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
package/src/index.ts
CHANGED
|
@@ -15,7 +15,7 @@ dotenv.config();
|
|
|
15
15
|
|
|
16
16
|
// Default to local CyberMem backend (via Traefik on port 8626)
|
|
17
17
|
const API_URL = process.env.CYBERMEM_URL || "http://localhost:8626/memory";
|
|
18
|
-
const API_KEY = process.env.
|
|
18
|
+
const API_KEY = process.env.OM_API_KEY || "";
|
|
19
19
|
|
|
20
20
|
// Track client name per session
|
|
21
21
|
// Since we don't have a built-in session ID in the request context easily,
|