Registry / aws / run-mcp-servers-with-aws-lambda

run-mcp-servers-with-aws-lambda

JSON →
library0.5.20pypypi✓ verified 82d ago

Run Model Context Protocol (MCP) servers using AWS Lambda. Current version: 0.5.17. Active development, frequent releases.

pip install run-mcp-servers-with-aws-lambda
INSTALL
IMPORT
SIG · RUN-MCP-SERVERS-WI
R
run-mcp-servers-with-aws-lambda
awspythonv0.5.20
Install
20.0s avg
Import
Disk
177MB
Pass rate
6/ 10
Env Coverage6 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.5.20 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✕ build_error
py 3.11
✓ —
✓ 24.5s
py 3.12
✓ —
✓ 19.9s
py 3.13
✓ —
✓ 15.7s
py 3.9
✕ build_error
✕ build_error
177MB installed
● package 177MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

APIGatewayProxyEventHandler
from mcp_lambda import APIGatewayProxyEventHandler
from run_mcp_servers_with_aws_lambda import MPCServer
RequestHandler
from mcp_lambda import RequestHandler
from run_mcp_servers_with_aws_lambda import MPCServer
StdioServerAdapterRequestHandler
from mcp_lambda import StdioServerAdapterRequestHandler
from run_mcp_servers_with_aws_lambda import MPCServer

Basic Lambda handler integration with MCP server.

import os from run_mcp_servers_with_aws_lambda import MPCServer app = MPCServer( function_name="my-mcp-server", region=os.environ.get("AWS_REGION", "us-east-1"), ) def handler(event, context): return app.handle(event, context)
run-mcp-servers-with-aws-lambda --version
Debug
Known issues
breakingPython >=3.11 required. Older versions will fail to install.
fix
Ensure runtime uses Python 3.11 or later.
affects: >=0.5.0
gotchaPackage name uses hyphens, but import uses underscores. Common import error.
fix
Use `from run_mcp_servers_with_aws_lambda import ...` (underscores).
affects: all
deprecatedLambda execution environment must have appropriate AWS credentials and permissions (e.g., lambda:InvokeFunction). Not handled by library.
fix
Configure IAM roles and environment variables outside the library.
affects: all
Upgrade
Version history
0.5.20latest on PyPI · released Jun 17, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
42
OpenAI (training)
1
Resources
run-mcp-servers-with-aws-lambda — pip install run-mcp-servers-with-aws-lambda · libregistry