mirror of
https://github.com/awslabs/amazon-bedrock-agentcore-samples.git
synced 2025-09-08 20:50:46 +00:00
* Remove .aws-sam build artifacts Deleted .aws-sam folder as it contains build artifacts that are generated during sam build and should not be checked into version control. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix MCP 1.10.0 compatibility and add Docker support - Fix MCP client for 1.10.0 API changes (streamablehttp_client now returns 3-tuple) - Add comprehensive .gitignore for AWS Operations Agent project - Add Dockerfiles for agent-lambda and mcp-tool-lambda - Update requirements.txt to use mcp==1.10.0 - Add fallback DirectMCPClient class for better error handling * Update documentation and scripts - Update SETUP.md with latest deployment instructions - Modify create-target.py script for improved functionality --------- Co-authored-by: name <alias@amazon.com> Co-authored-by: Claude <noreply@anthropic.com>
14 lines
347 B
Docker
14 lines
347 B
Docker
FROM public.ecr.aws/lambda/python:3.11
|
|
|
|
# Copy requirements first for better caching
|
|
COPY requirements.txt ${LAMBDA_TASK_ROOT}
|
|
|
|
# Install Python dependencies
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy function code
|
|
COPY mcp-tool-handler.py ${LAMBDA_TASK_ROOT}
|
|
|
|
# Set the CMD to your handler
|
|
CMD ["mcp-tool-handler.lambda_handler"]
|