supermemory/packages/ui
Prasanna721 2bbc7fc7a5 feat(mcp): add interactive memory graph MCP App visualization (#763)
### feat(mcp): add memory graph visualization MCP App

#### Summary
  - Add interactive force-directed graph visualization as an MCP App using `force-graph` + `d3-force-3d`
  - Register `memory-graph` and `fetch-graph-data` tools with MCP Apps SDK UI resources
  - Add graph API client methods (`getGraphBounds`, `getGraphViewport`) to `SupermemoryClient`
  - Set up Vite + `vite-plugin-singlefile` build pipeline to produce a self-contained HTML bundle
  - Support light/dark theme, zoom controls, node popups, and legend

  #### Files changed
  - `apps/mcp/src/server.ts` — register app tools + HTML resource
  - `apps/mcp/src/client.ts` — add graph API types and methods
  - `apps/mcp/src/ui/mcp-app.ts` — force-graph visualization app
  - `apps/mcp/src/ui/global.css`, `mcp-app.css` — styling
  - `apps/mcp/mcp-app.html` — entry HTML for Vite
  - `apps/mcp/vite.config.ts` — Vite single-file build config
  - `apps/mcp/package.json` — add UI deps and build scripts
  - `apps/mcp/wrangler.jsonc` — add HTML text import rule
2026-03-05 16:28:34 +00:00
..
assets PR: nova alpha release (#670) 2026-01-13 00:54:56 -08:00
button feat(mcp): add interactive memory graph MCP App visualization (#763) 2026-03-05 16:28:34 +00:00
components fix: chat messages saving broken (#730) 2026-02-11 00:25:35 +00:00
input feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
memory-graph feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
other Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
pages feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
text feat: delete memories and theme issues across the app (#449) 2025-10-03 07:51:00 +00:00
biome.json feat: migrate from react-markdown to streamdown (#394) 2025-08-29 19:45:47 +00:00
components.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
copy-button.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
copyable-cell.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
globals.css PR: nova alpha release (#670) 2026-01-13 00:54:56 -08:00
package.json feat: migrate to api_pro billing and add credits-based usage display (#729) 2026-02-10 05:53:47 +00:00
tsconfig.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00