Private End-to-End Encrypted Apple Health MCP: Zero-Knowledge Architecture & Partner Sharing

2026-12-03来源 dev.toEnglish

Originally published at vaultbeat.app/blog/private-e2ee-apple-health-mcp-architecture.

Direct Answer / Zero Plaintext on Our Servers: To let an AI agent read Apple Health without handing plaintext biometrics to a vendor database, use an architecture where encryption happens on your iPhone and decryption happens only on hardware you control. Vaultbeat (App Store: Vaultbeat — Health MCP for AI, Apple ID: 6759241985) encrypts every HealthKit record on-device with Curve25519 ECDH + HKDF-SHA256 + AES-GCM-256, routes ciphertext only through our relay, and decrypts inside an open-source local MCP server (29 tools).

Unlike read-only export scripts or vendor clouds, the same E2EE envelope model powers both your own AI agent (Claude Code, Cursor, Claude Desktop, or a 100% local LLM) and optional encrypted partner sharing for sleep and cycle tracking — with granular per-category opt-in controls on your iPhone.

Two Separate Privacy Boundaries (And Why Honesty Matters)

Most privacy marketing blurs two completely different layers. Being explicit about both is what lets you evaluate a Health MCP architecture accurately:

  1. Boundary 1 — Sync & Storage (Zero-Knowledge Ciphertext Relay): Every health record is encrypted on your iPhone with a random AES-GCM-256 data key before upload. That data key is wrapped separately for each authorized public key via Curve25519 ECDH + HKDF-SHA256. Vaultbeat's backend holds ciphertext blobs only — we cannot decrypt, inspect, sell, or train AI models on your health history.
  2. Boundary 2 — AI Model Inference (You Choose the Model): Once your local vaultbeat-apple-health server decrypts a record on your computer, the tool response goes to whichever model runs your agent. Pair it with Claude Code or Cursor for frontier reasoning, or point an MCP-capable local agent at a self-hosted model on your own GPU so plaintext never leaves your room.

Comparing Privacy Models Across Apple Health MCP Architectures

Architecture What Cloud Sees Where Decryption Runs Remote Reachability Capabilities
Zero-Knowledge E2EE Relay + Local MCP (Vaultbeat) Ciphertext blobs + minimal day/category routing metadata only Your own iPhone & explicitly paired local machine(s) Yes — Mac, Linux, Windows, or VPS anywhere on internet Bidirectional (12 write tools) + optional E2EE partner sharing
Local iCloud / Folder Mirror (MetricBridge, HealthMirror) No developer server; files sit in personal iCloud Drive Single Mac synced to that iCloud folder Limited to machines seeing that synced folder / local Wi-Fi Read-only; plain-text JSONL (HealthMirror) or optional passphrase (MetricBridge)
Hosted Cloud OAuth MCP (Fulcra, Shape, freddy, Wellness Project) Readable health telemetry managed under vendor cloud keys Vendor cloud servers before returning tool responses Yes — works on mobile/web/desktop via OAuth Multi-wearable support; no zero-knowledge E2EE claimed on vendor sites

How Cryptographic Pairing Works (Zero Private Keys Shared)

  1. Local key generation: Running uvx vaultbeat-apple-health@latest bind creates a fresh Curve25519 keypair inside your computer's OS keyring (or a 0600 file on headless Linux). The private key never leaves that machine.
  2. Public-key-only QR scan: The terminal QR code contains only {pollID, publicKeyBase64, serverName}. Scanning it from Vaultbeat's iOS app authorizes that machine's public key — your iPhone never hands over or copies its own private key.
  3. Per-recipient envelope sealing: On every sync, your iPhone seals a fresh envelope for each authorized public key. Unpairing a machine deletes its envelopes server-side so it cannot decrypt any future updates (cached local plaintext expires within VAULTBEAT_MCP_CACHE_TTL, default 600s).
  4. Auditable open-source decryption: Every line of the local MCP server and cryptographic verifier is public on GitHub.

Optional Encrypted Partner Sharing + Private AI Access in One App

Most guides assume you must stitch together one consumer tracker for a partner and a separate export script for AI. Because Vaultbeat wraps each record's data key per recipient public key, the exact same zero-knowledge protocol supports both an optional partner device and your own AI machine — without exposing plaintext to any server:

  • Single users are first-class: Partner sharing is completely optional and never required.
  • Owner-controlled categories: You choose category by category on your own iPhone whether to share sleep, menstrual cycle, water, or weight with a partner. Cycle and HealthKit symptoms default to off.
  • Personal-only boundary: Activity, resting heart rate, HRV, workouts, mindfulness, wrist temperature, VO2 max, food logs, strength logs, and your health profile are strictly personal-only and never shared with a partner.
  • Read-only across partners: An AI agent can never write into a partner's account. One active Vaultbeat Pro membership lets a couple view shared data in the app; each person's own AI requires a membership or active trial.

Verify Local Decryption Yourself

uvx vaultbeat-apple-health@latest bind uvx vaultbeat-apple-health@latest doctor 

Recording on iPhone is free forever; pairing starts a 30-day free trial (Pro: $9.99/mo, $29.99/yr, or $74.99 lifetime).

原文:https://www.a8q9.cn/en/article/private-end-to-end-encrypted-apple-health-mcp-zero-knowledge-architecture-partne-d774e5.html

相关文章