Set MyChart Provider
mychart_set_providerSet the health system's MyChart URL to configure which patient portal to use. Required once before logging in to access test results.
Instructions
Configure which health system's MyChart site to use. Every hospital system runs its own MyChart instance at its own URL, so this must be set once before logging in.
Args:
url (string): Any URL from the provider's MyChart site — the login page URL pasted from a browser works fine (e.g. "https://mychart.virtua.org/MyChartPRD/Authentication/Login"). It is normalized to the instance root automatically.
Returns: The normalized base URL that was saved.
The setting persists in ~/.mychart-mcp/config.json. Changing providers invalidates any saved login session for the previous provider only in the sense that tools will now target the new site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any URL on your health system's MyChart site, e.g. https://mychart.virtua.org/MyChartPRD |