{"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\":[]}}","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJhY3RvciI6Iml0c0hhZGRhZCIsImFjdG9yX2lkIjoiMTE0NzMyNjEiLCJhdWQiOiJicmFncHJ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