The AWS Sample Model Context Protocol Demos is an open-source repository showcasing standardized patterns for Large Language Model (LLM) context management and tool invocation. It features two complete demos—one in JavaScript/TypeScript and one in Python—that implement the Model Context Protocol, enabling developers to build AI agents that call AWS Lambda functions, preserve conversation history, and stream responses. Sample code demonstrates message formatting, function argument serialization, error handling, and customizable tool integrations, accelerating prototyping of generative AI applications.