supermemory/apps/mcp/package.json
Prasanna721 7e7e820489 fix mcp app contracts (#1394)
Fixes MCP app submission metadata and makes widget delivery consistent across hosts.

- content-hash widget resources and set the production widget domain
- add typed structured outputs to direct tools and scope default-space calls
- keep graph rendering compatible with both initial results and app-side loading

Tested with `bun run check-types` and `bun run test:unit` (42 tests).
2026-08-01 06:41:17 +00:00

58 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",
"@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": "^4.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"
}
}