strands-on-lambda-with-auth0
If you are the rightful owner of strands-on-lambda-with-auth0 and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a structured summary of an AI Agent with MCP Server implementation on AWS Lambda, utilizing Auth0 for authentication.
The AI Agent with MCP Server is a sophisticated implementation designed to provide user-aware AI services, specifically tailored for a travel agent scenario within a corporate environment. Hosted on AWS Lambda, this setup leverages the Model Context Protocol (MCP) to facilitate seamless communication between the AI Agent and various tools. The system is designed to be stateless, ensuring scalability and efficiency, with user authentication and authorization managed through Auth0. The AI Agent is capable of handling requests within the user's authorization context, making it a secure and personalized solution. The architecture includes components like Amazon API Gateway for request handling, Amazon DynamoDB for session state persistence, and Amazon Bedrock for inference. The integration with Gradio provides a user-friendly web interface, enhancing the overall user experience.
Features
- User-aware AI Agent with secure authentication via Auth0.
- Stateless architecture for scalability and efficiency.
- Integration with Amazon API Gateway, DynamoDB, and Bedrock.
- Utilizes Strands Agents SDK and MCP TypeScript SDK.
- Web UI implemented using Gradio for enhanced user interaction.
Tools
get-travel-policies
Returns AcmeCorp corporate travel policies.
get-available-cars
Returns a list and categories of cars available to rent.
book-car
Books a car rental.
book-hotel
Books a hotel.