mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-07-27 18:04:08 +00:00
End-to-end tests that drive the deployed Supermemory MCP over streamable HTTP (no mocks): - discovery: handshake + tool/resource/prompt listing - identity: whoAmI, listProjects - memory: save -> recall round-trip, profile variants, forget, container scoping - graph/resources/prompts: memory-graph, fetch-graph-data, profile/projects, context - oauth: protected-resource discovery chain, dynamic client registration, token-endpoint negatives, and a real refresh -> access token round-trip - auth: GET / info, 401 on missing/invalid token - root-scope: x-sm-project scoping behavior Tests skip without SUPERMEMORY_API_KEY (OAuth tier-D skips without its token env vars) so CI is safe without secrets. Adds vitest + a test:e2e script and documents running + the OAuth flow in apps/mcp/README.md.
34 lines
1,013 B
JSON
34 lines
1,013 B
JSON
{
|
|
"name": "supermemory-mcp",
|
|
"version": "4.0.0",
|
|
"type": "module",
|
|
"portless": { "name": "mcp.dev.supermemory", "script": "dev:app" },
|
|
"scripts": {
|
|
"build:ui": "vite build",
|
|
"dev": "portless",
|
|
"dev:app": "vite build && wrangler dev --port ${PORT:-8788}",
|
|
"deploy": "vite build && wrangler deploy --minify",
|
|
"cf-typegen": "wrangler types --env-interface CloudflareBindings",
|
|
"test:e2e": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@cloudflare/workers-oauth-provider": "^0.2.2",
|
|
"@modelcontextprotocol/ext-apps": "^1.0.0",
|
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
"agents": "^0.3.5",
|
|
"hono": "^4.11.1",
|
|
"posthog-node": "^5.18.0",
|
|
"supermemory": "^4.0.0",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20250620.0",
|
|
"d3-force-3d": "^3.0.5",
|
|
"force-graph": "^1.49.0",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^6.0.0",
|
|
"vite-plugin-singlefile": "^2.3.0",
|
|
"vitest": "^3.2.4",
|
|
"wrangler": "^4.4.0"
|
|
}
|
|
}
|