serverless-mcp-servers-cdk
If you are the rightful owner of serverless-mcp-servers-cdk 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 project builds a stateless MCP server on AWS Lambda using AWS CDK, offering implementations in Express.js and Hono (TypeScript).
The Stateless MCP Server on AWS Lambda project leverages AWS CDK to deploy a serverless Model Context Protocol (MCP) server on AWS Lambda and API Gateway. It provides two implementations: one using Express.js and the other using Hono, a TypeScript-based framework. The project is designed to be stateless, ensuring scalability and reliability by utilizing AWS's serverless architecture. The server supports Bearer Token authentication, making it secure for production use. It also includes tools and resources for testing and interacting with the server, such as ping tests and personalized greeting prompts. The deployment is region-specific, requiring the use of the us-east-1 region due to Lambda Web Adapter layer constraints. The project is suitable for developers looking to implement MCP servers in a cloud-native environment, offering flexibility in choosing between JavaScript and TypeScript implementations.
Features
- Stateless architecture using AWS Lambda and API Gateway
- Two implementations: Express.js and Hono (TypeScript)
- Bearer Token authentication support
- Region-specific deployment (us-east-1)
- Customizable MCP tools and resources
Tools
ping
Response time test alternating between 100ms and 1000ms
start-notification-stream
Periodic notification test (Hono version only)