{
  "id": 22367596,
  "title": "MCP tools that can't leak your users' data: numbers and closed enums only",
  "url": "https://urgent.news/2026/11/28/mcp-tools-that-cant-leak-your-users-data-numbers-and-closed-enums-only",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-28T13:00:00.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mnemonicaai/mcp-tools-that-cant-leak-your-users-data-numbers-and-closed-enums-only-15j9"
  },
  "original_language": null,
  "account": "When using a Model Context Protocol to connect ChatGPT or Claude to your application, every response from the tools goes through an export boundary. This means the data leaves your service and may be quoted, summarized, or kept in conversation logs that you cannot access. The reporter explains the design rules for building MCP tools that prevent leaking users' data, using a support-chat analyzer as an example. The analyzer reports on how a support team handles conversations, focusing on numbers, closed enums, and not returning any text. They never include names, messages, or any personal details in the exported data. The tool should only read stored results and return them, rather than performing new analysis, to avoid triggering model spend and obtaining fresh data views. Access to the tools is restricted to the user's own permission level, and tokens are bound to a specific MCP URL to ensure only verified assistants can connect. Public tools that don't involve user data can be made public, but mixing data-accessing tools with public tools is prohibited. The output schema is a contract that must be designed carefully, with new information added as optional fields or new tools, and breaking changes treated as breaking changes to a public API. The trade-off is that numbers-only tools are less impressive in a demo than tools that return ready-made summaries, but they prevent data leakage, making them the only version worthy of shipping for a product built on personal conversations.",
  "summary": "When you let ChatGPT or Claude call your app through the Model Context Protocol, every tool response leaves your service and lands in someone else's context window. The assistant may quote it, summarise it or keep it in a conversation you'll never see. We build Le Confidant , which analyses personal chats, so we treat our MCP tools as an export boundary , not as another API. This post shows the…",
  "summary_source": "publisher",
  "key_points": [
    "MCP tools export only numbers and closed enums, no text data",
    "Tools read stored results, avoid new analysis to prevent leakage",
    "Access restricted to user's permission level, tokens bound to MCP URL"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}