{"repo":"fredericbarthelet/middy-mcp","free":true,"listed":false,"github":"https://github.com/fredericbarthelet/middy-mcp","clone":"git clone https://github.com/fredericbarthelet/middy-mcp.git","description":"Middy middleware for Model Context Protocol server hosting on AWS Lambda","language":"TypeScript","stars":40,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"Middy MCP A Middy middleware for Model Context Protocol (MCP) server integration with AWS Lambda functions. Description Middy MCP is a middleware that enables seamless integration between AWS Lambda functions and Model Context Protocol servers. It provides a convenient way to handle MCP requests and responses within your Lambda functions using the Middy middleware framework. It supports requests sent to AWS Lambda from API Gateway (both REST API / v1 and HTTP API / v2) using the Proxy integration, as well as requests sent form an ALB. Disclaimer: hosting your MCP server this way is only compatible with MCP clients using at least protocol version 2025-03-26. Install Requirements - Node.js = 18.0.0 - Middy = 6.0.0 Usage This middleware can throw HTTP exceptions, so it can be convenient to use it in combination with the @middy/http-error-handler . Hereafter is an exemple of a minimal Lambda function handler file. Deploy this lambda as a proxy integration on a POST route of your API Gateway and you're good to go. License This project is licensed under the MIT License - see the LICENSE file for details. Contributing Contributions are welcome! Please feel free to open an issue or to submit a pull request 🚀!","default_branch":null,"files":null,"tree":[],"storefront":"/r/fredericbarthelet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fredericbarthelet/middy-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}