sam-serverless-mcp-server

sam-serverless-mcp-server

3.2

If you are the rightful owner of sam-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 Application Model (SAM).

The sam-serverless-mcp-server is a minimalistic Model Context Protocol (MCP) server designed for deployment on AWS Lambda, utilizing the Serverless Application Model (SAM) for streamlined deployment. This server is based on the work of Frédéric Barthelet, who developed a middleware for integrating MCP servers with AWS Lambda functions. The server is exposed via Amazon API Gateway, providing a simple HTTP POST endpoint for interaction. It supports local development using SAM and includes a basic example tool for JSON-RPC interaction. The project is structured to facilitate easy testing and deployment, with a focus on simplicity and efficiency.

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 SAM for testing and iteration.
  • Example tool with JSON-RPC: Includes a simple 'add' tool for JSON-RPC interaction.

Tools

  1. add

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