| name | aws-builder-id-creator |
| description | Automatically create AWS Builder ID accounts using pure MCP Playwright. Use when user asks to create AWS account, add account, or register new Builder ID. |
| allowed-tools | mcp__playwright__*, Bash |
AWS Builder ID Account Creator (Pure MCP)
纯 MCP 实现:所有操作都通过浏览器完成,无需 helper.py 脚本。
When to Use
Use this skill when the user asks to:
- Create a new AWS Builder ID account
- Add an account to the Claude system
- Register a new account
Prerequisites
- Access to <YOUR_MANAGER_URL> (Claude 无限畅享版)
- Admin password:
<YOUR_PASSWORD>
- MCP Playwright server must be running
Pure MCP Workflow
Phase 1: Get Temporary Email (Browser)
- Navigate to https://tempmail100.com
- Extract the email address from the page (displayed in the email field)
- Save the email address for later use
Phase 2: Start AWS Authorization (Browser)
- Open a new tab
- Navigate to <YOUR_MANAGER_URL> (or use browser_run_code to call the API)
- Call
/v2/auth/start API to get:
auth_url: AWS authorization page URL
auth_id: Used for claiming the account later
- Navigate to the
auth_url
Phase 3: AWS Registration (Browser)
- Fill in the temporary email address
- Click "继续"
- Fill in name: "<YOUR_NAME>"
- Click "继续"
- Wait for verification page to load
Phase 4: Get Verification Code (Browser)
- Switch to the tempmail100.com tab
- Click "Refresh" button to check for new emails
- Look for email from "no-reply@signin.aws"
- Click on the email to open it
- Extract the 6-digit verification code from the email content
- Switch back to AWS tab
Phase 5: Complete Registration (Browser)
- Enter the verification code
- Click "Continue"
- Generate a random 10-character password containing uppercase, lowercase, digits, and symbols (e.g.,
Abc1@xYz9!)
- Enter and confirm the generated password
- Click "继续"
- Click "确认并继续" on authorization page
- Click "允许访问"
- Wait for "请求已批准" message
Phase 6: Claim Account (Browser or Bash)
CRITICAL: Must claim the account to add it to the pool!
Use browser_run_code to call the API:
await fetch('<YOUR_MANAGER_URL>/v2/auth/claim/{auth_id}', {
method: 'POST',
headers: {
'Authorization': 'Bearer <YOUR_PASSWORD>'
}
});
Or use Bash:
curl -X POST -H "Authorization: Bearer <YOUR_PASSWORD>" \
<YOUR_MANAGER_URL>/v2/auth/claim/{auth_id}
Success response:
{
"account": {
"id": "xxx",
"clientId": "xxx",
"refreshToken": "xxx",
"accessToken": "xxx"
},
"status": "completed"
}
Phase 7: Cleanup and Store
CRITICAL: Close the browser after completion
- Use mcp__playwright__browser_close tool
Store the information of the account into local jsonl, account.jsonl!!!
Key Advantages of Pure MCP
- No session management bugs: Everything happens in the same browser session
- Transparent: All operations are visible and debuggable
- Reliable: No email/token mismatches
- Simple: No need for helper.py script
API Reference
Claude Manager API
| Endpoint | Method | Headers | Description |
|---|
/v2/auth/start | POST | Authorization: Bearer <YOUR_PASSWORD>, Content-Type: application/json | Start authorization, body: {}, returns {authId, userCode, verificationUriComplete} |
/v2/auth/claim/{authId} | POST | Authorization: Bearer <YOUR_PASSWORD> | Claim account after registration |
/v2/accounts | GET | Authorization: Bearer <YOUR_PASSWORD> | Get account list |
Example Usage
User: "帮我创建一个AWS Builder ID账号"
Pure MCP flow:
- Open tempmail100.com and extract email address
- Call Claude Manager API to start authorization and get auth_url
- Navigate to auth_url and fill in email and name
- Switch to tempmail tab, refresh, and extract verification code
- Switch back to AWS tab and complete registration
- Call claim API to add account to pool
- Close browser
Troubleshooting
- Email not arriving: Wait longer (up to 5 minutes) and refresh tempmail page
- AWS session expired: Complete registration faster, use consolidated browser_run_code
- Verification code not found: Check email content carefully, skip "555555" (fake code from images)