vendor_login
Opens a real browser window for the user to manually log in to the vendor portal, capturing the login response to refresh access tokens when authentication fails or expires.
Instructions
Open a real Chromium window so the user can log in to the vendor frontend.
Use this when:
auth_statusreportsauthenticated=falseAnother tool has returned a "No vendor access token" / "token refresh failed" error
Flow:
A Chromium window opens at the vendor frontend.
Email / password / vendor_id are best-effort prefilled from env.
The user solves the reCAPTCHA and clicks submit themselves.
This tool captures the POST /v1/auth/login response, updates the in-memory cache, and writes VENDOR_ACCESS_TOKEN / VENDOR_REFRESH_TOKEN back to .env so future MCP restarts are also authenticated.
Blocks until the user completes the login (up to 10 minutes) or aborts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vendor_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||