Home icon

Run custom MCP proxies serverless on Amazon Bedrock AgentCore Runtime

Machine Learning Blog



This article explains how to deploy a serverless MCP proxy on Amazon Bedrock AgentCore Runtime to add custom controls to AI agent-tool interactions.

  • MCP proxy acts as intermediary between agents and upstream MCP servers with custom logic
  • Proxy dynamically discovers tools from upstream server and re-exposes them transparently
  • Supports both IAM and OAuth JWT authentication methods for upstream server connections
  • Authorization enforced independently at each layer: agent-to-proxy, proxy-to-upstream, upstream-to-tools
  • Enables customizations like PII tokenization and tool-level access control without modifying upstream server
  • Automated deployment script handles IAM role creation, container building, and AgentCore Runtime deployment
  • Proxy runs stateless on AgentCore Runtime with automatic scaling and CloudWatch observability

The solution provides a reusable pattern for organizations with existing MCP filtering logic to add governance controls at the protocol layer while maintaining separation from upstream tool execution.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Apr 9
2026
Introducing stateful MCP client capabilities on Amazon Bedrock AgentCore Runtime
Jun 1
2026
Extending MCP support for Amazon Bedrock AgentCore Gateway
Mar 11
2026
Amazon Bedrock AgentCore Runtime now supports stateful MCP server features
May 4
2026
General availability of AWS for SAP MCP Server in Amazon Bedrock AgentCore

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.