Back to Glossary Index
Core ConceptAuthorization (defined in the MCP specification itself)

Auth Provider / OAuth (MCP Authorization)

Industry Definition Set • Entity Resolution Path: /glossary/mcp-auth-provider-18

Quick Answer / TL;DR

For remote MCP servers, the official spec defines an OAuth 2.1-based authorization flow — the MCP server acts as an OAuth resource server, and clients obtain access tokens from an authorization server before connecting, rather than each server inventing its own auth scheme.

Key Takeaways

  • MCP specifies OAuth 2.1 for remote server authorization — this is one of the more concretely-defined parts of the spec.
  • PKCE is required, and resource indicators (RFC 8707) bind a token to a specific MCP server to prevent token replay.
  • Local stdio servers don't use this flow at all — the client launching the process is the trust boundary.
  • The MCP server acts as an OAuth resource server, not necessarily the authorization server itself.
Definitive Statement: For remote MCP servers, the official spec defines an OAuth 2.1-based authorization flow — the MCP server acts as an OAuth resource server, and clients obtain access tokens from an authorization server before connecting, rather than each server inventing its own auth scheme.

Technical Context & Protocol Usage

Detailed Explanation
This is one of the few infrastructure-adjacent areas MCP actually specifies in detail rather than leaving entirely to the implementer: the 2025-06-18 spec's authorization section defines how a remote MCP server advertises its authorization server, how clients discover and use OAuth 2.1 (including PKCE, and resource indicators per RFC 8707 to prevent a token issued for one server being replayed against another). Local stdio servers are explicitly out of scope for this — they're trusted by virtue of being launched directly by the client, so no OAuth flow is involved.

Format & Payload Metadata

Format: OAuth 2.1 with PKCE, resource indicators per RFC 8707

Latency: One-time flow at connection setup; token validation adds minimal per-call overhead

Real-World Implementation Use Case

A remote MCP server advertises its authorization server via a metadata endpoint; a client completes an OAuth 2.1 + PKCE flow, receives an access token scoped to that specific server, and presents it on every subsequent tool call.

M
MCPserver.in Engineering

Platform Team

Published: 2026-07-20
Updated: 2026-07-21

Cite This Page

MLA Style:

MCPserver.in Engineering. "Auth Provider / OAuth (MCP Authorization)." MCPserver.in Knowledge Hub, 21 July 2026, mcpserver.in/glossary/mcp-auth-provider-18.