myatriumhealth-mcp
v1.7.0MyAtriumHealth (Epic MyChart) records via your signed-in browser tab
Values you need
| Variable | What it is | |
|---|---|---|
MAH_WS_PORT | optional | Override the fetchproxy WebSocket port (default 37149). |
MAH_READ_ONLY | optional | true refuses mah_reply_message sends (previews still work) and mah_get_message markRead. Default false. |
MAH_OUTPUT_DIR | optional | Directory downloaded attachments, documents and oversized or non-viewable images are saved to (0600 files), default ~/Downloads/myatriumhealth-mcp. Local installs only; a hosted deployment returns a download link instead. |
MAH_USERNAME | optional | MyAtriumHealth username. Set with MAH_PASSWORD to enable bridge-less mode. Leave both empty to relay through your signed-in browser tab. |
MAH_PASSWORD | optional secret | Portal password. Both are required; setting only one falls back to the bridge (with a warning). |
MAH_DOTENV | optional | Path to a .env file read first; failing that ~/.myatriumhealth-mcp/.env, then ./.env. A real MAH_USERNAME / MAH_PASSWORD in the environment always wins. |
MAH_DEVICE_FILE | optional | Session state (0600), default ~/.myatriumhealth-mcp/device.json. Holds the live cookie jar as well as the device token — treat as a credential. |
FETCHPROXY_WS_HOST | optional | Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace. |
FETCHPROXY_IDENTITY_DIR | optional | Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add myatriumhealth-mcp -- npx -y @chrischall/myatriumhealth-mcp@1.7.0Add to
claude_desktop_config.json{
"mcpServers": {
"myatriumhealth-mcp": {
"args": [
"-y",
"@chrischall/myatriumhealth-mcp@1.7.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"myatriumhealth-mcp": {
"args": [
"-y",
"@chrischall/myatriumhealth-mcp@1.7.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"myatriumhealth-mcp": {
"args": [
"-y",
"@chrischall/myatriumhealth-mcp@1.7.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.myatriumhealth-mcp]
command = "npx"
args = ["-y", "@chrischall/myatriumhealth-mcp@1.7.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: mah_list_allergies, mah_list_health_issues, mah_list_immunizations, mah_list_medications, mah_list_care_team, mah_list_goals, mah_list_test_results, mah_get_test_result, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json