Last EHR — Medplum for Zed
io.github.cbetz/last-ehr
FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
client:Zed
transport:stdio
runtime:npm
Install Last EHR — Medplum in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"last-ehr": {
"command": "npx",
"args": [
"-y",
"@lastehr/mcp"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<MEDPLUM_ACCESS_TOKEN>",
"MEDPLUM_CLIENT_ID": "<MEDPLUM_CLIENT_ID>",
"MEDPLUM_CLIENT_SECRET": "<MEDPLUM_CLIENT_SECRET>",
"MEDPLUM_BASE_URL": "<MEDPLUM_BASE_URL>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs