MCP.so
Sign In

Sample Serverless MCP Server

@aws-samples

Basic information

Category

Cloud & Infrastructure

Last updated

License

MIT-0

Transports

stdio

Author

aws-samples

About Sample Serverless MCP Server

No overview available yet

Sample Serverless MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Sample Serverless MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is sample-serverless-mcp-server?

sample-serverless-mcp-server is a GitHub MCP server implementation that runs on Amazon Lambda using the Streamable HTTP protocol. It is built on the official TypeScript MCP server and is intended for developers who want to deploy MCP services without maintaining persistent servers.

How to use sample-serverless-mcp-server?

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.

Key features of sample-serverless-mcp-server

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

Use cases of sample-serverless-mcp-server

  • Deploy a GitHub MCP server without managing persistent infrastructure
  • Integrate GitHub operations into MCP clients via serverless endpoints
  • Leverage AWS Lambda and API Gateway for scalable MCP services
  • Test MCP server behavior locally before cloud deployment

Frequently asked questions

1

What does this server implement?

It implements a GitHub MCP server that uses the Streamable HTTP protocol and can be deployed on Amazon Lambda.

2

What are the prerequisites?

Node.js 20+, the AWS CLI (configured), and the OSS-Serverless CLI (`osls`) are required.

3

How do I provide authentication to GitHub?

Set a `GITHUB_PERSONAL_ACCESS_TOKEN` in the `serverless.yml` file. The token is stored in AWS Lambda environment variables; do not submit `serverless.yml` to a public repository.

4

Can I run the server locally for testing?

Yes. Run `npm sls offline` from the `src/github/` directory to test locally before deploying.

5

What AWS services are used in the architecture?

API Gateway handles HTTP requests, Lambda executes the MCP server logic, and Streamable HTTP enables streaming responses. DynamoDB and S3 are planned for request log storage (not yet implemented).

Comments

More Cloud & Infrastructure MCP servers