Log in to MyChart
mychart_loginOpens visible browser window for manual MyChart login, including MFA. Credentials stay private; session saved for later access to lab results.
Instructions
Open a VISIBLE browser window at the configured MyChart login page and wait for the sign-in to complete. The user types their username/password and completes any MFA prompt directly in that window — credentials are never passed through the MCP client. (Optionally, if MYCHART_USERNAME and MYCHART_PASSWORD environment variables are set on the server process, the login form is pre-filled.)
Tip: check "Remember this device" during MFA so future logins skip the code.
The session is stored in a persistent browser profile (~/.mychart-mcp/browser-profile), so once logged in, all other tools work headlessly without repeating login until the session expires.
Args:
timeout_seconds (number): How long to wait for the user to finish signing in (default 300, max 900).
Returns: { success, landedUrl, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | Seconds to wait for the user to complete sign-in (default 300) |