npx claudepluginhub veelenga/aws-sso-mcp --plugin aws-sso-mcpA Model Context Protocol (MCP) server for refreshing AWS SSO authentication tokens. Works with multiple MCP clients including Claude Desktop, Claude Code, Cursor, VS Code, Gemini CLI, and more.
refresh_aws_sso_token with the appropriate profile or server nameserver is provided)The server automatically detects AWS profile settings from the following MCP clients:
| Client | Config Location |
|---|---|
| Claude Code | .mcp.json (project), ~/.mcp.json (user) |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) |
| Cursor | .cursor/mcp.json (project), ~/.cursor/mcp.json (user) |
| VS Code | .vscode/mcp.json |
| Gemini CLI | .gemini/settings.json (project), ~/.gemini/settings.json (user) |
| Copilot CLI | ~/.copilot/mcp-config.json |
| Amazon Q | ~/.aws/amazonq/mcp.json |
| Cline | VS Code extension settings |
/plugin marketplace add veelenga/aws-sso-mcp
/plugin install aws-sso-mcp@aws-sso-mcp
Restart Claude Code, then verify with /mcp.
npm install -g aws-sso-mcp
claude mcp add --scope user aws-sso aws-sso-mcp
Add to your configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"aws-sso": {
"command": "npx",
"args": ["-y", "aws-sso-mcp"]
}
}
}
Initiates the AWS SSO login flow to refresh expired authentication tokens. Opens a browser window for the user to complete authentication.
| Parameter | Type | Required | Description |
|---|---|---|---|
| profile | string | No* | AWS profile name to refresh token for. Takes precedence over server parameter. |
| server | string | No* | MCP server name to look up AWS_PROFILE from MCP config files (e.g., bedrock-kb). |
*At least one of profile or server must be provided.
Profile resolution order:
profile parameterserver nameExample response:
{
"success": true,
"profile": "MCPServerReadAccess",
"profileSource": "mcp_config",
"message": "Successfully refreshed SSO token for profile \"MCPServerReadAccess\"."
}
The plugin includes an aws-sso-refresh skill that provides:
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js
~/.aws/configThe server implements several security measures:
profile or server parameter to prevent unintended authentication actions/usr/bin, /usr/local/bin, /opt/homebrew/bin)LD_PRELOAD)MIT
Integrate with secrets managers (Vault, AWS Secrets Manager, etc)
Share bugs, ideas, or general feedback.
Shared AWS agent skills including AWS Documentation MCP configuration for querying up-to-date AWS knowledge
Collection of AWS engineering skills for IAM, Lambda, DynamoDB, S3, and 14 other core AWS services
36 on-demand AWS and cloud skills, slash commands, agents, and security hooks for Claude Code
AWS service configuration and deployment automation
The most comprehensive Claude Code plugin — 48 agents, 182 skills, 68 legacy command shims, selective install profiles, and production-ready hooks for TDD, security scanning, code review, and continuous learning