docs: clarify local vs signing region resolution#343
Open
anasstahr wants to merge 2 commits into
Open
Conversation
2e9edb1 to
243389b
Compare
Document that --region / endpoint URL / --metadata AWS_REGION control the signing region for the remote MCP server, while the proxy's local boto3 session resolves its own region from the standard provider chain (env or active profile) for credential refresh. Profiles without a persisted region (common with AWS CLI v2 `aws login`) hit NoRegionError at startup, which most MCP clients display as `-32602: Invalid request parameters`. Refs aws/agent-toolkit-for-aws#63
243389b to
5c89974
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--region/ endpoint URL /--metadata AWS_REGION=...set the signing region for the remote MCP server, while the proxy's localboto3session resolves its own region from the standard provider chain for credential refresh.NoRegionErrorat startup (commonly displayed as-32602: Invalid request parametersby MCP clients) — typical of AWS CLI v2aws loginprofiles with no persistedregion = ...line — to setAWS_REGIONin the MCP server's environment block.Refs aws/agent-toolkit-for-aws#63.
Test plan
AWS_MCP_PROXY_PROFILESnote and the Multi-account access heading.