Back to Home
poad icon

aws-mcp-lambda-server

Verified Safe

by poad

Overview

Implement and deploy a Model Context Protocol (MCP) server on AWS Lambda for AI agent tool integration, with a Next.js client example.

Installation

Run Command
cd platform && tsx lambda/mcp-server/server.ts

Environment Variables

  • MODEL_ID
  • LANGFUSE_PUBLIC_KEY
  • LANGFUSE_SECRET_KEY
  • LANGFUSE_HOST
  • MCP_SERVER_ENDPOINT_URL
  • PORT

Security Notes

The server uses AWS Cognito for OAuth 2.0 authentication and relies on environment variables for sensitive configurations, as explicitly stated in the `AGENTS.md` to prevent hardcoded secrets. External API calls are made to legitimate weather services. CORS is set to allow all origins in API Gateway, which is acceptable for an authenticated API, but needs to be paired with strong authentication/authorization.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-18

Tags

ServerlessAWS LambdaAI ToolsModel Context ProtocolInfrastructure as Code