sample-serverless-mcp-server
11
This project provides a demonstration of deploying a TypeScript MCP Server supporting Streamable HTTP protocol on Amazon Lambda. Key features include elastic deployment and cost-performance optimization.
Overview
- Project demonstrates transforming the official TypeScript MCP Server for Streamable HTTP protocol.
- Utilizes Amazon Lambda for deployment.
- Key features include Streamable HTTP protocol support, elastic deployment, and optimized cost-performance balance.
Key Features
- Streamable HTTP MCP protocol support
- Elastic deployment based on Amazon Lambda
- Optimized cost-performance
Quick Start
Prerequisites
- Node.js 20+
- AWS CLI configured
- OSS-Serverless CLI
Deployment Steps
- Clone the repository
- Install dependencies
- Set up GitHub personal access token
- Deploy using AWS Lambda
Architecture
- API Gateway for HTTP requests
- Lambda executes MCP Server logic
- Streamable HTTP for streaming responses