cdk-serverless-mcp-server

cdk-serverless-mcp-server

3.3

If you are the rightful owner of cdk-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 AWS CDK.

The cdk-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 AWS CDK for deployment, providing a streamlined and efficient setup. The server is based on the work of Frédéric Barthelet, who developed a middy middleware for integrating MCP servers with AWS Lambda functions. This server setup is ideal for developers looking to deploy a lightweight MCP server with minimal configuration, offering a simple example tool for JSON-RPC interaction.

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.
  • API Gateway HTTP POST endpoint: Exposes an HTTP POST endpoint at /mcp for server interaction.
  • Local development testing: Supports local testing with jest to ensure functionality before deployment.
  • Example tool with JSON-RPC: Includes a simple 'add' tool for demonstrating JSON-RPC interaction.

Tools

  1. add

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