Lambda Layer icon

Lambda Layer

8

Enables AWS Lambda functions to operate as an MCP server with Server-Sent Events (SSE) support.

概要

This Node.js package adapts the MCP TypeScript SDK for use with AWS Lambda, providing server infrastructure and supporting Server-Sent Events (SSE) through Lambda response streaming. It includes features for handling CORS and HTTP method validation. The package provides an MCP Server implementation with SSE transport, protocol handling (JSON-RPC), and streaming response support, while your Lambda function provides the tool and prompt implementations, business logic, API clients, and configuration.

主な機能

  • Handles CORS and HTTP method validation.
  • Offers type definitions and interfaces.
  • Supports Server-Sent Events (SSE) via Lambda response streaming.
  • 7 GitHub stars
  • Provides protocol handling (JSON-RPC).
  • Adapts the MCP TypeScript SDK for AWS Lambda.

ユースケース

  • Building applications that require real-time, server-sent events from Lambda functions.
  • Creating Lambda functions that serve as MCP servers.
  • Implementing custom tools and prompts for MCP interactions within a Lambda environment.
Craft Better Prompts with AnyPrompt
Sponsored
Lambda Layer: Server-Sent Events (SSE) for AWS Lambda