a year ago
developer-toolsAn AWS Serverless Application Model that operates as an MCP server via serverless AWS resources
Overview
what is MCP Lambda Server?
MCP Lambda Server is a Node.js package that provides infrastructure for an MCP (Model Context Protocol) server using AWS Lambda functions, enabling serverless applications with support for Server-Sent Events (SSE).
how to use MCP Lambda Server?
To use MCP Lambda Server, install the package via npm and create a Lambda function that imports the MCPHandlerFactory to handle requests and responses.
key features of MCP Lambda Server?
- Adapts the MCP TypeScript SDK for AWS Lambda
- Supports Server-Sent Events (SSE) through Lambda response streaming
- Handles CORS and HTTP method validation
- TypeScript support for better development experience
use cases of MCP Lambda Server?
- Building serverless applications that require real-time data updates.
- Implementing APIs that utilize the Model Context Protocol for structured data handling.
- Creating applications that need to stream data to clients using SSE.
FAQ from MCP Lambda Server?
- What is required for Lambda response streaming?
Lambda response streaming only works with Function URLs and requires Node.js runtime.
- Can I use this with API Gateway?
No, response streaming is not supported with API Gateway or Application Load Balancer.
- What is the license for MCP Lambda Server?
The package is licensed under the MIT license.