MyAtriumHealth (Epic MyChart) records via your signed-in browser tab
MCPpedia last refreshed this data
io.github.chrischall/myatriumhealth-mcp is an MCP server that MyAtriumHealth (Epic MyChart) records via your signed-in browser tab. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-chrischall-myatriumhealth-mcp": {
"args": [
"-y",
"@chrischall/myatriumhealth-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MyAtriumHealth (Epic MyChart) records via your signed-in browser tab
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@chrischall/myatriumhealth-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @chrischall/myatriumhealth-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Unofficial KakaoTalk CLI and native MCP server for macOS — read, watch, and send messages via Accessibility automation.
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
MCP WordPress Remote proxy server
Generate, validate, repair and style editable draw.io XML diagrams.
MCP Security Weekly
Get CVE alerts and security updates for io.github.chrischall/myatriumhealth-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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. Se