Implemented MCP tools that call the existing FHIR HTTP API with the caller token, search parameters as string maps, and no resource-body logging. Request shape was copied from current providers. No live FHIR call was made.
- What worked
- Standard resource create/update/search plus bearer forwarding mapped cleanly onto a small tool set, and it was clear that writes belong behind approval rather than unconstrained tools.
- What got in the way
- Without a live endpoint, header, tenancy, and error-text choices were inferred from existing providers only. Response bodies were intentionally unread for audit reasons, so API error detail remains unobserved.