supermemory/apps/mcp/package.json
Mahesh Sanikommu 1992356c5d feat(mcp): move the MCP server to the v5 API and supermemory 5.0
Every tool now goes through the v5 SDK with the namespace as the first argument: add, search (threshold kept at 0.6 to match v4 results), profile, list documents and memories, documents.get, namespaces.list, and file upload on /ns/{namespace}/document/file. containerTag is namespace everywhere in tool inputs, outputs, widget, README and tests, with no aliases; the stored activeContainerTag config key stays so saved spaces survive. Forget previews with a dry run and forgets the top match by id. Graph data and /v3/session stay on v3 because v5 has no replacement. The deprecated snake_case tool aliases from #1782 are kept. pnpm-lock.yaml removed; bun.lock picks up supermemory 5.0.1. Verified: check-types, 21 unit tests, and a live run of every client call against the production API in a throwaway namespace.
2026-10-07 18:37:39 -07:00

59 lines
1.8 KiB
JSON

{
"name": "supermemory-mcp",
"version": "1.0.0",
"type": "module",
"portless": {
"name": "mcp.dev.supermemory",
"script": "dev:app"
},
"scripts": {
"build:widget": "bun run scripts/build-widget.ts",
"build": "bun run build:widget",
"dev": "portless",
"dev:app": "wrangler dev --port ${PORT:-8788}",
"dev:widget": "vite --config vite.config.dev.ts",
"studio": "vite --config vite.config.dev.ts --open /studio.html",
"deploy": "wrangler deploy --minify",
"check-types": "bun run build:widget && tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.widget.json",
"test:unit": "bun run build:widget && vitest run src",
"test:e2e": "vitest run e2e",
"cf-typegen": "wrangler types --env-interface CloudflareBindings"
},
"dependencies": {
"@cloudflare/workers-oauth-provider": "^0.2.2",
"@modelcontextprotocol/client": "2.0.0",
"@modelcontextprotocol/ext-apps": "^1.7.5",
"@modelcontextprotocol/sdk": "1.30.0",
"@modelcontextprotocol/server": "2.0.0",
"@phosphor-icons/react": "^2.1.10",
"@posthog/mcp": "0.21.0",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-tooltip": "^1.2.7",
"@supermemory/memory-graph": "^0.2.0",
"agents": "^0.20.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"hono": "^4.11.1",
"jose": "^6.2.0",
"posthog-node": "^5.18.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"supermemory": "^5.0.0",
"tailwind-merge": "^3.4.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250620.0",
"@tailwindcss/vite": "^4.1.13",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
"@vitejs/plugin-react": "^4.3.4",
"tailwindcss": "^4.1.13",
"typescript": "^5.8.3",
"vite": "^6.0.0",
"vite-plugin-singlefile": "^2.3.0",
"vitest": "^3.2.4",
"wrangler": "^4.4.0"
}
}