Skip to content
VS Code

fhirhydrant for VS Code

io.github.faulkj/fhirhydrant

FHIR MCP server with SMART Backend Services, response compaction, FHIRPath, and guarded writes.

client:VS Code transport:stdio runtime:npm

Install fhirhydrant in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fhir-auth",
      "description": "FHIR_AUTH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fhir-server-url",
      "description": "FHIR_SERVER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fhir-token-url",
      "description": "FHIR_TOKEN_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fhir-client-id",
      "description": "FHIR_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fhir-active-key",
      "description": "FHIR_ACTIVE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fhir-jwks-url",
      "description": "FHIR_JWKS_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fhir-version",
      "description": "FHIR_VERSION",
      "password": true
    }
  ],
  "servers": {
    "fhirhydrant": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fhirhydrant"
      ],
      "env": {
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "FHIR_AUTH": "${input:fhir-auth}",
        "FHIR_SERVER_URL": "${input:fhir-server-url}",
        "FHIR_TOKEN_URL": "${input:fhir-token-url}",
        "FHIR_CLIENT_ID": "${input:fhir-client-id}",
        "FHIR_ACTIVE_KEY": "${input:fhir-active-key}",
        "FHIR_JWKS_URL": "${input:fhir-jwks-url}",
        "FHIR_VERSION": "${input:fhir-version}"
      }
    }
  }
}

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

fhirhydrant in other clients