
mcp-lambda-handler
A Python library for creating serverless HTTP handlers for the Model Context Protocol (MCP) using AWS Lambda. This library provides a minimal, extensible framework for building MCP HTTP endpoints with
Discovery Score
53/100
8,799 stars
1,457 forks
The Open Source Drop Lens
This handler flips the script. Instead of calling Lambda from MCP, it lets you run an MCP server as a Lambda function. Your AI tools become serverless endpoints. Setup requires packaging your MCP server as a Lambda deployment.
Lambda's free tier is generous, but cold starts add latency to tool calls. This is a library, not a standalone server, so you need to write the glue code yourself.
Interesting pattern for teams that want centralized, shared MCP tools without running persistent servers. The catch: cold starts make interactive tool use sluggish, and debugging Lambda-hosted MCP servers is harder than local ones.
Cost Breakdown
## Free Tier The MCP server itself is completely free and open source.
## Self-Hosted Runs locally or on your own infrastructure.
## Paid No paid tier. The underlying service may have its own pricing.
Free and open source. The underlying service may have its own costs.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.