MCP authorization
Definition
The part of the MCP specification that defines how clients obtain OAuth 2.1 access tokens for remote MCP servers over HTTP.
In more detail
A remote MCP server acts as an OAuth resource server. It publishes protected resource metadata that names its authorization server; the client discovers that, registers, sends the user through a browser sign-in and receives a token scoped to that server. Local stdio servers usually take credentials from the environment instead.
The 2026-07-28 revision prefers Client ID Metadata Documents for client registration and deprecates Dynamic Client Registration, and tightens issuer checks. For users the practical points are to grant the smallest scopes offered and to remember that a token given to a server lets it act as you within those scopes.
Related terms
Least privilege
Granting an agent or tool only the permissions and data access its task requires, and nothing more, so a mistake does less damage.
MCP server
A program that exposes tools, resources or prompts to MCP clients, running locally over stdio or remotely over HTTP, so any MCP host can use them.
Streamable HTTP
The MCP transport for remote servers, using HTTP POST requests with optional streamed responses. It replaced the older HTTP+SSE transport.
Read more about MCP authorization
- What changed in MCP 2026-07-28: a stateless protocol
The July 2026 MCP specification removes the handshake and sessions, adds server discovery and deprecates roots and sampling. What it means for you.
- Build an MCP server for an internal API
Two read-only tools, tested in MCP Inspector and called from Claude Code, Codex or Cursor.
- Model Context Protocol
Connecting AI applications to tools and data through MCP servers and clients.