@socialproof/memory-mcp 0.1.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.
@@ -0,0 +1,3 @@
1
+ export declare const MCP_PACKAGE_NAME = "@socialproof/memory-mcp";
2
+ export declare const MCP_PACKAGE_VERSION: string;
3
+ export declare const MCP_SERVER_NAME = "memory-mcp";
@@ -0,0 +1,12 @@
1
+ import fs from "node:fs";
2
+ export const MCP_PACKAGE_NAME = "@socialproof/memory-mcp";
3
+ function readPackageMetadata() {
4
+ const packageUrl = new URL("../package.json", import.meta.url);
5
+ const parsed = JSON.parse(fs.readFileSync(packageUrl, "utf8"));
6
+ if (parsed.name !== MCP_PACKAGE_NAME || typeof parsed.version !== "string") {
7
+ throw new Error("memory-mcp package metadata is invalid");
8
+ }
9
+ return { name: parsed.name, version: parsed.version };
10
+ }
11
+ export const MCP_PACKAGE_VERSION = readPackageMetadata().version;
12
+ export const MCP_SERVER_NAME = "memory-mcp";
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@socialproof/memory-mcp",
3
+ "version": "0.1.1",
4
+ "description": "MCP server bridging Memory relayer tools for Cursor and other MCP clients",
5
+ "type": "module",
6
+ "bin": {
7
+ "memory-mcp": "./dist/bin/memory-mcp.js"
8
+ },
9
+ "main": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "scripts": {
12
+ "build": "tsc",
13
+ "typecheck": "tsc --noEmit",
14
+ "test": "pnpm run build && node --test test/*.test.mjs",
15
+ "pack:check": "pnpm run build && npm pack --dry-run"
16
+ },
17
+ "dependencies": {
18
+ "@socialproof/memory": "0.0.5",
19
+ "@socialproof/myso": "0.0.4",
20
+ "@socialproof/sub-agents": "0.0.2",
21
+ "@modelcontextprotocol/sdk": "^1.0.0"
22
+ },
23
+ "devDependencies": {
24
+ "@types/node": "^20.0.0",
25
+ "typescript": "^5.5.0"
26
+ },
27
+ "exports": {
28
+ ".": {
29
+ "import": "./dist/index.js",
30
+ "types": "./dist/index.d.ts"
31
+ }
32
+ },
33
+ "files": ["dist", "README.md"],
34
+ "engines": {
35
+ "node": ">=22"
36
+ },
37
+ "publishConfig": {
38
+ "access": "public",
39
+ "registry": "https://registry.npmjs.org/"
40
+ },
41
+ "license": "Apache-2.0"
42
+ }