aws-lambda-mcp-cookbook

aws-lambda-mcp-cookbook

3.6

If you are the rightful owner of aws-lambda-mcp-cookbook 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.

This project provides a working, open source based, AWS Lambda based Python MCP server implementation.

The AWS Lambda MCP Cookbook is a comprehensive guide for implementing a Model Context Protocol (MCP) server using AWS Lambda and Python. It offers two main architectural options: a pure, native Lambda function without FastMCP, and a Lambda function with AWS web adapter and FastMCP. This project serves as a blueprint for creating new serverless MCP servers, providing a production-grade implementation that includes deployment code with AWS CDK, a CI/CD pipeline, testing, observability, and more. The cookbook aims to reduce the cognitive load for developers by addressing common challenges in deploying serverless MCP solutions, such as cloud deployment, CI/CD pipeline creation, observability, and testing. The project supports JSON RPC over HTTP via API Gateway's body payload parameter and is designed to be easily adaptable to different use cases, whether for proof-of-concept projects or full-scale production services.

Features

  • Production-grade implementation with AWS CDK and CI/CD pipeline
  • Two architectural options: pure Lambda and Lambda with FastMCP
  • Comprehensive testing suite including unit, integration, and E2E tests
  • Observability features including logging, tracing, and metrics
  • Security features including custom authentication and WAF protection

Tools

  1. math

    Add two numbers together