google health mcp for VS Code
io.github.davidmosiah/google-health-mcp
Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
client:VS Code
transport:stdio
runtime:npm
Install google health mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "google-health-client-id",
"description": "GOOGLE_HEALTH_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "google-health-client-secret",
"description": "GOOGLE_HEALTH_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "google-health-redirect-uri",
"description": "GOOGLE_HEALTH_REDIRECT_URI",
"password": true
},
{
"type": "promptString",
"id": "google-health-token-path",
"description": "GOOGLE_HEALTH_TOKEN_PATH",
"password": true
},
{
"type": "promptString",
"id": "google-health-privacy-mode",
"description": "GOOGLE_HEALTH_PRIVACY_MODE",
"password": true
},
{
"type": "promptString",
"id": "google-health-cache",
"description": "GOOGLE_HEALTH_CACHE",
"password": true
},
{
"type": "promptString",
"id": "google-health-cache-path",
"description": "GOOGLE_HEALTH_CACHE_PATH",
"password": true
},
{
"type": "promptString",
"id": "google-health-no-cache",
"description": "GOOGLE_HEALTH_NO_CACHE",
"password": true
}
],
"servers": {
"google-health-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial"
],
"env": {
"GOOGLE_HEALTH_CLIENT_ID": "${input:google-health-client-id}",
"GOOGLE_HEALTH_CLIENT_SECRET": "${input:google-health-client-secret}",
"GOOGLE_HEALTH_REDIRECT_URI": "${input:google-health-redirect-uri}",
"GOOGLE_HEALTH_TOKEN_PATH": "${input:google-health-token-path}",
"GOOGLE_HEALTH_PRIVACY_MODE": "${input:google-health-privacy-mode}",
"GOOGLE_HEALTH_CACHE": "${input:google-health-cache}",
"GOOGLE_HEALTH_CACHE_PATH": "${input:google-health-cache-path}",
"GOOGLE_HEALTH_NO_CACHE": "${input:google-health-no-cache}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs