AI Cloud Architect

Implementing defense-in-depth authorization for MCP tools on AWS Quick

AWSHow-to by Anneline Sibanda, David Perez Caparros, Nikhil Goyal, Josh DeMuth and Ramon Diez LejarazuAWS Artificial Intelligence Blog

Learn how to enforce defense-in-depth authorization for Model Context Protocol (MCP) tools on Amazon Quick. This walkthrough wires Microsoft Entra ID group and claims-based JWTs through an Amazon Bedrock AgentCore Gateway interceptor to apply per-user, per-tool role-based and attribute-based access control, with a server-side check and an immutable audit trail.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Walkthrough that adds a four-gate authorization check (MFA, country geo-fence, group RBAC, tool permission) to MCP tool calls on AWS Quick, using Microsoft Entra ID claims and a Bedrock AgentCore Gateway interceptor.

Who it is for

Architects securing MCP tools on AWS Quick that reach sensitive data and need per-user, per-tool access control for compliance audits.

Key points

  • Requires Entra ID P1 or P2 for the Conditional Access MFA policy.
  • Resource app needs identifierUris set via Microsoft Graph and requestedAccessTokenVersion set to 2.
  • The example uses a fictional risk register with six tools; tool Lambdas also re-check permissions server-side and write audit records to DynamoDB.

The same at other vendors

Timeline

  1. What it explainsApply fine-grained access control with Bedrock AgentCore Gateway interceptors · AWS · Announcement
  2. Read firstConnect an AgentCore Runtime hosted MCP server to AWS Quick · AWS · How-to
  3. This postImplementing defense-in-depth authorization for MCP tools on AWS Quick

Go deeper