Verified

Lambda MCP Server

AWS Lambda functions serving as serverless MCP endpoints with session support.

Data last scanned today · Reviewed today

333 tools235PythonMIT-0

Overview

The Lambda MCP Server provides a framework for deploying Model Context Protocol servers directly within AWS Lambda environments. It abstracts the complexity of serverless execution by providing a dedicated handler that manages requests and maintains session state across tool invocations using DynamoDB as a backend store. While this repository serves as a demonstration and educational resource, the underlying library code is officially maintained by AWS under the awslabs organization. Developers should install the official handler package to integrate serverless MCP capabilities into their infrastructure.

Our verdict

This repository carries a high-risk security score of 23/100, primarily because the code is community-maintained and the repository itself has not received updates in over 446 days. Users should treat this repository strictly as an educational example of how to implement the handler, rather than a stable production dependency. We strongly advise utilizing the official awslabs maintained package for all production applications to ensure access to security patches and current compatibility updates.

  • Uses zero direct dependencies to minimize supply chain surface
  • Integrates built-in session state management via DynamoDB
  • Provides a clear architectural pattern for stateless serverless MCP
  • Licensed under the permissive MIT-0 license
  • Repository has not been updated in 446 days
  • Requires clients that support Streamable HTTP rather than SSE
  • Lacks editorial review and official maintainer status for this repo

Tools

ToolDescriptionRisk
get_weatherGet the current weather for a city.low
count_s3_bucketsCount the number of S3 buckets in your AWS account.low
get_timeGet the current UTC date and time, and show how long since last time was asked for (if session available).low

Compatibility

ClientLocalDockerRemoteRead-only
Claude Desktop
Cursor
VS Code
Windsurf
ChatGPT

Frequently asked questions

Which MCP clients are compatible with this server?

The server requires a client that supports Streamable HTTP, such as the MCP Inspector or the Streamable HTTP client included in the repository.

How is session state handled in a stateless Lambda environment?

Session state is automatically managed by storing data in a DynamoDB table, which persists across tool invocations within the same conversation.

What authentication method does the sample stack use?

The sample stack uses Bearer token authentication validated via a custom authorizer in API Gateway, requiring clients to include an Authorization header in their requests.

Where should I install the official Lambda MCP handler module?

The module code is maintained and hosted at awslabs/mcp-lambda-handler, and can be installed directly from PyPI using pip or uv.

Alternatives

Badge

Lambda MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.