awslabs / awslabs/agentcore-samples

Amazon Bedrock AgentCore Samples - [Bug]

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
01-tutorials 02-AgentCore-gateway bug
Dominant language
Python
Stars
3.4k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
30

Description

**Describe the bug**
When running https://github.com/awslabs/amazon-bedrock-agentcore-samples/blob/main/01-tutorials/02-AgentCore-gateway/02-transform-apis-into-mcp-tools/02-transform-openapi-into-mcp-tools/01-openapis-into-mcp-api-key.ipynb, the version of boto3 doesn't recognize client named "agentcredentialprovider".

Here's the stack trace: (truncated to save space)

Unknown service: 'agentcredentialprovider'. Valid service names are: accessanalyzer, ........

The current version of boto3 is 1.39.9

**To Reproduce**
Run https://github.com/awslabs/amazon-bedrock-agentcore-samples/blob/main/01-tutorials/02-AgentCore-gateway/02-transform-apis-into-mcp-tools/02-transform-openapi-into-mcp-tools/01-openapis-into-mcp-api-key.ipynb, the error shows up in the cell that creates a boto3 client:

acps = boto3.client(service_name="agentcredentialprovider")

**Expected behavior**
API key credentials provider should create successfully.

**Screenshots**
n/a

Contributor guide

Open the contributing guide

Research direction

Run 01-tutorials/02-AgentCore-gateway/02-transform-apis-into-mcp-tools/02-transform-openapi-into-mcp-tools/01-openapis-into-mcp-api-key.ipynb and inspect the cell that creates the agentcredentialprovider boto3 client. Check the boto3 version and available service names; done means the API key credentials provider client is created successfully without the Unknown service error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
authentication, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.