OAuth support for the AWS MCP Server
AI agents can now authenticate to AWS MCP Server via standard OAuth — no CLI or extra software needed, with full IAM governance intact.
View original announcement →Visual Summary
What's New
AWS has introduced OAuth 2.0 support for the AWS MCP (Model Context Protocol) Server, enabling AI agents to authenticate directly using AWS Sign-In without requiring additional authentication software. Agents can now connect using industry-standard OAuth flows — either interactively via a browser or programmatically via headless (non-interactive) authorization. Existing AWS identities, IAM permissions, federation configurations, and governance controls all continue to apply seamlessly.
How It Works
- OAuth Authorization Flow: An agent or application requests access to the AWS MCP Server; AWS Sign-In authenticates the user and issues short-lived OAuth access tokens and refresh tokens that authorize the agent to act on behalf of the authenticated identity.
- Interactive Authorization: For human-in-the-loop scenarios, the agent opens a browser redirecting to the familiar AWS Sign-In page; the user authenticates (supporting IAM federation, IAM Identity Center, root, or IAM users) and approves the authorization request.
- Non-Interactive (Headless) Authorization: Automated agents with existing AWS credentials can obtain OAuth tokens programmatically via a new API, without requiring a browser session.
- IAM Integration: OAuth tokens do not grant additional permissions beyond what the underlying IAM identity already has; all requests are evaluated against existing IAM policies, SCPs, RCPs, and permission boundaries.
- New Governance Capabilities: Administrators gain new global IAM condition keys for OAuth, token introspection and revocation APIs, dynamic client registration for approved OAuth applications, and new CloudTrail audit events covering OAuth authorization and token lifecycle.
- Required Permissions: The managed policy
AWSMCPSignInOAuthAccessPolicymust be attached to the IAM role to enable OAuth-based sign-in for the MCP Server. - Endpoint Configuration: Agents are pointed to the AWS MCP Server endpoint (e.g.,
https://aws-mcp.us-east-1.api.aws/mcp) via HTTP transport, compatible with MCP-supporting agents like Claude Code, Kiro, Codex, and Gemini.
Why It's Important
- Lowers the barrier to agentic AWS access: Developers can connect AI agents to AWS services without installing the AWS CLI, configuring local credentials, or deploying additional authentication middleware — dramatically simplifying onboarding.
- Reuses existing identity infrastructure: Organizations don't need to build or maintain separate identity systems for agents; existing IAM roles, federated identities, and SSO configurations work out of the box.
- Enables web-based agent clients: OAuth support means browser-based AI clients (e.g., Claude.ai, ChatGPT.com) can now connect to the AWS MCP Server, a scenario previously impossible with SigV4-only authentication.
- Strengthens security posture: Short-lived tokens, token revocation, introspection APIs, and CloudTrail audit events give security teams full visibility and control over agent access — critical for enterprise governance.
- Standardizes agent authentication: Using industry-standard OAuth 2.0 means tooling, libraries, and practices from the broader ecosystem apply directly, reducing custom integration work.
- Supports the growing MCP ecosystem: As MCP becomes a de facto standard for agent-tool connectivity, native OAuth support positions AWS as a first-class MCP server compatible with any compliant agent framework.
How It's Different
- vs. SigV4 (existing method): SigV4 requires the AWS CLI, local credential configuration, and the MCP Proxy for AWS; OAuth requires none of these, making it significantly simpler for new users and web-based clients.
- vs. custom agent auth solutions: Rather than building bespoke authentication layers for agents, OAuth leverages the same AWS Sign-In infrastructure used by the AWS Console and CLI — no new identity plane to manage.
- vs. static long-lived credentials: OAuth issues short-lived tokens with built-in expiry and revocation capabilities, reducing the risk surface compared to long-lived access keys.
- New governance primitives: The addition of OAuth-specific global condition keys, dynamic client registration, and token introspection APIs are net-new capabilities not previously available in the AWS IAM/Sign-In ecosystem.
- Session reuse: If a user already has an active AWS Sign-In session (e.g., from a prior Console login), the OAuth flow can reuse that session — eliminating redundant authentication steps.
- Dual-mode support: Unlike solutions that force a single auth model, AWS MCP Server supports both OAuth and SigV4, letting teams choose the right method per use case without forklift changes.
When to Prefer It
- New AWS users or simple single-account setups: OAuth is the recommended starting point — no CLI installation or credential configuration required.
- Web-based agent clients: If your agent runs in a browser-based environment (Claude.ai, ChatGPT.com, or similar), OAuth is the only viable option since these clients cannot run a local MCP proxy.
- Interactive, human-supervised agent workflows: When a human is present to approve authorization in a browser, the interactive OAuth flow provides a familiar and auditable sign-in experience.
- Automated pipelines with existing AWS credentials: Use non-interactive (headless) OAuth when running agents in CI/CD or server-side environments that already have AWS credentials but need OAuth tokens for MCP access.
- Organizations prioritizing audit and governance: When detailed CloudTrail logging of agent token issuance, introspection, and revocation events is required for compliance.
- Avoid OAuth (prefer SigV4) when: You need to switch between multiple AWS accounts in a single session, require read-only mode to hide write-capable tools, need to set a default region per session, or your organization restricts the
signin:AuthorizeOAuth2Accessandsignin:CreateOAuth2Tokenpermissions.
Availability
- General Availability: This feature is generally available as of July 9, 2026.
- Supported Regions: The AWS MCP Server endpoint is currently available in
us-east-1based on the documented endpoint (https://aws-mcp.us-east-1.api.aws/mcp); additional regional endpoints may be available — consult the official documentation for the current list. - Supported Identity Types: IAM federation, AWS IAM Identity Center, root users, and IAM users are all supported for OAuth-based sign-in.
- Pricing: No separate pricing is announced for OAuth support itself; standard AWS Sign-In and IAM usage applies. Costs associated with underlying AWS services accessed via the MCP Server follow their respective pricing models.
- Limitations: Multi-account switching within a single OAuth session is not supported (use SigV4 for that scenario); read-only mode (hiding write-capable tools) is also a SigV4-only capability; some organizations with restrictive IAM policies blocking
signin:AuthorizeOAuth2Accessorsignin:CreateOAuth2Tokenwill need policy updates or must use SigV4. - Required Managed Policy:
AWSMCPSignInOAuthAccessPolicymust be attached to the IAM role used for OAuth-based MCP Server access.