Implementing defense-in-depth authorization for MCP tools on AWS Quick
AWS•How-to••by Anneline Sibanda, David Perez Caparros, Nikhil Goyal, Josh DeMuth and Ramon Diez Lejarazu•AWS 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.
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.
AI:Both enforce access policies on MCP tool calls at runtime, using Microsoft's Agent 365 and Azure gateway instead of AWS Quick with Entra claims and an AgentCore interceptor
AI:Quick knowledge bases on S3 can now enforce document- and folder-level ACLs, via a global ACL file or per-document metadata files, so chat and Flows only return content the user may see.
AI:AtScale provides a governed dimensional semantic layer on Amazon Redshift that a Strands agent on Bedrock AgentCore queries through the AtScale MCP server, with RBAC and row security enforced before queries reach the warehouse.
AI:A four-scope maturity model (Connect, Control, Catalog, Harden) for building a governed MCP tool gateway on AgentCore, where each scope is added only when a specific governance problem appears.