AI Cloud Architect

Build a multi-account AI agent with AgentCore Gateway and MCP

AWSHow-to by Senthil Kamala Rathinam, Karthik Tharmarajan and Shashidhar MakkapatiAWS Artificial Intelligence Blog

Build a multi-account architecture that keeps each team’s data in its own AWS account while giving AI agents a unified way to query across them. A central platform account runs the agent using Amazon Bedrock AgentCore Gateway and MCP, while line-of-business accounts expose their data as MCP servers with secure cross-account access and fine-grained authorization.

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

AI: Summary

What it is

Shows a hub-and-spoke pattern where a central AWS account runs an AI agent through AgentCore Gateway, while line-of-business accounts keep their data and expose it as MCP servers queried at request time.

Who it is for

Platform and architecture teams in multi-account AWS organizations that want agents across team-owned data without copying it.

Key points

  • LOB MCP servers return only tool results, not raw datasets, and authenticate via Okta OIDC tokens.
  • Policy in AgentCore (Cedar, ENFORCE mode) evaluates per-user rules at the Gateway with default-deny.
  • Reference repository deploys across four accounts; the post notes OBO token exchange was not used because the sample Okta account lacks that flow.

The same at other vendors

Timeline

Posts about Amazon Bedrock AgentCore Gateway, oldest first.

  1. Update to an existing featureHow AgentCore Gateway supports the MCP 2026-07-28 spec · AWS · Announcement
  2. How-toConfigure rate limits for AI traffic on AgentCore gateway · AWS · How-to
  3. How-toSecuring AI agents with temporal policies in Amazon Bedrock AgentCore · AWS · How-to
  4. How-toGovern AI agent tool access with Amazon Bedrock AgentCore Gateway · AWS · How-to
  5. This postBuild a multi-account AI agent with AgentCore Gateway and MCP
  6. Update to an existing featureAgentCore Gateway supports private TLS certificates for VPC endpoints · AWS · Announcement
  7. Blog postHow Eon built multi-cloud investigation with an MCP Gateway on Amazon Bedrock AgentCore · AWS · Blog post
  8. New featureAgentCore Gateway now supports Bedrock InvokeModel APIs and model fallback · AWS · Announcement
  9. New featureAWS Step Functions workflows now available as AI agent tools · AWS · Announcement
Show all 28 posts
  1. New featureAmazon Bedrock AgentCore Gateway supports AWS PrivateLink invocation and invocation logging · AWS · Announcement
  2. How-toSecure ingress connectivity to Amazon Bedrock AgentCore Gateway using interface VPC endpoints · AWS · How-to
  3. Blog postTransform your MCP architecture: Unite MCP servers through AgentCore Gateway · AWS · Blog post
  4. How-toBuild a biomedical research agent with Biomni tools and Amazon Bedrock AgentCore Gateway · AWS · How-to
  5. New featureApply fine-grained access control with Bedrock AgentCore Gateway interceptors · AWS · Announcement
  6. Blog postStreamline AI agent tool interactions: Connect API Gateway to AgentCore Gateway with MCP · AWS · Blog post
  7. How-toConnecting MCP servers to Amazon Bedrock AgentCore Gateway using Authorization Code flow · AWS · How-to
  8. How-toConfiguring Amazon Bedrock AgentCore Gateway for secure access to private resources · AWS · How-to
  9. How-toSecure AI agents with Policy and Lambda interceptors in Amazon Bedrock AgentCore gateway · AWS · How-to
  10. Blog postExtending MCP support for Amazon Bedrock AgentCore Gateway · AWS · Blog post
  11. How-toBuilding a secure auth code flow setup using AgentCore Gateway with MCP clients · AWS · How-to
  12. Generally availableIntroducing Web Search on Amazon Bedrock AgentCore · AWS · Announcement
  13. Generally availableAWS WAF adds support for Amazon Bedrock AgentCore Gateway · AWS · Announcement
  14. How-toImplement on-behalf-of token exchange for multi-tenant agents with Amazon Bedrock AgentCore Gateway · AWS · How-to
  15. Update to an existing featureHow AgentCore Gateway supports the MCP 2026-07-28 spec · AWS · Announcement
  16. How-toConfigure rate limits for AI traffic on AgentCore gateway · AWS · How-to
  17. How-toSecuring AI agents with temporal policies in Amazon Bedrock AgentCore · AWS · How-to
  18. How-toGovern AI agent tool access with Amazon Bedrock AgentCore Gateway · AWS · How-to
  19. This postBuild a multi-account AI agent with AgentCore Gateway and MCP
  20. Update to an existing featureAgentCore Gateway supports private TLS certificates for VPC endpoints · AWS · Announcement
  21. Blog postHow Eon built multi-cloud investigation with an MCP Gateway on Amazon Bedrock AgentCore · AWS · Blog post
  22. New featureAgentCore Gateway now supports Bedrock InvokeModel APIs and model fallback · AWS · Announcement
  23. New featureAWS Step Functions workflows now available as AI agent tools · AWS · Announcement
  24. Customer storyHow MoEngage turned over 400 APIs into agent tools with AgentCore Gateway · AWS · Customer story
  25. How-toServiceNow on-behalf-of token exchange with Bedrock AgentCore Gateway · AWS · How-to
  26. How-toGovern AI agent access with Okta Cross App Access and Amazon Bedrock AgentCore – Part 2 · AWS · How-to
  27. How-toConnect Amazon Bedrock AgentCore Gateway to private APIs in a hub-and-spoke network with centralized inspection · AWS · How-to
  28. Blog postProtect agent tool calls with Skyflow and Amazon Bedrock AgentCore Gateway · AWS · Blog post