cdk-serverless-mcp-server
1
This project sets up a simple MCP server using AWS Lambda and AWS CDK. It offers basic functionality like HTTP endpoints for JSON-RPC interaction and supports local testing with Jest. The project is inspired by existing work on MCP integration with AWS.
🧠cdk-serverless-mcp-server
A simple Model Context Protocol (MCP) server deployed on AWS Lambda using AWS CDK. This project provides a minimal setup with the following features:
🛠Features
- Minimal MCP server setup
- Deployed as a single AWS Lambda function
- HTTP POST endpoint exposed via API Gateway
- Supports local development testing
- Includes a simple example tool with JSON-RPC interaction
🛠Prerequisites
- Node.js v22+
- AWS CDK v2+
🚀 Getting Started
- Install dependencies.
- Install AWS CDK globally if not installed.
- Test locally with jest.
📡 Deploy to AWS
Install dependencies for the layer, then deploy the stack with cdk bootstrap
and cdk deploy
.