account
Manage Microsoft account connections: add, remove, list, login, logout, and refresh tokens for the Outlook MCP server.
Instructions
Account management for Microsoft accounts connected to the Outlook MCP server.
Set the required operation parameter to one of the verbs below. Each line names the verb, what it does, and the parameters that verb requires. Optional parameters are omitted here; call operation="help" for the full parameter reference.
help: show detailed documentation for all verbs or a single named verb. No required parameters.add: add and authenticate a new Microsoft account (browser/device_code/auth_code). Requires: label.remove: remove an account from the registry and clear its tokens (irreversible). Requires: label.list: list all registered accounts with label, UPN, state, and auth_method. No required parameters.login: re-authenticate a disconnected account without removing it. Requires: label.logout: disconnect an account without removing it; preserves config for login. Requires: label.refresh: force a token refresh for an authenticated account; returns new expiry. Requires: label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Unique label for the account (1-64 chars, alphanumeric/underscore/hyphen). | |
| output | No | Output mode: 'text' (default), 'summary', or 'raw'. | |
| client_id | No | OAuth client ID. Defaults to the server's configured client ID. | |
| operation | Yes | The operation to perform. Call with operation="help" for full documentation. | |
| tenant_id | No | Entra ID tenant ID. Defaults to the server's configured tenant ID. | |
| auth_method | No | Authentication method: 'browser', 'device_code', or 'auth_code'. Defaults to the server's configured method. |