Skip to content

Commit 424d35c

Browse files
committed
updated readme with correct env vars setting for mcp config
1 parent 9fa24a6 commit 424d35c

File tree

1 file changed

+9
-26
lines changed

1 file changed

+9
-26
lines changed

README.md

+9-26
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
An MCP (Model Context Protocol) server designed to interface with openEHR REST APIs, specifically the EHRbase implementation.
44
This server enables MCP clients like Claude Desktop to create compositions for openEHR templates and submit them to a server.
5-
For production grade EHR integration you would want to use an LLM you control yourself.
5+
For production grade EHR integrations you must use an AI Model where you can ensure data privacy.
6+
7+
See https://modelcontextprotocol.io/introduction for more information about MCP.
68

79
## MCP Tools
810

@@ -50,11 +52,10 @@ Edit your Claude Desktop configuration file (claude_desktop_config.json) and add
5052
"-i",
5153
"--rm",
5254
"--network=host",
55+
"-e",
56+
"EHRBASE_URL=http://localhost:8080/ehrbase/rest",
5357
"ctodeakai/openehr-mcp-server:latest"
54-
],
55-
"env": {
56-
"EHRBASE_URL": "http://localhost:8080/ehrbase/rest"
57-
}
58+
]
5859
}
5960
}
6061
}
@@ -172,26 +173,8 @@ Build the Docker image from the project root:
172173
docker build -t openehr-mcp-server .
173174
```
174175

176+
### Running the Docker Container
175177

176-
### Configuring Claude Desktop
177-
178-
179-
```json
180-
{
181-
"mcpServers": {
182-
"openEHR": {
183-
"command": "docker",
184-
"args": [
185-
"run",
186-
"-i",
187-
"--rm",
188-
"--network=host",
189-
"openehr-mcp-server"
190-
],
191-
"env": {
192-
"EHRBASE_URL": "http://localhost:8080/ehrbase/rest"
193-
}
194-
}
195-
}
196-
}
178+
```bash
179+
docker run -i --rm --network=host openehr-mcp-server
197180
```

0 commit comments

Comments
 (0)