serverless-mcp-server

serverless-mcp-server

11

The project is a minimal Model Context Protocol server designed for deployment on AWS Lambda using the Serverless Framework. It offers an HTTP POST endpoint exposed via Amazon API Gateway and supports local development with serverless-offline. The server can be easily deployed and tweaked for custom implementations.

🧠 serverless-mcp-server

A minimal Model Context Protocol (MCP) server deployed on AWS Lambda, exposed via Amazon API Gateway and Serverless Framework.

Features

  • Minimal MCP server setup
  • Deployed as a single AWS Lambda function
  • HTTP POST endpoint via API Gateway
  • Supports local development with serverless-offline

Getting Started

  1. Install dependencies.
  2. Install Serverless globally.
  3. Run locally with serverless-offline.

Project Structure

  • Source code: src/index.js
  • Configuration: serverless.yml

Deployment

Deploy to AWS with sls deploy.

License

MIT License.