I have a fork of the HAPI FHIR JPA Server Starter Project which I have configured to sync with the upstream repository.
See:
https://github.com/Robinyo/hapi-fhir-jpaserver-starterAlso see:
https://rob-ferguson.me/tag/fhir/The current HAPI FHIR JPA Server Starter Project version is
v8.4.0-2
Note: You can also use the most recent Docker Image: hapiproject/hapi:v8.4.0-2
If you take a look at the project's `application.yml` you will see the following (default) Spring AI MCP Server configuration:
```
spring:
ai:
mcp:
server:
name: FHIR MCP Server
version: 1.0.0
instructions: "This server provides access to a FHIR RESTful API. You can use it to query FHIR resources, perform operations, and retrieve data in a structured format."
enabled: true
streamable-http:
mcp-endpoint: /mcp/messages
```
I also updated the project's `application.yml`, to configure the Web Testpage Overlay:
```
tester:
home:
name: Local Tester
server_address: 'http://localhost:8080/fhir'
refuse_to_fetch_third_party_urls: false
fhir_version: R4 ```
Then configure your MCP client (e.g., Claude for Desktop):
```
"mcpServers": {
"hapi": {
"command": "npx",
"args": [
"mcp-remote@latest",
"
http://localhost:8080/mcp/messages"
]
}
}