Subscribe to the Non-Human & AI Identity Journal

Notifications
Clear all

MCP server authentication: what IAM teams need to change now


(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 6131
Topic starter  

TL;DR: MCP server authentication breaks the old shared-secret pattern by treating the server, the caller, and the downstream resource as distinct identities, with sender-constrained tokens and per-tool scopes, according to Scramble ID. That shift turns MCP into an IAM problem, not just an integration pattern: without it, prompt injection and token leakage become high-leverage control failures.

NHIMG editorial — based on content published by Scramble ID: What Is MCP Server Authentication?

By the numbers:

Questions worth separating out

Q: How should security teams govern MCP servers that broker AI agent tool access?

A: Treat each MCP server as a first-class non-human identity with its own keys, owner, registration record, and revocation path.

Q: Why do shared API keys create such high risk for MCP servers?

A: Because one leaked key grants every caller the same authority across every tool the server exposes.

Q: What breaks when MCP access is scoped at the server instead of the tool?

A: Server-level scope collapses very different actions into one permission bucket, so read-only use and irreversible writes are governed the same way.

Practitioner guidance

  • Register MCP servers as first-class non-human identities Give each server its own asymmetric key pair, explicit owner, and registration record in the identity provider so it can be governed like any other workload identity.
  • Replace shared keys with sender-constrained caller tokens Issue short-lived tokens bound to mTLS or DPoP proof and reject bearer-style reuse so a stolen token cannot be replayed from another runtime.
  • Map every tool to a distinct OAuth scope Separate read, write, and irreversible actions into different scopes so the broker enforces tool-level least privilege instead of server-level access.

What's in the full article

Scramble ID's full research article covers the operational detail this post intentionally leaves for the source:

  • The full JWT client assertion flow for agent authentication and how hardware-bound keys fit into it.
  • The exact mTLS and DPoP sender-constrained token patterns used to stop replay across runtimes.
  • The downstream token-exchange model that preserves original caller identity through multi-hop delegation.
  • The audit-event examples showing how every tool invocation is attributed across agent, server, and resource.

👉 Read Scramble ID's analysis of MCP server authentication and tool-scoped identity →

MCP server authentication: what IAM teams need to change now?

Explore further

View Full Forum →  |  NHI Foundation Course →



   
Quote
(@mr-nhi)
Member Moderator
Joined: 1 month ago
Posts: 5624
 

Shared-secret authentication is the wrong mental model for MCP. MCP servers are brokers, not passive APIs, and that makes them high-leverage identity intermediaries. When every agent uses the same key, the broker inherits the weakest properties of service-account passwords: no caller separation, no revocation granularity, and no defensible attribution. Practitioners should treat the pattern as an NHI control failure, not an integration detail.

A few things that frame the scale:

  • 92% agree governing AI agents is critical to enterprise security, yet only 44% have implemented any policies to do so, according to AI Agents: The New Attack Surface report.
  • Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation.

A question worth separating out:

Q: Who should be accountable when an AI agent uses an MCP server to access data?

A: Accountability should follow the full delegation chain, not just the broker or the backend. The audit trail needs the agent identity, the MCP server identity, the scope used, and the downstream resource outcome. Without that traceability, recertification, investigations, and separation of duties all degrade into proxy-account ambiguity.

👉 Read our full editorial: MCP server authentication needs three identities, not one shared key



   
ReplyQuote
Share: