macrofactor mcp for VS Code
io.github.nasseralbusaidi/macrofactor-mcp
Fueling & recovery decision engine combining MacroFactor nutrition with Garmin training data
client:VS Code
transport:stdio
runtime:pypi
Install macrofactor mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "macrofactor-db-path",
"description": "MACROFACTOR_DB_PATH",
"password": true
},
{
"type": "promptString",
"id": "macrofactor-data-dir",
"description": "MACROFACTOR_DATA_DIR",
"password": true
},
{
"type": "promptString",
"id": "garmintokens",
"description": "GARMINTOKENS",
"password": true
}
],
"servers": {
"macrofactor-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"macrofactor-mcp"
],
"env": {
"MACROFACTOR_DB_PATH": "${input:macrofactor-db-path}",
"MACROFACTOR_DATA_DIR": "${input:macrofactor-data-dir}",
"GARMINTOKENS": "${input:garmintokens}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs