Scan your whole stack
From OX Research Newsroom
Latest version: v1.6.0
io.github.chrischall/myatriumhealth-mcp was last scanned on 23 Nov 2026 at version 1.6.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.6.0 LATEST | 23 Nov 2026 | No rules fired |
| 1.5.1 | 7 Nov 2026 | No rules fired |
| 1.5.0 | 6 Nov 2026 | No rules fired |
| 1.4.1 | 4 Nov 2026 | Not shown |
| 1.4.0 | 4 Nov 2026 | Not shown |
Findings for v1.6.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.6.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
MCP server for MyAtriumHealth — Atrium Health's Epic MyChart
patient portal at my.atriumhealth.org. Reads test results, medications, allergies,
immunizations, health issues, goals and visits.
This project was developed and is maintained by AI. Use at your own discretion. It reads personal health information, and only ever from the signed-in user's own account.
| Mode | When | Credentials held |
|---|---|---|
| Browser bridge (default) | no credentials configured | none |
| Bridge-less | MAH_USERNAME + MAH_PASSWORD set |
your portal password, on disk |
Bridge-less logs in server-side — no browser, no extension — which is what makes
hosting possible. Verification is human-in-the-loop: the portal challenges,
mah_sign_in reports the channels your account allows, the portal sends a code to
you, and mah_verify_code submits only what you provide. Nothing here bypasses the
second factor.
When the session expires you do not reconnect the MCP or restart anything. The
next tool call returns an actionable error naming the channels and your masked
destinations; you pick one, the portal texts or emails you, and mah_verify_code
resumes the session in place. A pending challenge is remembered, so further tool calls
report it rather than re-submitting your password each time.
Where credentials are read from. A real MAH_USERNAME / MAH_PASSWORD in the
environment always wins. Failing that the server reads the first .env it finds, in
this order: MAH_DOTENV, then ~/.myatriumhealth-mcp/.env, then ./.env.
The middle one exists because MCP clients launch the server from whatever directory
they happen to be in, so a .env sitting in a checkout is invisible to it — and the
failure is quiet: with no credentials the server falls back to the browser bridge,
binds a port and waits for a signed-in tab. If you meant to run bridge-less and see the
bridge start, that is what happened; the startup line now says so.
How the session persists. After one verification the cookie jar is stored (0600, bound to the account) and reused, so restarts resume the existing session rather than signing in again — no browser and no further codes until the session lapses.
How long that lasts, measured rather than assumed. Every one of the ten cookies
MyChart sets is a session cookie — none carries an expires or max-age — so the
lifetime is the server's alone and cannot be read from the jar. A jar left idle for
219 minutes no longer authenticated: the next call fell through to a fresh sign-in
and was challenged for a code immediately.
What that does and does not establish: it bounds an idle session, and says nothing about an active one. The measurement cannot tell an idle timeout from an absolute one, and portals of this kind usually expire on inactivity — so a session in steady use may outlive 3.6h comfortably, while one left alone will not. Plan re-verification around gaps in use, not around wall-clock age.
Why the jar is written back mid-session. Every response's Set-Cookie is absorbed,
and the jar is re-persisted whenever a value actually changed (transport-server.ts
after each request; a no-op write when nothing rotated). That is not bookkeeping: if
the portal refreshes its ticket as a session is used, the refreshed one only survives a
process restart by reaching disk. On a scale-to-zero host — where the child exits
between tool calls — that write-back is the whole reason an extended session is still
there on the next call, rather than the copy frozen at sign-in.
Two things none of this changes: a lapse still costs one code rather than a reconnect,
and detection alone sends nothing — only mah_sign_in asks the portal to send
anything.
What does NOT work, measured rather than assumed: the
RememberDeviceIdthis portal returns is not a device-tracking id it will accept back. Sending it neither skips verification nor is harmless — it breaks the challenge, leaving the SecondaryValidation page without itstemplateContextso the antiforgery token cannot be read andSendCodereturns 500. The account reportsRememberMeSettings.EnrollDeviceTracking: False, which fits. The token is therefore stored but deliberately never sent.
The bridge mode's real virtue is that it holds no credentials at all. Prefer it unless you specifically need bridge-less.
Every MyChart cookie is HttpOnly and login is MFA-gated, so the session cannot be
copied out of the browser and replayed from Node. Requests are therefore relayed
through the user's own signed-in tab via the
fetchproxy bridge and the ContextMint Bridge
browser extension, reusing their authenticated session. The server never reads or stores the
session cookie.
The portal's web app talks to a JSON API in two generations — modern
POST api/<area>/<Action> and legacy form-encoded POST <Area>/<Controller>/<Action>.
Both are documented, with live-captured shapes, in
docs/MYATRIUMHEALTH-API.md.
{
"mcpServers": {
"myatriumhealth": {
"command": "npx",
"args": ["-y", "@chrischall/myatriumhealth-mcp"]
}
}
}
Bridge mode needs ContextMint Bridge, installed from its
releases page — in Chrome,
unzip the chrome zip and add it via chrome://extensions → Developer mode → Load
unpacked. Use Chrome for now: the Safari build will ship inside the ContextMint app,
which has no public download yet.
ContextMint Bridge is the fetchproxy browser extension under its new name, from the
same maintainer — fetchproxy's own README
points to it. Its source is public at
nullnet-app/contextmint-bridge: build it
yourself, or check a release zip against the .sha256 file published beside it
(shasum -a 256 -c contextmint-bridge-chrome-<version>.zip.sha256).
Then sign in to my.atriumhealth.org in your browser and call mah_healthcheck. The
first call prints a pair code — approve it once in the ContextMint Bridge popup.
| Env | Default | Purpose |
|---|---|---|
MAH_USERNAME |
— | MyAtriumHealth username. Set with MAH_PASSWORD to enable bridge-less mode. |
MAH_PASSWORD |
— | Portal password. Both are required; setting only one falls back to the bridge (with a warning). |
MAH_DEVICE_FILE |
~/.myatriumhealth-mcp/device.json |
Session state (0600). Holds the live cookie jar as well as the device token — treat as a credential. |
MAH_WS_PORT |
37149 |
fetchproxy concentrator port (bridge mode only). The whole fleet shares this one port; override only when hosting. |
MAH_READ_ONLY |
false |
true refuses mah_reply_message sends (previews still work) and mah_get_message's markRead. The tools stay listed either way. |
MAH_OUTPUT_DIR |
~/Downloads/myatriumhealth-mcp |
Where downloaded attachments, documents and oversized or non-viewable images are saved (files are 0600). Local installs only — a hosted deployment returns a short-lived download link instead. |
MCP_CONFIRM_MODE |
ask-user |
What a reply does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call sends nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: replies are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse. |
MCP_CONFIRM_ELICITATION |
on |
off never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE path. Set it for a client that claims to support prompts but never shows one (the reply hangs — opencode 2.0.x). Any other value stays on, with a warning on stderr. |
MCP_CONFIRM_TTL_SECONDS |
600 |
How long a token stays valid. |
MCP_CONFIRM_SECRET |
random per process | Signing key; set it only if tokens must survive a server restart. |
MCP_BLOB_BASE_URL / MCP_BLOB_SIGNING_KEY |
— | Set by mcp-host, never by hand: the per-registration upload store behind mah_upload_slots. Unset on a local install, where only base64 attachments work. |
All read-only except three. mah_set_active_patient changes only which patient this
connector reads — it writes nothing to any chart. mah_get_message reads, and changes
the portal only when called with markRead: true (the conversation is then marked
read, as opening it in the web app would). mah_reply_message sends a message a
provider will see, which cannot be undone: see Replying.
Every reading tool returns { patient, data }, so the chart a response belongs to is
stated rather than inferred.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.