You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add AWS Lambda packaging and Terraform infrastructure
Packages mcp-server as an AWS Lambda function deployable via Terraform.
The bulk of the change is infrastructure: terraform/aws/ defines the
Lambda, API Gateway, RDS Postgres, Secrets Manager, and optional ACM
custom domain; terraform/bootstrap/ provisions the S3 + DynamoDB state
backend; scripts/deploy.sh builds, packages, and applies in one shot.
Server-side changes to support Lambda:
- Split entry point: createServer.ts owns server construction; index.ts
remains the local dev entry; lambda.ts is the new API Gateway handler.
- database.service.ts pulls RDS credentials from Secrets Manager when
DB_SECRET_ARN is set, falling back to env vars for local dev.
- Adds the serverless-express adapter as a runtime dep.
.gitignore excludes Terraform state, plans, .deploy/ build dir, the
lambda-deployment.zip artifact, and local .claude/ settings. README
documents the deploy workflow and prereqs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments