OAuth
Industry Definition Set • Entity Resolution Path: /glossary/oauth
Quick Answer / TL;DR
An authorization framework that lets MCP clients or servers request scoped access to third-party services without directly handling a user's password.
Key Takeaways
- OAuth delegates access using scoped tokens.
- MCP servers should store tokens outside source code.
- Scopes should match the smallest set of tools a server exposes.
- Logs and model responses must never reveal raw OAuth tokens.
Technical Context & Protocol Usage
OAuth is commonly used when MCP servers connect to SaaS systems such as GitHub, Google, Slack, Notion, or payment platforms. Instead of placing a full account password inside an MCP configuration, the system exchanges grants and tokens with defined scopes. For production MCP deployments, OAuth tokens should be encrypted, rotated, scoped narrowly, and never exposed in tool outputs or logs.
Format & Payload Metadata
Format: Bearer tokens, grants, scopes, refresh tokens
Latency: Token validation adds minimal overhead when cached safely
Real-World Implementation Use Case
Connecting a support MCP server to a SaaS helpdesk with read-only ticket scopes for Indian customer support teams.
Related Terms
Model Context Protocol (MCP)
An open, secure protocol that standardizes how artificial intelligence agents and large language models (LLMs) exchange context, tools, prompts, and data resources with external servers.
JSON-RPC 2.0
A lightweight, stateless remote procedure call (RPC) protocol defined in JSON that utilizes request, response, and notification message frames.
Stdio Transport (Standard Input/Output)
A local-only transport mechanism where the AI client spawns the MCP server as a child process and communicates via standard input (stdin) and standard output (stdout) channels.
SSE Transport (Server-Sent Events)
A lightweight, unidirectional HTTP-based streaming protocol used by remote MCP servers to push messages to AI clients, with client-to-server writes sent over standard POST requests.
Deploy Secure MCP Clusters
Run remote SSE Model Context Protocol servers in highly secure, fully-managed environment located inside India (Mumbai/Bengaluru).
Deploy Node Now