sample-serverless-mcp-server

by aws-samples

19 stars
224 downloads
Not rated
GitHub

Description

# sample-serverless-mcp-server A Github MCP Server implementation based on Amazon Lambda and Streamable HTTP protocol. ## Project Description This project demonstrates how to transform the official TypeScript MCP Server to support Streamable HTTP protocol and deploy it via…

About

# sample-serverless-mcp-server A Github MCP Server implementation based on Amazon Lambda and Streamable HTTP protocol. ## Project Description This project demonstrates how to transform the official TypeScript MCP Server to support Streamable HTTP protocol and deploy it via Amazon Lambda. The implementation leverages…

Details

Author
aws-samples
GitHub stars
19
Downloads
224
Categories
Cloud Service

- Streamable HTTP MCP protocol support
- Elastic deployment on Amazon Lambda
- Optimized cost-performance balance
- Dynamic context priority control
- Seamless integration with existing HTTP infrastructure

Clone the repository, install dependencies, set your GitHub Personal Access Token in serverless.yml, test locally with npm sls offline, then deploy to AWS Lambda with npm sls deploy. Requires Node.js 20+, the AWS CLI, and the OSS-Serverless CLI.

sample-serverless-mcp-server

A Github MCP Server implementation based on Amazon Lambda and Streamable HTTP protocol.

Project Description

This project demonstrates how to transform the official TypeScript MCP Server to support Streamable HTTP protocol and deploy it via Amazon Lambda. The implementation leverages new features introduced in MCP v2025.03.26, including:

- Stream transmission based on HTTP Chunked Transfer Encoding

- Dynamic context priority control

- Seamless integration with existing HTTP infrastructure

Key Features

- Streamable HTTP MCP protocol support

- Elastic deployment based on Amazon Lambda

- Optimized cost-performance balance

MCP Server on Amazon Lambda Architecture

Architecture

Quick Start

Prerequisites

- Node.js 20+
- AWS CLI configured
- OSS-Serverless CLI

Serverless Streamable HTTP MCP Server

- Github MCP Server

How to deploy Github MCP Server on Amazon Lambda :

This project needs to set up a GITHUB_PERSONAL_ACCESS_TOKEN, which has been stored in Amazon Lambda environment variables.

Never submit your serverless.yml to a GitHub public repository.

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.