Analysis

MCP's First Data Leaks: What Happens When Agents Connect to Everything

The Model Context Protocol makes AI agents useful by letting them connect to your apps. The NSA warned about the security risks in June. The same month, an Asana integration leaked data across customer accounts. The pattern is clear: the thing that makes agents capable is also the thing that can expose you.

12 min readBy Mindly Team

The Model Context Protocol, or MCP, is the emerging standard for connecting AI agents to external tools. It is backed by the Linux Foundation and supported by OpenAI, Google, and Microsoft. By mid-2026, more than ten thousand MCP servers had reportedly been deployed in production. The protocol matters because it is what lets an AI agent do more than chat. When an agent can check your calendar, update your tasks, read your notes, and send messages on your behalf, it is MCP or something like it that provides the plumbing. The capability is real and useful. So is the attack surface. In June 2026, the NSA and CISA published joint security guidance on MCP, warning about data exposure risks in open-source deployments. That same month, Asana disclosed that its MCP integration had leaked data between customer accounts for roughly two weeks, affecting about a thousand organizations. These are the first visible incidents, not the last. The protocol is young, the tooling is immature, and the pressure to ship integrations is high. Understanding the tradeoffs now, before agents are everywhere, is the window that will not stay open.

What MCP Actually Does

MCP is infrastructure: the pipes that let an AI agent call external APIs, read external data, and take actions in external systems.

The specification defines how an AI host (the thing running the agent) communicates with MCP servers (the things that provide access to tools and data). When you ask an agent to check your calendar, the host issues an MCP call to a calendar server, which queries the actual calendar API and returns the result. The agent sees the result and incorporates it into its response.

The July 2026 revision removed protocol-level sessions, allowing each request to be handled independently. This simplifies server implementation but also changes the security model: there is less built-in context about who is asking and why. Each request has to carry its own authorization, and mistakes in that authorization propagate immediately.

MCP's design principles call for explicit user consent before data is exposed. Hosts are supposed to obtain permission before connecting to servers, and servers are supposed to respect scopes. These are principles, not enforcement: the spec describes what should happen, not what must happen at the protocol level. Implementation quality varies, and the incidents to date suggest it varies a lot.

The NSA's Warning

In June 2026, the NSA and CISA published joint guidance on MCP security. The document is aimed at organizations deploying MCP servers and the developers building them, but the concerns apply to anyone who uses AI agents that connect to their tools.

The guidance flags several risks. Open-source MCP agents have been observed exposing sensitive MCP server data, meaning the data your tools hold can be read by the agent and potentially forwarded elsewhere. Misconfigured authorization can allow cross-tenant access, where one customer's agent sees another customer's data. And prompt injection attacks can abuse tool access, tricking an agent into taking actions the user did not intend.

The recommendations are standard security practice, applied to a new domain: authenticate every request, scope permissions narrowly, log access, monitor for anomalies. The problem is that MCP adoption is outpacing security maturity. The pressure to ship integrations is immediate; the pressure to ship secure integrations is longer-term. The early incidents are the predictable result.

The Asana Incident

In June 2026, Asana disclosed that its MCP feature had caused cross-tenant data leakage. For roughly two weeks, an authorization flaw allowed data from one customer's Asana workspace to appear in responses to another customer's agent queries. Approximately one thousand organizations were affected.

The technical cause was a misconfiguration in how session context was handled across requests. The fix was straightforward once identified. The harder question is how it passed review in the first place, and the answer is probably speed: MCP integrations are a competitive feature, and the incentive to ship fast is strong.

A follow-up investigation found no evidence of exploitation. The exposure was real, but apparently no one noticed in time to abuse it. This is cold comfort. The same class of bug, in a more attractive target, with a longer detection time, would be a serious breach. The Asana incident is a warning shot, not a near miss.

RiskWhat happensExample
Cross-tenant leakageOne user sees another's dataAsana, June 2026
Over-permissioned scopeAgent can do more than intendedCalendar read becomes calendar write
Prompt injection abuseAttacker tricks agent into actionHidden instruction in a document
Logging exposureSensitive data in request logsAPI keys in debugging output
Credential theftAgent token captured and replayedSession token in error message
The shape of MCP risk

Why This Matters for Personal Knowledge

The incidents so far are enterprise-focused, but the same architecture is coming to personal tools.

When you give an agent access to your notes, your calendar, your task list, you are granting MCP access to your personal data. The agent can read what you wrote, see where you will be, know what you are working on. That is the point: it is why agents are useful. It is also why a misconfigured integration, or a compromised server, or a successful prompt injection, can reach further than a bug in a regular app.

The difference is scope. A bug in a note app affects the notes in that app. A bug in an MCP server that connects to multiple apps affects everything the server can reach. The more you connect, the larger the blast radius. And the pressure is always to connect more, because that is what makes the agent smarter.

This is not an argument against using agents. It is an argument for understanding what you are granting and limiting it deliberately. The default should be minimal access, expanded only when there is a clear reason, with the understanding that every connection is a surface.

How to Think About Agent Access

The useful frame is the same one that applies to any permission grant: what is the minimum access that gets the job done? If you want an agent to summarize your notes, it needs to read your notes. It does not need to write them, delete them, or share them. Grant read, not write. Scope to the folder, not the whole library.

The harder question is what happens when agents get more autonomous. Today you invoke an agent, it does a task, you see the result. Tomorrow an agent runs in the background, checks your tools periodically, takes actions on your behalf. The scope question becomes: what can it do while you are not looking? And the answer, if you are not careful, is everything you gave it access to.

The practical response is layered defense. Use MCP integrations from vendors you trust, because implementation quality matters and you cannot audit it yourself. Prefer read-only access where possible. Review what is connected periodically. And keep the things you really cannot afford to lose somewhere that is not connected to everything else, because the blast radius of a bug scales with what is reachable.

Mindly keeps your notes on your Mac, with AI that reads them locally rather than through a cloud protocol. The connection stays on your device. Local-first architecture →

What to Do Now

  • Audit what is connected. If you use AI agents, check what MCP servers or integrations they have access to. Know what each one can read and write.
  • Prefer read-only where possible. If an integration only needs to check your calendar, it does not need to modify it. Grant the minimum scope.
  • Separate sensitive data. Keep the things you cannot afford to leak in a separate system, not connected to your agent's MCP universe.
  • Watch for news of incidents. The Asana leak was disclosed; others may not be. Security researchers are paying attention to MCP now, and findings will surface.
  • Ask vendors about their MCP security. If you use a tool that offers MCP integration, ask how they handle authorization, logging, and cross-tenant isolation. The answer tells you how seriously they take it.

Frequently asked questions

What is the Model Context Protocol (MCP)?

MCP is a standard for connecting AI agents to external tools and data sources. It defines how an agent host communicates with servers that provide access to calendars, task managers, note apps, and other services. It is backed by the Linux Foundation and supported by major AI vendors.

What did the NSA say about MCP security?

In June 2026, the NSA and CISA published joint guidance warning about data exposure risks in MCP deployments. They noted that open-source MCP agents had been observed exposing sensitive data, and recommended strict authentication, narrow scoping, and logging.

What was the Asana MCP data leak?

In June 2026, Asana disclosed that its MCP integration had leaked data between customer accounts for about two weeks, affecting roughly a thousand organizations. An authorization flaw allowed one customer's agent queries to see another customer's data. The issue was fixed and no exploitation was found.

Is MCP safe to use?

MCP is as safe as its implementation. The protocol defines principles for consent and scoping, but enforcement depends on each server and host. Well-implemented integrations from reputable vendors are reasonably safe. Early or rushed implementations carry more risk.

How can I limit MCP risk?

Grant the minimum access needed. Prefer read-only permissions. Use integrations from vendors you trust. Audit what is connected periodically. Keep highly sensitive data in systems that are not connected to your agent's MCP universe.

Does MCP affect personal note-taking apps?

Increasingly yes. Many note apps and personal knowledge tools are adding MCP support to enable AI agent access. The same risks that affect enterprise tools, cross-tenant leakage, over-permissioned scope, prompt injection, apply to personal deployments.

Should I avoid AI agents because of MCP risks?

Not necessarily. Agents provide real value, and many integrations are well-implemented. The point is to understand the tradeoff: capability requires access, and access creates exposure. Make that tradeoff deliberately rather than by default.

Sources

What This Article Cites

  1. Model Context Protocol Security Design GuidanceNSA and CISA · 2026Joint guidance on MCP security risks and recommendations.
  2. The MCP Ecosystem in 2026: State of the StandardChatForest · 2026Industry overview including the Asana incident and adoption figures.
  3. Model Context Protocol SpecificationModel Context Protocol · 2026The July 2026 specification revision and its changes.

Keep reading

Related Articles

Related features

Built into Mindly

Your Second Brain
Is One Download Away

Free for macOS. No account required.