One MCP endpoint for 40 Lambda functions and two OAuth APIs
MLA-C02
Deployment and Orchestration of ML and AI Workflows
Medium
Question 23 of 30
A company is building several agents with open source frameworks such as Strands Agents and LangGraph. The agents must call 40 existing AWS Lambda functions and two internal REST APIs, described by OpenAPI specifications, that require OAuth. Every agent must discover these as Model Context Protocol (MCP) tools through one endpoint, with inbound and outbound authentication handled centrally.
Which solution will meet these requirements with the LEAST operational overhead?
Show answer and explanation
CCreate an Amazon Bedrock AgentCore Gateway with the functions and the OpenAPI specs as targets
AgentCore Gateway meets the requirements. It is a fully managed gateway that turns Lambda functions and APIs described by OpenAPI or Smithy into MCP tools behind one endpoint, handles both inbound and outbound authentication including OAuth flows, and works with frameworks such as Strands Agents and LangGraph. Self-hosted MCP servers on EC2 work, but they leave servers, scaling and authentication code for the company to run. Secrets in a system prompt expose credentials to the model and to anything that can read its context. Function URLs without authentication open the functions to anyone who finds the URL.
Source: docs.aws.amazon.com/
Anonymous, no account needed. Your tally stays in this browser.
Practice by topic: MCP questions