withingsmcp for VS Code
io.github.davidmosiah/withingsmcp
Privacy-first, unofficial Withings MCP server for AI health, sleep, activity and heart-rate agents.
client:VS Code
transport:stdio
runtime:npm
Install withingsmcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "withings-client-id",
"description": "WITHINGS_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "withings-client-secret",
"description": "WITHINGS_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "withings-redirect-uri",
"description": "WITHINGS_REDIRECT_URI",
"password": true
},
{
"type": "promptString",
"id": "withings-token-path",
"description": "WITHINGS_TOKEN_PATH",
"password": true
},
{
"type": "promptString",
"id": "withings-privacy-mode",
"description": "WITHINGS_PRIVACY_MODE",
"password": true
},
{
"type": "promptString",
"id": "withings-cache",
"description": "WITHINGS_CACHE",
"password": true
},
{
"type": "promptString",
"id": "withings-cache-path",
"description": "WITHINGS_CACHE_PATH",
"password": true
},
{
"type": "promptString",
"id": "withings-no-cache",
"description": "WITHINGS_NO_CACHE",
"password": true
}
],
"servers": {
"withingsmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"withings-mcp-unofficial"
],
"env": {
"WITHINGS_CLIENT_ID": "${input:withings-client-id}",
"WITHINGS_CLIENT_SECRET": "${input:withings-client-secret}",
"WITHINGS_REDIRECT_URI": "${input:withings-redirect-uri}",
"WITHINGS_TOKEN_PATH": "${input:withings-token-path}",
"WITHINGS_PRIVACY_MODE": "${input:withings-privacy-mode}",
"WITHINGS_CACHE": "${input:withings-cache}",
"WITHINGS_CACHE_PATH": "${input:withings-cache-path}",
"WITHINGS_NO_CACHE": "${input:withings-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