TL;DR: MCP security depends on OAuth 2.1, PKCE, metadata discovery, dynamic registration, and strict JWT validation so AI clients can be identified, scoped, and revoked before they trigger real-world actions, according to WorkOS. The key shift is that authentication and authorization become runtime control points, not setup tasks.
Editorial analysis by NHI Mgmt Group, based on content published by WorkOS: “The developer’s guide to MCP auth”.
Key questions
Q: How should security teams handle secrets when connecting LLM clients to MCP servers?
A: Security teams should treat MCP credentials like any other privileged secret and keep them out of untrusted forms, shared dashboards, and long-lived server storage.
Q: Why does MCP turn least privilege into a runtime problem?
A: Because the AI client can request, receive, and use access during the same task, so the meaningful security decision happens when the request is made, not when the integration is set up.
Q: What are the signs that an MCP authorization model is too loose?
A: Warning signs include token passthrough between components, broad token scopes, shared sessions for workloads, and redirect URI patterns that accept wildcards or partial matches.
Practitioner guidance
- Implement PKCE for all public MCP clients Treat every browser-mediated or distributed client as unable to safely store a secret.
- Publish protected resource metadata Serve a well-known discovery document so clients can learn trusted authorization servers, supported bearer methods, and key locations before any tool call is attempted.
- Validate JWTs at the server boundary Check issuer, audience, expiry, signing keys, and required scopes before executing an MCP tool action.
Bottom line: MCP auth depends on runtime enforcement, because AI clients can act on delegated access during the same session in which the token is issued.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Least privilege in MCP is a runtime control, not a provisioning event. The article correctly shows that AI clients can move from authenticated access to real-world action inside the same execution path, which collapses the old assumption that access can be safely defined once and reviewed later. OAuth 2.1, PKCE, metadata discovery, and JWT validation only work as a control system when they are enforced at the moment of use. The practitioner takeaway is that MCP governance must be designed around request-time decisions, not onboarding checklists.
A few things that frame the scale:
- 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, according to the 2026 Infrastructure Identity Survey.
- Systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems. Organisations failing to scope AI access properly are 4.5x more likely to experience a security incident, according to the 2026 Infrastructure Identity Survey.
A question worth separating out:
Q: What should IAM teams review before allowing MCP in production?
A: IAM teams should review how the protocol establishes identity, how tool permissions are assigned, and whether the same policy is enforced consistently across clients. If the answer differs by implementation, the organisation has a governance gap that can produce uneven access and weak audit trails.
👉 Read our full editorial: MCP auth turns least privilege into a runtime design problem