Install the MCP server
What you need
Section titled “What you need”- A computer (macOS or Windows).
- Claude Desktop (or another MCP-capable client) installed.
- Node.js 20 or newer. If you don’t already have it, grab the official
installer from nodejs.org — click the green LTS
button, download the
.pkg(macOS) or.msi(Windows), double-click, accept the defaults. No terminal needed. Skipnvm, Homebrew, or any other “version manager” — they’re for developers who already have one. - A browser (any modern one) for the sign-in step.
Install
Section titled “Install”The server installs straight from GitHub — no cloning, no build step on your
side. (The npm-registry name hds-mcp is not claimed yet; npx fetches the
package from GitHub instead.)
1. Open your client’s MCP config
Section titled “1. Open your client’s MCP config”Claude Desktop:
- macOS: menu bar → Claude → Settings → Developer → Edit Config.
- Windows: ☰ menu → Settings → Developer → Edit Config.
2. Paste the server entry
Section titled “2. Paste the server entry”{ "mcpServers": { "hds": { "command": "npx", "args": ["-y", "github:healthdatasafe/hds-mcp-js"] } }}Restart the client fully (⌘Q on macOS, then reopen) so it picks up the
new server. The very first launch can take up to a minute while npx
downloads and builds the server; later launches reuse the cache.
3. Check it works
Section titled “3. Check it works”After the restart, Claude Desktop shows a tools indicator (a small 🔌 or
hammer icon near the chat input) listing the hds server. If it’s there,
you’re done installing. If not, see below.
Troubleshooting
Section titled “Troubleshooting”The client doesn’t list the hds server / “no tool named connect”.
- Did you fully quit the client (⌘Q on macOS) before reopening? A window close is not enough — the MCP only loads on a fresh launch.
- Is
node --version≥ 20?npxneeds Node (see What you need). - Give the very first launch up to a minute —
npxis downloading and building the server. - Check the config file is valid JSON (a trailing comma is the usual culprit).
The browser tab never opens during connect.
- Check the client’s tool-permission popup didn’t get dismissed.
- Your default browser must be a real browser (not a PDF reader, etc.).
“auth timed out — please re-run hds.connect”
- You took longer than 5 minutes to complete the sign-in. Re-run it.
Anything else — open an issue (see Feedback & issues).