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.
Integrations
Provides infrastructure for hosting MCP servers as AWS Lambda functions with streaming capabilities via Server-Sent Events (SSE), supporting Function URLs but not API Gateway or Application Load Balancer.
Runs MCP servers on Node.js runtime, which is officially supported for Lambda response streaming needed for the SSE transport functionality.
Offers TypeScript support for developing MCP servers with type definitions and interfaces to enhance development experience.
MCP 람다 서버
SSE를 지원하는 AWS Lambda 함수에 대한 MCP(Model Context Protocol) 서버 인프라를 제공하는 Node.js 패키지입니다.
특징
- AWS Lambda와 함께 작동하도록 MCP TypeScript SDK를 조정합니다.
- Lambda 응답 스트리밍을 통해 SSE(Server-Sent Events)를 지원합니다.
- CORS 및 HTTP 메서드 검증을 처리합니다.
- TypeScript 지원
중요 참고 사항
- Lambda 응답 스트리밍은 함수 URL에서만 작동합니다 . API Gateway 또는 Application Load Balancer에서는 작동하지 않습니다.
- 응답 스트리밍은 Node.js 런타임에서만 공식적으로 지원됩니다.
설치
지엑스피1
용법
Lambda 함수를 만들고 패키지를 가져옵니다.
필수 람다 구성
- 런타임: Node.js 18.x 이상
- 핸들러: index.handler
- 메모리: 최소 128MB (필요에 따라 조정)
- 시간 초과: 120초 권장
- 함수 URL: 필수이며 응답 스트리밍이 활성화되어 있어야 합니다.
- API Gateway/ALB: 스트리밍이 지원되지 않습니다.
패키지 내용
이 패키지에는 다음이 포함되어 있습니다.
- SSE 전송을 통한 MCP 서버 구현
- 프로토콜 처리(JSON-RPC)
- 스트리밍 응답 지원
- 유형 정의 및 인터페이스
Lambda 함수는 다음을 제공합니다.
- 도구 및 프롬프트 구현
- 비즈니스 로직
- 필요한 API 클라이언트 또는 서비스
- 구성
특허
MIT
This server cannot be installed
AWS Lambda 함수를 위한 모델 컨텍스트 프로토콜 서버 인프라를 제공하는 Node.js 패키지로, 서버에서 보낸 이벤트를 통한 스트리밍 응답 기능을 제공합니다.