Last EHR — Medplum
io.github.cbetz/last-ehr
Serveur MCP Non testé
FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
Fiche technique
- Auteur
- cbetz (espace de noms du registre)
- Dépôt
- github.com/cbetz/last-ehr
- Site
- www.lastehr.com/docs/mcp
- Version
- 0.5.6
- Transport
- stdio
- Authentification
- Aucune (déclarée au registre)
- Paquets
- @lastehr/mcp 0.5.6 npm stdio
- Outils
- —
- Catégories
- —
- Dernière mise à jour
- 28 nov. 2026
- Publication
- 28 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».
[](https://latlas.dev/mcp/io.github.cbetz/last-ehr)<a href="https://latlas.dev/mcp/io.github.cbetz/last-ehr"><img src="https://latlas.dev/badge/fiche/io.github.cbetz/last-ehr.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport non listé | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Lancement local du paquet @lastehr/mcp (npm). Formats repris de la documentation de chaque client.
claude mcp add-json last-ehr '{"command":"npx","args":["-y","@lastehr/[email protected]"]}'{
"mcpServers": {
"last-ehr": {
"command": "npx",
"args": ["-y","@lastehr/[email protected]"]
}
}
}{
"mcpServers": {
"last-ehr": {
"type": "stdio",
"command": "npx",
"args": ["-y","@lastehr/[email protected]"]
}
}
}{
"mcpServers": {
"last-ehr": {
"type": "stdio",
"command": "npx",
"args": ["-y","@lastehr/[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"last-ehr": {
"command": "npx",
"args": ["-y","@lastehr/[email protected]"]
}
}
}{
"mcpServers": {
"last-ehr": {
"command": "npx",
"args": ["-y","@lastehr/[email protected]"]
}
}
}[mcp_servers.last-ehr]
command = "npx"
args = ["-y","@lastehr/[email protected]"]Variables d’environnement déclarées
| Nom | Requise | Description |
|---|---|---|
| MEDPLUM_ACCESS_TOKEN | non (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 | non | 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 | non (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 | non | 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 | non | epic, oracle, or smart. Requires LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS=1. Sandbox writes are approval-gated and persist because those sandboxes do not support delete. |
| LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS | non | Set to 1 to enable LASTEHR_BACKEND epic, oracle, or smart. |
| LASTEHR_CLIENT_ID | non | SMART Backend Services client id. Not a secret. |
| LASTEHR_PRIVATE_KEY | non (secret) | PKCS#8 PEM for SMART private_key_jwt. Never log it. |
| LASTEHR_PRIVATE_KEY_PATH | non | Path to the PKCS#8 PEM. Alternative to LASTEHR_PRIVATE_KEY. |
| LASTEHR_KEY_ID | non | JWT kid. Must match the public JWKS. |
| LASTEHR_JWKS_URL | non | https URL of the public JWKS. doctor checks that LASTEHR_KEY_ID is present. Optional. |
| LASTEHR_SCOPES | non | Space-delimited SMART scopes. Required for Oracle. Omit for Epic unless overriding the app registration. |
| LASTEHR_FHIR_BASE_URL | non | FHIR base URL. Epic and Oracle default to their public sandboxes when unset. |
| LASTEHR_TOKEN_URL | non | SMART token URL. Epic and Oracle default to their public sandboxes when unset. |
| LASTEHR_ENCOUNTER | non | Encounter/{id} added to Epic observations when the tool call omits encounter. |
| LASTEHR_PERFORMER | non | Practitioner/{id} filed as legal authenticator on Oracle observations. |
Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
[Last EHR — Medplum — L’Atlas](https://latlas.dev/mcp/io.github.cbetz/last-ehr)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.