serverless-mcp-server

serverless-mcp-server

3.4

If you are the rightful owner of serverless-mcp-server 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.

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

The serverless-mcp-server is a minimalistic Model Context Protocol (MCP) server designed to be deployed on AWS Lambda and exposed via Amazon API Gateway. It leverages the Serverless Framework for deployment and is based on the work of Frédéric Barthelet, who developed a middy middleware for MCP server integration with AWS Lambda functions. The server is designed to be simple and efficient, providing a basic setup for MCP server functionality. It includes a simple example tool for JSON-RPC interaction and supports local development using serverless-offline. The project is structured to facilitate easy deployment and testing, with a focus on minimal configuration and setup.

Features

  • Minimal MCP server setup: Utilizes @modelcontextprotocol/sdk for a streamlined server setup.
  • Single AWS Lambda function deployment: The server is deployed as a single AWS Lambda function for simplicity.
  • HTTP POST endpoint: Exposed via API Gateway at /mcp for easy access.
  • Local development support: Supports local development via serverless-offline.
  • Example tool with JSON-RPC: Includes a simple example tool (add) for JSON-RPC interaction.

Tools

  1. add

    A simple tool that adds two numbers and returns the result.