The Last Shift

•

Runs a time-pressured escape-room adventure featuring interactive room inspection, dynamic Amazon Bedrock narration, and an embedded live map UI.

The Last Shift is an interactive 10-minute escape-room game built on the Model Context Protocol (Streamable HTTP) for Amazon's Alexa+ platform. Trapped inside Maintenance Bay 7 on Kessler Station with an active countdown, players must investigate the environment, discover hidden code fragments, and escape before their oxygen and time expire. The server integrates dynamic narrative generation via Amazon Bedrock (with automatic graceful fallback), structured MCP elicitation for critical escape-code inputs, and the MCP Apps extension to render a sandboxed live room map and countdown timer directly in the client.

Key Features

01Embedded MCP Apps UI (`ui://room-map`) providing a real-time room map and countdown clock in a sandboxed iframe
02High test coverage spanning session lifecycles, CORS validation, MCP sampling, and protocol compliance
03Dynamic narrative generation powered by Amazon Bedrock Claude models with automatic offline fallback
04Interactive escape-room gameplay driven by tools for examining rooms, using items, and attempting escapes
05Gated game progression utilizing MCP elicitation to request structured user inputs without breaking game flow
060 GitHub stars

Use Cases

01Delivering interactive voice and chat-based narrative games through MCP-enabled assistants like Alexa+
02Demonstrating MCP Apps extensions that combine real-time visual UI rendering with LLM tool execution
03Prototyping resilient Bedrock-backed AI narration with deterministic demo modes and fallback workflows