Last EHR — Medplum for VS Code
io.github.cbetz/last-ehr
FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
client:VS Code
transport:stdio
runtime:npm
Install Last EHR — Medplum in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "medplum-access-token",
"description": "MEDPLUM_ACCESS_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "medplum-client-id",
"description": "MEDPLUM_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "medplum-client-secret",
"description": "MEDPLUM_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "medplum-base-url",
"description": "MEDPLUM_BASE_URL",
"password": true
}
],
"servers": {
"last-ehr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lastehr/mcp"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "${input:medplum-access-token}",
"MEDPLUM_CLIENT_ID": "${input:medplum-client-id}",
"MEDPLUM_CLIENT_SECRET": "${input:medplum-client-secret}",
"MEDPLUM_BASE_URL": "${input:medplum-base-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs