Deploy and manage serverless functions on AWS Lambda directly from Google Antigravity. Create, update, invoke, and monitor Lambda functions with full CloudWatch integration.
# AWS Lambda MCP Server for Google Antigravity The AWS Lambda MCP Server brings serverless function management directly into your Google Antigravity IDE. Deploy, invoke, and monitor Lambda functions without leaving your editor. ## Why Use AWS Lambda MCP? AWS Lambda is the backbone of serverless architecture on AWS. This MCP server enables: - **Rapid Deployment**: Push code changes to Lambda instantly - **Live Testing**: Invoke functions with custom payloads and see results - **Log Streaming**: View CloudWatch logs in real-time - **Configuration Management**: Update memory, timeout, and environment variables ## Key Features ### Function Management - Create new Lambda functions from your codebase - Update function code and configurations - Manage function aliases and versions - Delete unused functions ### Invocation & Testing - Invoke functions synchronously or asynchronously - Pass JSON payloads for testing - View execution results and errors - Test with different event sources ### Monitoring & Logs - Stream CloudWatch logs in real-time - View function metrics and performance - Monitor cold starts and duration - Track error rates and invocations ### Layer Management - Add and remove Lambda layers - Manage custom runtime dependencies - Share code between functions ## Configuration ```json { "mcpServers": { "aws-lambda": { "command": "npx", "args": ["@aws/lambda-mcp-server"], "env": { "AWS_REGION": "us-east-1", "AWS_ACCESS_KEY_ID": "your-access-key", "AWS_SECRET_ACCESS_KEY": "your-secret-key" } } } } ``` ## Common Use Cases ### Deploy a Node.js Function Ask Antigravity: "Deploy this handler.js as a new Lambda function named api-handler with 512MB memory" ### Test Function Locally Ask Antigravity: "Invoke my-function with this JSON payload and show me the response" ### Debug Production Issues Ask Antigravity: "Show me the last 50 CloudWatch log entries for my-function with errors" ## Best Practices 1. **Use IAM Roles**: Configure least-privilege IAM roles for Lambda execution 2. **Environment Variables**: Store secrets in environment variables, not code 3. **Versioning**: Use aliases for production deployments 4. **Monitoring**: Set up CloudWatch alarms for errors and throttling ## Integration with Other AWS Services The Lambda MCP works seamlessly with API Gateway, S3, DynamoDB, SQS, and EventBridge for complete serverless workflows.
{
"mcpServers": {
"aws-lambda": {
"args": [
"@aws/lambda-mcp-server"
],
"command": "npx"
}
}
}