Add multi-account and static credential support to AWS MCP servers#10
Open
Add multi-account and static credential support to AWS MCP servers#10
Conversation
Support users who can't use IRSA by adding two new auth modes: - static: Central access key/secret that assumes roles in target accounts - static_per_profile: Separate access keys per profile (no role assumption) IRSA remains the default and recommended option. Auth mode is auto-detected from the config file structure or can be set explicitly via auth_mode field. Also updated single-account README to document AWS access key authentication as an alternative to IRSA. https://claude.ai/code/session_014d9wty2DiYubNzBmP8cs4R
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
This PR adds comprehensive multi-account and alternative authentication support to the AWS MCP servers. The main changes enable the AWS MCP server to work with multiple AWS accounts using three different authentication modes, and updates documentation to reflect these capabilities across both single-account and multi-account deployments.
Key Changes
aws-multi-account Server Enhancements
Three authentication modes with auto-detection:
irsa: IRSA web identity token (default, EKS-recommended)static: Central AWS credentials + AssumeRole across accountsstatic_per_profile: Per-profile static credentials (no role assumption)New
aws_auth.pymodule that handles:Updated
wrapper.pyto integrate the new authentication systemComprehensive documentation covering:
Single-Account Server Updates
Implementation Details
auth_modefield →credentialssection → per-profileaccess_key_id→ default to IRSAhttps://claude.ai/code/session_014d9wty2DiYubNzBmP8cs4R