supermemory/apps/mcp/e2e
MaheshtheDev 9808441f6b test(mcp): add deployed-server e2e suite (#1057)
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.
2026-06-07 04:30:17 +00:00
..
auth.test.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
capture-oauth-token.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
discovery.test.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
graph.test.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
helpers.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
memory.test.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
oauth.test.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
root-scope.test.ts test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00