Skip to content

fix(mcp): clarify memory graph pagination#1032

Open
cat0825 wants to merge 1 commit into
supermemoryai:mainfrom
cat0825:cat/memory-graph-pagination
Open

fix(mcp): clarify memory graph pagination#1032
cat0825 wants to merge 1 commit into
supermemoryai:mainfrom
cat0825:cat/memory-graph-pagination

Conversation

@cat0825
Copy link
Copy Markdown

@cat0825 cat0825 commented Jun 1, 2026

Summary

Clarifies that the MCP memory graph initially loads a paginated subset of documents and adds a UI path to load additional pages.

What changed

  • Added pagination metadata to the memory-graph structured content.
  • Updated the initial text summary to say showing N of total documents.
  • Added a Load more button to the MCP memory graph app.
  • Reuses the existing app-only fetch-graph-data tool to fetch subsequent pages.
  • Keeps the initial page size at 10 to avoid loading large graphs upfront.
  • Added tests for graph structured content and summary wording.

Validation

  • bunx biome check --write apps/mcp/src/server.ts apps/mcp/src/memory-graph-data.ts apps/mcp/src/memory-graph-data.test.ts apps/mcp/src/ui/mcp-app.ts apps/mcp/src/ui/mcp-app.css apps/mcp/mcp-app.html
  • bunx vitest run src/memory-graph-data.test.ts
  • bun run --cwd apps/mcp build:ui

bun run check-types currently fails on existing unrelated @supermemory/tools type errors.

@graphite-app graphite-app Bot requested a review from Dhravya June 1, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant