Skip to content
VS Code

mcp fhir for VS Code

io.github.pcmedsinge/mcp-fhir

FHIR R4 read/search/validate MCP server — US Core/IPS profiles, SMART-on-FHIR auth (Epic/Cerner).

client:VS Code transport:stdio runtime:pypi

Install mcp fhir in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "fhir-base-url",
      "description": "FHIR_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "smart-enabled",
      "description": "SMART_ENABLED",
      "password": true
    }
  ],
  "servers": {
    "mcp-fhir": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-fhir"
      ],
      "env": {
        "FHIR_BASE_URL": "${input:fhir-base-url}",
        "SMART_ENABLED": "${input:smart-enabled}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp fhir in other clients