InnerVault

Last EHR — Medplum

Stale Official MCP Registry, io.github.cbetz

FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.

Open the source (opens github.com) https://github.com/cbetz/last-ehr

Before you use it

  • Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
  • Needs credentials: LASTEHR_PRIVATE_KEY, MEDPLUM_ACCESS_TOKEN, MEDPLUM_CLIENT_SECRET. Use a key with the least access you can.

What it is

MCP servers from io.github.cbetz.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

How to get it

npm package (stdio)

@lastehr/mcp@0.5.4

From the server's entry in the official MCP Registry

Settings it asks for

  • MEDPLUM_ACCESS_TOKEN secret · FHIR chart tools over Medplum or a local HAPI stack: read-only by default, with an opt-in elicitation-gated write profile (human-approved per action).
  • MEDPLUM_CLIENT_ID · FHIR chart tools over Medplum or a local HAPI stack: read-only by default, with an opt-in elicitation-gated write profile (human-approved per action).
  • MEDPLUM_CLIENT_SECRET secret · FHIR chart tools over Medplum or a local HAPI stack: read-only by default, with an opt-in elicitation-gated write profile (human-approved per action).
  • MEDPLUM_BASE_URL · FHIR chart tools over Medplum or a local HAPI stack: read-only by default, with an opt-in elicitation-gated write profile (human-approved per action).
  • LASTEHR_BACKEND · epic, oracle, or smart. Requires LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS=1. Sandbox writes are approval-gated and persist because those sandboxes do not support…
  • LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS · Set to 1 to enable LASTEHR_BACKEND epic, oracle, or smart.
  • LASTEHR_CLIENT_ID · SMART Backend Services client id. Not a secret.
  • LASTEHR_PRIVATE_KEY secret · PKCS#8 PEM for SMART private_key_jwt. Never log it.
  • LASTEHR_PRIVATE_KEY_PATH · Path to the PKCS#8 PEM. Alternative to LASTEHR_PRIVATE_KEY.
  • LASTEHR_KEY_ID · JWT kid. Must match the public JWKS.
  • LASTEHR_JWKS_URL · https URL of the public JWKS. doctor checks that LASTEHR_KEY_ID is present. Optional.
  • LASTEHR_SCOPES · Space-delimited SMART scopes. Required for Oracle. Omit for Epic unless overriding the app registration.

Related

  1. mcp

    MCP servers

    Securely access and manage FHIR healthcare data stored in Medplum.

    Stale Official MCP Registry, com.medplum Updated 3 months ago 1 note

  2. Eureka EHR

    MCP servers

    The Eureka EHR as MCP tools: patients, schedule, notes, messages, billing, and orders.

    Stale Official MCP Registry, md.eureka Updated 3 months ago 1 note

  3. EHR-migration data-integrity checklist: silent data-loss modes anchored to HL7/FHIR, USCDI, HIPAA.

    Stale Official MCP Registry, com.dropwatchhq Updated 4 months ago

  4. neuro-mcp

    MCP servers

    MCP for NeuroAgents assisting clinicians: MNE processing, EHR store, NeuroII visualization.

    Stale Official MCP Registry, io.github.AImplifier Updated 21 days ago 1 note

    neuro-mcp@0.1.4
  5. Last.fm MCP

    MCP servers

    Unofficial, read-only access to your Last.fm listening history, charts, and music lookups.

    Indexed Official MCP Registry, com.lastfm-mcp 53 ★Updated 2 days ago 1 note

  6. Read patient-authorized EHR records: medications, labs, conditions, allergies. Consent-bounded.

    Stale Official MCP Registry, com.finchnode Updated 56 days ago 1 note