Skip to content

feat(mcp): add privacy-safe recall receipts#1053

Open
SiddheshCodes4554 wants to merge 1 commit into
supermemoryai:mainfrom
SiddheshCodes4554:feat/mcp-privacy-receipts
Open

feat(mcp): add privacy-safe recall receipts#1053
SiddheshCodes4554 wants to merge 1 commit into
supermemoryai:mainfrom
SiddheshCodes4554:feat/mcp-privacy-receipts

Conversation

@SiddheshCodes4554
Copy link
Copy Markdown
Contributor

This PR adds an optional, privacy-safe receipt mechanism for MCP recall operations so users can debug cross-client memory behavior without exposing raw memory content, prompts, or repository text.

Why

In multi-client workflows (Cursor, Claude Code, VS Code, etc.), debugging failures like:

  • “memory wasn’t recalled”
  • “wrong project context was retrieved”
  • “search worked but context wasn’t loaded”

currently requires sharing sensitive raw content.

What’s Included

  • Added a new receipt helper module for:
    receipt shape/type
  • SHA-256-based privacy hashing (with optional salt)
  • similarity score bucketing
  • standardized receipt log formatting
  • Wired receipt generation into recall flow (both profile and non-profile paths)
  • Added optional server-side receipt logging via env flags
  • Documented receipt behavior and configuration in MCP README

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