cronometer api mcp for VS Code
io.github.rwestergren/cronometer-api-mcp
MCP server for Cronometer nutrition tracking — food logs, diary, macros, fasting
client:VS Code
transport:stdio
runtime:pypi
Install cronometer api mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "cronometer-username",
"description": "CRONOMETER_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "cronometer-password",
"description": "CRONOMETER_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "cronometer-totp-secret",
"description": "CRONOMETER_TOTP_SECRET",
"password": true
},
{
"type": "promptString",
"id": "cronometer-account-tz",
"description": "CRONOMETER_ACCOUNT_TZ",
"password": true
}
],
"servers": {
"cronometer-api-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"cronometer-api-mcp"
],
"env": {
"CRONOMETER_USERNAME": "${input:cronometer-username}",
"CRONOMETER_PASSWORD": "${input:cronometer-password}",
"CRONOMETER_TOTP_SECRET": "${input:cronometer-totp-secret}",
"CRONOMETER_ACCOUNT_TZ": "${input:cronometer-account-tz}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs