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

Artificial Intelligence · 1h ago
Products & Tools API & Dev Tools

How-To How to actually use this

What changed: AWS published a pattern for running a central AI agent that securely queries data across multiple AWS accounts using AgentCore Gateway and MCP.

How to use it:

  1. Set up a platform AWS account and deploy the AI agent with Amazon Bedrock AgentCore Gateway.
  2. In each line-of-business account, expose data sources as MCP servers.
  3. Configure cross-account IAM roles and fine-grained policies so the platform account can call the MCP servers.
  4. Register each MCP server endpoint with the AgentCore Gateway in the platform account.
  5. Test the agent by asking it to retrieve or combine data from the different accounts.

Good for: platform teams building secure multi-account AI assistants

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 original article on Artificial Intelligence →