What is OAuth for MCP?
OAuth for MCP is the optional authorization part of the Model Context Protocol, in which an HTTP-based MCP server acts as an OAuth 2.1 resource server and the client obtains access tokens from an authorization server.
Also written: MCP authorization, MCP auth, MCP OAuth
Explained
The MCP authorization specification describes how a client gets permission to call a protected MCP server on behalf of a resource owner. It is optional. When supported, servers that use an HTTP-based transport should follow it, while stdio servers should skip it and read credentials from the environment.
The roles map onto OAuth 2.1. The MCP server is the resource server, the MCP client is the OAuth client, and a separate authorization server issues tokens. A client that calls without a token gets an HTTP 401 whose WWW-Authenticate header points to the server's Protected Resource Metadata (RFC 9728). From there the client discovers the authorization server and gets a client ID, using Client ID Metadata Documents, pre-registration, or Dynamic Client Registration, which the spec marks as deprecated.
The client then runs an authorization code flow with PKCE and sends a resource parameter (RFC 8707) naming the MCP server. Tokens go in the Authorization: Bearer header on every request and never in the query string. Servers must check that a token was issued for them as the audience.
If a token lacks needed scope, the server can answer 403 with insufficient_scope, and the client may request a broader token.
Primary source
Authorization - Model Context Protocol specification (2026-07-28) (modelcontextprotocol.io), read Oct 26, 2026
This entry paraphrases the page above. Sources change; check it for the current wording.
Listings that use this
The 5 top-ranked listings tagged for OAuth for MCP. Rank weighs adoption, freshness, documentation and publisher identity; how we rank and grade. Money never changes the order.
- 0.859score
OpenWork MCP Gateway
openworklabs.com
Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
ConnectorAFreshness: ARemote★ 24.2KClaude Code +3 - 0.789score
MoneyMatter
letehaha
Personal finance tracker: accounts, transactions, budgets, investments and analytics over OAuth.
ConnectorAFreshness: ARemote★ 185Claude Code +3 - 0.708score
NotFair
nowork-studio
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
ConnectorAFreshness: ARemote★ 4.1KClaude Code +3 - 0.691score
Gmail
mcp-z
Gmail integration with OAuth authentication, message search, batch operations, and Sheets export
ConnectorAFreshness: ARemoteLocal↓ 2K/wkClaude Code +5 - 0.680score

Dabble Me Journal
parterburn
Private journal MCP server to search, analyze, and create Dabble Me entries securely via OAuth.
ConnectorAFreshness: ARemote★ 80Claude Code +3
Related
Cite this page
What is OAuth for MCP?. Agent Mart. https://agentmart.dev/glossary/mcp-oauth (last updated 2026-10-26)
Written Oct 26, 2026, updated Oct 26, 2026. All glossary terms