Practical overview
When it fits
Use the repository when you need a code example for a Lambda-hosted MCP server and want to understand its deployment and client setup. Use the separately maintained handler package for the server module itself.
Who it is for
- Python developers building MCP tools for compatible clients
- AWS developers exploring a Lambda-hosted MCP server pattern
- Teams adapting sample functions into domain-specific MCP tools
Documented uses
- Expose Python functions as tools to MCP-compatible clients over Streamable HTTP
- Use AWS SAM to deploy the sample server through AWS Lambda and API Gateway
- Explore example tool definitions and conversation-scoped session state
Requirements & limits
The repository is public and licensed under MIT-0. The README instructs users to install the maintained handler package from PyPI or with uv.
- Clients must support Streamable HTTP; the README says the server does not use SSE.
- The sample deployment uses AWS SAM, Lambda, API Gateway, and a bearer-token authorizer.
- The client walkthrough requires AWS account permissions and Amazon Bedrock access, including enabled Nova models and IAM permissions to invoke Bedrock APIs.
- Session state is described as stored in DynamoDB against a sessionId key.
- The handler module is maintained separately from this sample repository.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Deploy the sample server with AWS SAM
Set up the documented sample deployment of an MCP server on AWS Lambda.
Before you start
- AWS account with appropriate permissions
- AWS SAM CLI installed
- Repository cloned locally
Steps
Change to the server directory, server-http-python-lambda.
Run sam build && sam deploy --guided.
Provide an McpAuthToken when prompted; the sample passes it to an API Gateway authorizer as an environment variable.
Expected outcome
The README describes a Lambda-hosted MCP endpoint with an API Gateway URL and bearer-token authentication configured by the sample stack.
Guide limitations
- The repository is sample code; the maintained handler module is hosted separately.
- The bearer-token implementation is described as intended for demonstration and development; the README advises considering additional production authentication and authorization measures.
- A Streamable HTTP-capable MCP client is required; SSE is not supported.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- mikegc-aws/Lambda-MCP-Server · Official homepage title · retained in its source language

