awslabs / awslabs/agentcore-samples
Amazon Bedrock AgentCore Samples - [Bug]
- Dominant language
- Python
- Stars
- 3.4k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 30
Description
**Describe the bug**
The MCP tools created from the Smithy S3 API specification are experiencing severe performance issues when trying to retrieve data from S3 objects. While ListBuckets operation works fine, the ListObjectsV2, HeadObject,GetObject and other operations hang indefinitely and do not return any output.
**To Reproduce**
Steps to reproduce the behavior (or some version of this):
1. Go to https://github.com/awslabs/amazon-bedrock-agentcore-samples/blob/main/01-tutorials/02-AgentCore-gateway/02-transform-apis-into-mcp-tools/02-transform-smithyapis-into-mcp-tools/01-s3-smithy-into-mcp-iam.ipynb
2. Complete the setup steps to create the Bedrock AgentCore Gateway with S3 Smithy target
3. Scroll down to the testing the agent cell
4. Try asking the agent about bucket objects, for example:
"List files inside the 'my-bucket-name' bucket"
"Show me the objects in bucket 'my-bucket-name'"
"Get the content of file.txt from bucket 'my-bucket-name'"
Observe that the agent hangs and does not respond
**Screenshots**
When I asking something related to objects ,It stucks as shown in the image , and it didn't retrieve output
Contributor guide
Research direction
Start with 01-s3-smithy-into-mcp-iam.ipynb and reproduce the issue by completing its setup, creating the Bedrock AgentCore Gateway with the S3 Smithy target, and running the testing agent cell. Compare the working ListBuckets request with ListObjectsV2, HeadObject, and GetObject; done means object-listing and retrieval requests return output instead of hanging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- ai, api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100