{"report":{"v":1,"package":"@aashari/mcp-server-aws-sso","version":"4.0.0","ranAt":"2026-11-16T11:40:54.384Z","install":{"ok":true,"integrity":"sha512-5pHEtSV7MGKZ636X4ZRAaIQNjCvM5oznFah/L/DybcSZXiKbEfX/iHnJQdd60LyaRv/d0F3boq1/4bAWuDgfAQ==","deps":137,"scripts":["@aashari/mcp-server-aws-sso"],"bins":["mcp-aws-sso"],"license":"ISC","engines":"node >=18.0.0","repository":"https://github.com/aashari/mcp-server-aws-sso.git","bin":"mcp-aws-sso"},"start":{"ok":true,"ms":323,"serverName":"@aashari/mcp-server-aws-sso","serverVersion":"4.0.0","protocol":"2025-06-18","stderr":"[11:41:00] [INFO] [utils/config.util.ts@load] Logger initialized with session ID: 33dbbea6-42d8-49d0-ab61-9d549ad52145\n[11:41:00] [INFO] [utils/config.util.ts@load] Logs will be saved to: /tmp/.mcp/data/mcp-server.33dbbea6-42d8-49d0-ab61-9d549ad52145.log\n[11:41:00] [INFO] [index.ts@main] Starting server with STDIO transport\n[11:41:00] [INFO] [index.ts@startServer] Starting MCP server initialization...\n[11:41:00] [INFO] [index.ts@startServer] Configuration loaded successfully\n[11:41:00] [INFO] [index.ts@startServer] Initializing AWS SSO MCP server v4.0.0\n[11:41:00] [INFO] [index.ts@startServer] Registering MCP tools...\n[11:41:00] [INFO] [index.ts@startServer] All tools registered successfully\n[11:41:00] [INFO] [index.ts@startServer] Using STDIO transport for MCP communication\n[11:41:00] [INFO] [index.ts@startServer] MCP server started successfully on STDIO transport\n[11:41:00] [INFO] [index.ts@main] Server is now running\n"},"tools":[{"name":"aws_sso_login","description":"Initiate AWS SSO device authorization flow to obtain temporary credentials.\n\nThis flow works as follows:\n1. Generates a unique user verification code and authentication URL\n2. Opens a browser to AWS SSO login page (if `launchBrowser: true`)\n3. You enter the verification code and complete AWS SSO login\n4. Background polling automatically collects and caches the token\n5. The cached token is used by other AWS SSO tools\n\n**IMPORTANT FOR AI ASSISTANTS**: When the tool returns authentication instructions:\n- ALWAYS check if a browser window opened automatically\n- If browser opened: Guide the user to complete authentication\n- If no browser opened: Instruct user to manually open the URL and enter code\n- Always provide both the verification code and URL as backup\n\nPrerequisites:\n- AWS SSO must be configured with a start URL and region\n- Browser access is required for authentication\n- You must have an AWS SSO account with appropriate permissions\n\nReturns: Authentication status, session details, verification code and URL","params":["launchBrowser"]},{"name":"aws_sso_status","description":"Check current AWS SSO authentication status.\n\nVerifies if a valid cached token exists and its expiration time. Does NOT perform authentication - only checks status. If no valid token exists, instructs you to run `aws_sso_login`.\n\nUse before calling `aws_sso_ls_accounts` or `aws_sso_exec_command`.\n\nReturns: Authentication status, session details, expiration time, next steps","params":[]},{"name":"aws_sso_ls_accounts","description":"List all AWS accounts and roles accessible through AWS SSO.\n\nProvides essential information needed for `aws_sso_exec_command`:\n- Fetches all accessible accounts with IDs, names, and emails\n- Retrieves all available roles for each account\n- Handles pagination internally\n- Caches account and role information\n\nPrerequisites:\n- MUST first authenticate using `aws_sso_login`\n- AWS SSO must be configured with a start URL and region\n\nReturns: Account list with IDs, names, roles, and session status","params":[]},{"name":"aws_sso_exec_command","description":"Execute AWS CLI command using temporary credentials from AWS SSO.\n\nWorkflow:\n1. Verifies valid AWS SSO authentication token\n2. Obtains temporary credentials for account and role\n3. Executes the AWS CLI command\n4. Caches credentials for future use (1 hour)\n\nPrerequisites:\n- MUST first authenticate using `aws_sso_login`\n- AWS CLI MUST be installed on the system\n- AWS SSO must be configured\n\nRequired: `accountId`, `roleName`, `command`\nOptional: `region`\n\nReturns: Execution context, command output, errors, exit code","params":["accountId","roleName","region","command"]},{"name":"aws_sso_ec2_exec_command","description":"Execute shell command on EC2 instance via SSM using AWS SSO credentials.\n\nNo SSH access or inbound ports required. Uses SSM's RunShellScript document.\n\nPrerequisites:\n- MUST first authenticate using `aws_sso_login`\n- EC2 instance MUST have SSM Agent installed\n- Instance needs IAM role with AmazonSSMManagedInstanceCore policy\n- Your role needs `ssm:SendCommand` and `ssm:GetCommandInvocation` permissions\n\nRequired: `instanceId`, `accountId`, `roleName`, `command`\nOptional: `region`\n\nReturns: Execution context, command output, errors, troubleshooting guidance","params":["instanceId","accountId","roleName","region","command"]}],"toolsHash":"b725c50de6f1407d50ab4744950b96895e8d5dea072f6f2b3fe9345296e606e4","wrote":["/tmp/.mcp/data/mcp-server.33dbbea6-42d8-49d0-ab61-9d549ad52145.log"],"callsAt":"2026-11-16T11:41:02.419Z","calls":[{"tool":"aws_sso_status","ok":false,"ms":4,"bytes":370,"error":"replied, but asks for setup: # AWS SSO: Authentication Required\n\nYou need to authenticate with AWS SSO before using this command.\n\n## How to Authenticate\nRun the following command to start the login process:\n```bash\nmcp-aws-sso login\n```\n\nThis will open a browser window for AWS SSO authentication. F"}],"host":{"commit":"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c","run":"https://github.com/itsHaddad/bragproof/actions/runs/43857070216"},"network":{"names":["registry.npmjs.org"],"conns":[],"callNames":[],"callConns":[]}},"summary":{"outcome":"started","needs":[],"contacts":[],"flags":[{"kind":"orders","tool":"aws_sso_login","quote":"token 5. The cached token is used by other AWS SSO tools **IMPORTANT FOR AI ASSISTANTS**: When the tool returns authentication instructions: - ALWAYS check if a browser"},{"kind":"orders","tool":"aws_sso_ls_accounts","quote":"lly - Caches account and role information Prerequisites: - MUST first authenticate using `aws_sso_login` - AWS SSO must be configured with a start URL and region"},{"kind":"orders","tool":"aws_sso_exec_command","quote":"aches credentials for future use (1 hour) Prerequisites: - MUST first authenticate using `aws_sso_login` - AWS CLI MUST be installed on the system - AWS SSO must b"},{"kind":"orders","tool":"aws_sso_ec2_exec_command","quote":"ired. Uses SSM's RunShellScript document. Prerequisites: - MUST first authenticate using `aws_sso_login` - EC2 instance MUST have SSM Agent installed - Instance ne"}],"tools":5,"wrote":1,"callsTried":1,"callsAnswered":0,"callContacts":[]},"history":[{"package":"@aashari/mcp-server-aws-sso","version":"4.0.0","ranAt":"2026-11-16T11:40:54.384Z","outcome":"started","tools":5,"contacts":0,"flags":4,"serious":0,"toolsHash":"b725c50de6f1407d50ab4744950b96895e8d5dea072f6f2b3fe9345296e606e4"}],"page":"https://bragproof.smaverk.com/r/%40aashari/mcp-server-aws-sso"}