Health Access MCP / Reference / Cloud upload

Reference

Apple Health to Google Drive or your own server

From app version 1.1.0. The iPhone's folder picker can't reach Google Drive, because Google Drive doesn't let other apps open its folders. So Health Access uploads a copy itself, after every sync, from your iPhone straight to your own account.

Where a copy can go

PlaceHow you connectWhere the files land
Google DriveSign in on Google's pageA new folder, Health Access, at the top level of My Drive. The app makes it and can reach only the files it made. You can move the folder inside Drive.
A WebDAV server: Nextcloud, ownCloud, a Synology or QNAP NAS, Koofr and othersAddress, user name, passwordA new folder, Health Access, inside the folder whose address you give
S3 storage: Amazon S3, Cloudflare R2, Backblaze B2, MinIO, WasabiBucket and a key pairUnder the folder (prefix) you set in the bucket

You can switch on several at once. OneDrive and Box are planned. If you want one, tap it in Settings → Cloud upload to tell us. iCloud Drive needs none of this, because you pick it as the folder.

Switch it on

  1. If you have no folder yet, tap "Pick folder" and choose "A cloud drive". The app then keeps your files on this iPhone, under On My iPhone › Health Access, and uploads them from there.
  2. Pick your drive and tap Connect. If you already have a folder, you find the same list under Settings → Cloud upload. For Google Drive, you sign in on Google's own page, and the app never sees your password. For a WebDAV server or S3 storage, you type the address and the password or keys into the app. They stay in the iPhone's keychain.
  3. Leave the app open for the first upload. A few years of data are a few thousand small files. The app uploads the rest when you come back, or while the phone rests.

After that, the upload runs on its own after every sync. Settings → Uploads has an "Upload on Wi-Fi only" switch. In Low Data Mode the app uploads nothing.

Let your AI read it

Connect your AI to the same drive and point it at the Health Access folder. Claude, ChatGPT and others have a connector for Google Drive. The folder starts with a README.md written for the AI. It says what the files are and how to write a workout plan. "Copy" under Your AI in the app gives you a message that says where the copy is.

Workout plans back to your Watch

On a WebDAV server and on S3 storage, the AI writes a plan file into plans/. The app brings it to the phone with the next sync, and you find it in the Import tab, like any other plan.

Google shows an app only the files that app made, so a new file from your AI stays invisible to Health Access. On Google Drive, the AI edits plans/inbox.json instead. The app made that file for exactly this. Your AI's Google Drive connector must be able to change an existing file.

If the app can't read a plan, it writes a status file next to it with the reason. Then the AI can see what to fix.

What it doesn't do

Where the data goes

From your iPhone to the drive you connected, and nowhere else. There is no server of ours in between, and we can't see your account. The app keeps the sign-in in the iPhone's keychain. Settings → What left this phone lists every upload run. Your drive's provider stores the files under your own contract with it.