auto_register
Register a temporary email account with maildrop or mail.cx, obtain an API key/token through pure HTTP calls, and activate it in the current session.
Instructions
Automatically register an account and obtain an API key/token for a provider. Uses pure HTTP API calls — no browser automation needed. Supported providers: 'maildrop' and 'mail.cx'. The resulting API key/token is automatically registered in the current session and also returned for the user to save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | The provider to auto-register. 'maildrop': uses RSA key generation + HTTP API to register and obtain an md_ API key. 'mail.cx': uses magic-link sign-in flow (creates a temp mailbox via mail.tm, receives the magic link, follows it, and creates an API token). | |
| username | No | Username for the account (maildrop only). If omitted, a random one is generated. | |
| timeoutMs | No | Overall timeout in milliseconds. Default: 120000 (2 minutes). | |
| tokenName | No | Name for the created API token (mail.cx only). Default: 'tempmail-mcp'. |