add_account
Add a new Gmail account by authorizing via OAuth in your browser. Provide a friendly alias and optional email to verify the account.
Instructions
Multi-account Gmail (all connected accounts). Connect a new Gmail account via OAuth: opens a browser for authorization and stores the token locally. If this times out before the user finishes, run instead in a terminal: npm run auth -- --alias (in the gmail-mcp project).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"alias": "<alias>"
},
"name": "add_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Short friendly name for the account, e.g. "personal" or "work". | |
| No | Expected email address — aborts if a different account is authorized. |