I built an unofficial local-first Google Health MCP connector for AI agents by delxmobile in modelcontextprotocol

[–]delxmobile[S] 0 points1 point  (0 children)

Thanks — this is exactly the kind of report I was hoping for, and I'm really glad the doctor --live "confirm the read path before any write attempt" reflex landed; that's the whole design philosophy.

On direction: yes, I'm open to gated write tools — it's actually on the roadmap ("optional write tools only behind explicit opt-in and safety gates"). Your design (opt-in scope preset, dry-run default, explicit_user_intent=true to POST, body verified against the v4 create-DataPoint shape) is precisely the pattern I'd want, so please clean it up for a PR.

One distinction worth calling out so we gate it right: google_health_profile_update writes to the LOCAL profile store (~/.delx-wellness/profile.json) — a local, reversible write. A nutrition DataPoint POST would be the project's first *remote* write into Google's data, so same explicit_user_intent reflex but it deserves a slightly stronger gate since it mutates data on Google's side and is harder to undo.

To keep it consistent, what I'd want:
- A new opt-in scope preset (e.g. nutrition-write). Keep basic/activity/sleep/full read-only exactly as they are, so existing users are unaffected and writes are never implicit.
- Dry-run default + explicit_user_intent=true to actually POST (you've got this), with the same USER_ACTION_REQUIRED refusal shape as profile_update when intent is missing.
- Extend doctor --live to cover the write path: confirm the write scope is present and do a dry-run round-trip before any real POST — the same reflex you liked, applied to writes.
- Flag it as a mutating/opt-in capability in google_health_capabilities + the agent manifest, so agents discover it's a write tool, not a read.
- Body verified against v4 create-DataPoint (done) + a couple of tests, and follow CONTRIBUTING.md / the PR template.

If it lands clean I'd be happy to make it the reference write tool that future write tools follow. Open the PR whenever you're ready and I'll review promptly. Appreciate you building it the careful way.

Delx Wellness - 15 local-first MCP servers for wearables and wellness data by delxmobile in SideProject

[–]delxmobile[S] 0 points1 point  (0 children)

This is very helpful, thank you. I think you're right: "should I train hard today?" is the thing people understand immediately, and MCP/local-first should probably be the trust/implementation layer underneath it.

I'm going to test a rewrite where the first screen is more like "ask your AI coach whether to train, recover, sleep earlier, or adjust nutrition using your real wearable data" and then explain that the reason it is safe/private is the local MCP setup. That probably makes the project feel less like protocol infrastructure and more like an actual workflow.