x_login
Authenticate with X credentials to enable write and private tools for the current session. Supports email verification and TOTP for two-factor authentication.
Instructions
Log into an X account with username/password (and email or TOTP if challenged) to enable write/private tools for this session. SECURITY: your X password is passed as tool arguments, so it transits the AI model's context and your model provider. For sensitive accounts, instead set X_AUTH_TOKEN in your MCP config and skip this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address for verification. Required-in-practice — Twitter's login flow conditionally triggers an alternate-identifier subtask; always pass email if you have it. | ||
| password | Yes | Account password. | |
| username | Yes | Twitter username (without @). | |
| totp_secret | No | TOTP secret for 2FA-enabled accounts (base32 string). Required whenever 2FA is enabled on the account. |