MCP ラムダサーバー
SSE サポート付きの AWS Lambda 関数用の MCP (Model Context Protocol) サーバー インフラストラクチャを提供する Node.js パッケージ。
特徴
MCP TypeScript SDKをAWS Lambdaで動作するように適応させます
Lambda レスポンスストリーミングを通じて Server-Sent Events (SSE) をサポート
CORSとHTTPメソッドの検証を処理する
TypeScriptサポート
重要な注意事項
Lambda レスポンスストリーミングは関数 URL でのみ機能します。API Gateway や Application Load Balancer では機能しません。
レスポンス ストリーミングでは、Node.js ランタイムのみが公式にサポートされています。
インストール
使用法
Lambda 関数を作成し、パッケージをインポートします。
必要なLambda設定
ランタイム: Node.js 18.x 以降
ハンドラー: index.handler
メモリ: 最低 128 MB (必要に応じて調整してください)
タイムアウト: 120秒を推奨
関数 URL: 必須であり、レスポンス ストリーミングが有効になっている必要があります
APIゲートウェイ/ALB:ストリーミングではサポートされません
パッケージ内容
このパッケージには以下が含まれます。
SSEトランスポートを使用したMCPサーバーの実装
プロトコル処理 (JSON-RPC)
ストリーミングレスポンスのサポート
型定義とインターフェース
Lambda 関数は以下を提供します。
ツールとプロンプトの実装
ビジネスロジック
必要なAPIクライアントまたはサービス
構成
ライセンス
マサチューセッツ工科大学
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Server-Sent Events を介したストリーミング応答機能を備えた AWS Lambda 関数用のモデルコンテキストプロトコル サーバー インフラストラクチャを提供する Node.js パッケージ。
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI models to interact with AWS Lambda functions via the MCP protocol, allowing access to private resources, real-time data, and custom computation in a secure environment.Last updated -2109MIT License
- AsecurityAlicenseAqualityA comprehensive Model Context Protocol server that provides advanced Node.js development tooling for automating project creation, component generation, package management, and documentation with AI-powered assistance.Last updated -75MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that integrates with AWS CodePipeline, allowing users to manage pipelines through Windsurf and Cascade using natural language commands.Last updated -124
- -securityAlicense-qualityA Node.js package that provides Model Context Protocol server infrastructure for AWS Lambda functions with SSE support, enabling developers to implement MCP tools and prompts as serverless functions.Last updated -11212MIT License