Q7AI Safety, Security, and Governance
A company uses AWS Lambda functions to create an AI agent solution. A GenAI developer must configure a Model Context Protocol (MCP) server that accesses user information. The GenAI developer must also configure the AI agent to use the new MCP server. The GenAI developer must ensure that only authorized users can access the MCP server. Which solution meets these requirements?
← → navigate · a answer
Community votes
Discussion · 2
C 2
Question is about grant access to authorized users only "only authorized users can access the MCP server"
Cogneto is the best solution. (C)
D will not work -- do not want to save creds.
C 1
Amazon API Gateway HTTP API can be invoked over Streamable HTTP, which is the right transport for a remote MCP server. Putting API Gateway in front of Lambda also gives you a clean place to enforce authentication and authorization. Amazon Cognito can provide the OAuth-based access control so only authorized users can access the MCP server.