Because MCP sessions are stateful and the LLM can chain decisions within one token’s lifetime. If a broad scope is granted once, a single malicious prompt or tool change can reuse that access across multiple calls. The safer pattern is use-case-scoped access with expiry and re-authorisation.
Why This Matters for Security Teams
Broad session scopes are more dangerous in MCP than in normal APIs because the session is not just a transport container, it is an execution context that an LLM can keep using, re-planning against, and chaining across multiple tool calls. A scope that looks harmless at the first request can become over-privileged after the model changes intent, receives a new prompt, or selects a different tool path. That is why current guidance from the OWASP Agentic AI Top 10 and the OWASP Agentic Applications Top 10 treats agentic access as a runtime authorization problem, not a one-time login problem.
Normal APIs usually have clearer request boundaries, narrower function shapes, and more predictable caller intent. MCP shifts that risk because the model can string together tool actions inside one session, especially when the server trusts the earlier grant too much. Security teams often miss this distinction and over-apply human-session thinking to autonomous workloads. In practice, many security teams encounter privilege reuse only after a single broad MCP session has already been used to reach data or tools that were never meant to stay in scope.
How It Works in Practice
The safer MCP pattern is to treat every tool invocation as a fresh authorization decision, even when the session remains open. That means the server should not assume that a permission granted at session start remains valid for the rest of the conversation. Instead, it should evaluate the agent’s current intent, the exact tool being requested, the data class involved, and the time window for that action. This is where intent-based or context-aware authorization becomes more useful than static RBAC alone.
For autonomous or semi-autonomous systems, the practical controls usually include short-lived session tokens, just-in-time access, and per-tool scoping. If the agent needs to read a calendar, that should not imply it can also mutate records, export files, or call downstream admin tools. Workload identity also matters: the server should know what the agent is, not just what credential it presented. That is why patterns such as SPIFFE, OIDC-bound workload tokens, and policy-as-code checks are increasingly used to bind identity to a specific runtime task.
- Issue ephemeral credentials with tight TTLs and revoke them when the task completes.
- Require re-authorization when the agent changes tools, data domains, or user context.
- Use policy engines such as OPA or Cedar to evaluate the request at runtime.
- Separate read, write, and administrative capabilities instead of bundling them into one broad session.
This is consistent with NHIMG coverage of live agent failures, including the Analysis of Claude Code Security and the broader Ultimate Guide to NHIs — Key Challenges and Risks, where permission design failed to match execution reality. These controls tend to break down when the MCP server proxies legacy backends that were built for long-lived user sessions and cannot enforce per-tool re-authorization cleanly.
Common Variations and Edge Cases
Tighter session scoping often increases operational friction, requiring organisations to balance stronger containment against latency, developer effort, and user experience. That tradeoff is real, and best practice is still evolving for multi-tool agent workflows. There is no universal standard for how much context should survive across MCP turns, especially when the agent needs to preserve workflow state without preserving privilege.
One edge case is a read-heavy assistant that appears low risk but can still become dangerous if read access includes sensitive prompt memory, hidden configuration, or downstream secrets. Another is a delegated enterprise workflow where the model acts on behalf of a user, because the user’s rights and the agent’s rights are not always the same thing. In those cases, current guidance suggests splitting user intent from tool authority and issuing the minimum rights needed for the exact step being executed.
NHIMG research shows why this matters operationally: the State of MCP Server Security 2025 reports that only 18% of MCP server deployments implement any form of access scoping for tool permissions. That gap explains why broad sessions remain a high-value target, especially when paired with persistent secrets or weak revocation. The same pattern appears in real incidents such as the Replit AI Tool Database Deletion case, where tool reach mattered as much as model intent.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Broad MCP sessions amplify agentic prompt and tool abuse risk. |
| CSA MAESTRO | TRUST-03 | MAESTRO addresses runtime trust decisions for autonomous agent workflows. |
| NIST AI RMF | GOVERN | AI RMF governance covers accountability for dynamic model behaviour. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Session scope is an NHI privilege-management problem, not just API design. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access control is central to limiting MCP session blast radius. |
Assign ownership, policy, and review for agent sessions that can change intent mid-flight.