Last.fm MCP.
Last EHR — Medplum MCP Server
Published by cbetzFHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.5.6
- SOURCE CHECKED
- Nov 29, 2026
Quick answers
How do I add Last EHR — Medplum MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'MEDPLUM_ACCESS_TOKEN=<your-medplum-access-token>' --env 'MEDPLUM_CLIENT_SECRET=<your-medplum-client-secret>' --env 'LASTEHR_PRIVATE_KEY=<your-lastehr-private-key>' --transport stdio last-ehr-medplum -- npx -y @lastehr/mcpReplace the <your-…> placeholder with your own MEDPLUM_ACCESS_TOKEN and MEDPLUM_CLIENT_SECRET and LASTEHR_PRIVATE_KEY.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"last-ehr-medplum": {
"command": "npx",
"args": [
"-y",
"@lastehr/mcp"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<your-medplum-access-token>",
"MEDPLUM_CLIENT_SECRET": "<your-medplum-client-secret>",
"LASTEHR_PRIVATE_KEY": "<your-lastehr-private-key>"
}
}
}
}Replace the <your-…> placeholder with your own MEDPLUM_ACCESS_TOKEN and MEDPLUM_CLIENT_SECRET and LASTEHR_PRIVATE_KEY.
CodexCommand
Run this in your terminal:
codex mcp add last-ehr-medplum --env 'MEDPLUM_ACCESS_TOKEN=<your-medplum-access-token>' --env 'MEDPLUM_CLIENT_SECRET=<your-medplum-client-secret>' --env 'LASTEHR_PRIVATE_KEY=<your-lastehr-private-key>' -- npx -y @lastehr/mcpReplace the <your-…> placeholder with your own MEDPLUM_ACCESS_TOKEN and MEDPLUM_CLIENT_SECRET and LASTEHR_PRIVATE_KEY.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"last-ehr-medplum": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lastehr/mcp"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<your-medplum-access-token>",
"MEDPLUM_CLIENT_SECRET": "<your-medplum-client-secret>",
"LASTEHR_PRIVATE_KEY": "<your-lastehr-private-key>"
}
}
}
}Replace the <your-…> placeholder with your own MEDPLUM_ACCESS_TOKEN and MEDPLUM_CLIENT_SECRET and LASTEHR_PRIVATE_KEY.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"last-ehr-medplum": {
"command": "npx",
"args": [
"-y",
"@lastehr/mcp"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<your-medplum-access-token>",
"MEDPLUM_CLIENT_SECRET": "<your-medplum-client-secret>",
"LASTEHR_PRIVATE_KEY": "<your-lastehr-private-key>"
}
}
}
}Replace the <your-…> placeholder with your own MEDPLUM_ACCESS_TOKEN and MEDPLUM_CLIENT_SECRET and LASTEHR_PRIVATE_KEY.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use Last EHR — Medplum MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does Last EHR — Medplum MCP Server need an API key?
To run it on your computer, set MEDPLUM_ACCESS_TOKEN, MEDPLUM_CLIENT_SECRET and LASTEHR_PRIVATE_KEY first, with values from the publisher.
Is Last EHR — Medplum MCP Server official?
It's published by cbetz. The Official MCP Registry accepts names under io.github.cbetz only from the GitHub account or organisation cbetz. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @lastehr/mcp@0.5.6