{"repo":"awslabs/run-model-context-protocol-servers-with-aws-lambda","free":true,"listed":false,"github":"https://github.com/awslabs/run-model-context-protocol-servers-with-aws-lambda","clone":"git clone https://github.com/awslabs/run-model-context-protocol-servers-with-aws-lambda.git","description":"Run existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions","language":"Python","stars":378,"topics":[],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"Run Model Context Protocol (MCP) servers with AWS Lambda This project enables you to run Model Context Protocol stdio-based servers in AWS Lambda functions. Currently, most implementations of MCP servers and clients are entirely local on a single machine. A desktop application such as an IDE or Claude Desktop initiates MCP servers locally as child processes and communicates with each of those servers over a long-running stdio stream. This library helps you to wrap existing stdio MCP servers into Lambda functions. You can invoke these function-based MCP servers from your application using the MCP protocol over short-lived HTTPS connections. Your application can then be a desktop-based app, a distributed system running in the cloud, or any other architecture. Using this library, the Lambda function will manage the lifecycle of your stdio MCP server. Each Lambda function invocation will: 1. Start the stdio MCP server as a child process 1. Initialize the MCP server 1. Forward the incoming request to the local server 1. Return the server's response to the function caller 1. Shut down the MCP server child process This library supports connecting to Lambda-based MCP servers in four ways: 1. The MCP Streamable HTTP transport, using Amazon API Gateway. Typically authenticated using OAuth. 1. The MCP Streamable HTTP transport, using Amazon Bedrock AgentCore Gateway. Authenticated using OAuth. 1. A custom Streamable HTTP transport with support for SigV4, using a Lambda function URL. Aut","default_branch":null,"files":null,"tree":[],"storefront":"/r/awslabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/awslabs/run-model-context-protocol-servers-with-aws-lambda/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."}