HIPAA FHIR MCP
v0.9.0Fifteen read-only FHIR R4 tools with per-patient grants and HMAC audit.
Not smoke-tested: mcpb packages are not smoke-tested yet.
Values you need
| Variable | What it is | |
|---|---|---|
AUDIT_HMAC_KEY | required secret | 64 hex characters used to HMAC patient ids in audit records |
FHIR_BASE_URL | optional | FHIR R4 base URL; defaults to the public synthetic SMART sandbox Default: https://r4.smarthealthit.org |
CALLER_IDENTITY | optional | Operator label written into audit records, not an authenticated identity Default: mcp-client-local |
SMART_CLIENT_ID | optional | SMART Backend Services client id; set with SMART_KEY_ID and SMART_PRIVATE_KEY_FILE |
SMART_KEY_ID | optional | kid of the registered public key |
SMART_PRIVATE_KEY_FILE | optional | Absolute path to a PEM private key, RSA 2048+ or EC P-384, mode 600 |
SMART_TOKEN_URL | optional | SMART token endpoint; required unless NODE_ENV is development or test, where it is read from .well-known/smart-configuration |
PATIENT_POLICY_FILE | optional | Absolute path to the JSON patient policy (principal, patients, tools); every tool call is denied when empty |
LOCAL_SYNTHETIC_PRINCIPAL | optional | Local fixture identity matched against the policy, not an authenticated caller; every tool call is denied when empty |
AUDIT_LOG_FILE | optional | Optional absolute path for the audit file sink; stderr when empty |
No installable package or endpoint was found. See the README for build-from-source steps.
For AI agents
- Ask the user for: AUDIT_HMAC_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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.
- If it fails, check that the required runtime is installed (none) and that the values above are set.
Machine-readable: install.md · manifest.json