{"id":24545,"library":"run-mcp-servers-with-aws-lambda","title":"Run MCP Servers with AWS Lambda","description":"Run Model Context Protocol (MCP) servers using AWS Lambda. Current version: 0.5.17. Active development, frequent releases.","status":"active","version":"0.5.17","language":"python","source_language":"en","source_url":"https://github.com/awslabs/run-model-context-protocol-servers-with-aws-lambda","tags":["mcp","model-context-protocol","aws-lambda","serverless"],"install":[{"cmd":"pip install run-mcp-servers-with-aws-lambda","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from run_mcp_servers_with_aws_lambda import MPCServer","symbol":"APIGatewayProxyEventHandler","correct":"from mcp_lambda import APIGatewayProxyEventHandler"},{"wrong":"from run_mcp_servers_with_aws_lambda import MPCServer","symbol":"RequestHandler","correct":"from mcp_lambda import RequestHandler"},{"wrong":"from run_mcp_servers_with_aws_lambda import MPCServer","symbol":"StdioServerAdapterRequestHandler","correct":"from mcp_lambda import StdioServerAdapterRequestHandler"}],"quickstart":{"code":"import os\nfrom run_mcp_servers_with_aws_lambda import MPCServer\n\napp = MPCServer(\n    function_name=\"my-mcp-server\",\n    region=os.environ.get(\"AWS_REGION\", \"us-east-1\"),\n)\n\ndef handler(event, context):\n    return app.handle(event, context)","lang":"python","description":"Basic Lambda handler integration with MCP server."},"warnings":[{"fix":"Ensure runtime uses Python 3.11 or later.","message":"Python >=3.11 required. Older versions will fail to install.","severity":"breaking","affected_versions":">=0.5.0"},{"fix":"Use `from run_mcp_servers_with_aws_lambda import ...` (underscores).","message":"Package name uses hyphens, but import uses underscores. Common import error.","severity":"gotcha","affected_versions":"all"},{"fix":"Configure IAM roles and environment variables outside the library.","message":"Lambda execution environment must have appropriate AWS credentials and permissions (e.g., lambda:InvokeFunction). Not handled by library.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.5.17':18 'activ':19 'aw':5,14,29 'aws-lambda':28 'context':9,26 'current':16 'develop':20 'frequent':21 'lambda':6,15,30 'mcp':2,11,23 'model':8,25 'model-context-protocol':24 'protocol':10,27 'releas':22 'run':1,7 'server':3,12 'serverless':31 'use':13 'version':17","created_at":"2026-05-01T08:13:39.118413+00:00","updated_at":"2026-05-01T08:13:39.118413+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.5.20","cli_name":"run-mcp-servers-with-aws-lambda","cli_version":"sh: 1: run-mcp-servers-with-aws-lambda: not found","type":"library","homepage":null,"github":"https://github.com/awslabs/run-model-context-protocol-servers-with-aws-lambda","docs":null,"changelog":null,"pypi":"https://pypi.org/project/run-mcp-servers-with-aws-lambda/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["aws","llm-agents"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}