strava mcp for VS Code
io.github.davidmosiah/strava-mcp
Privacy-first MCP server for Strava activities, streams, routes and training.
client:VS Code
transport:stdio
runtime:npm
Install strava mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "strava-client-id",
"description": "STRAVA_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "strava-client-secret",
"description": "STRAVA_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "strava-redirect-uri",
"description": "STRAVA_REDIRECT_URI",
"password": true
},
{
"type": "promptString",
"id": "strava-token-path",
"description": "STRAVA_TOKEN_PATH",
"password": true
},
{
"type": "promptString",
"id": "strava-privacy-mode",
"description": "STRAVA_PRIVACY_MODE",
"password": true
},
{
"type": "promptString",
"id": "strava-cache",
"description": "STRAVA_CACHE",
"password": true
},
{
"type": "promptString",
"id": "strava-cache-path",
"description": "STRAVA_CACHE_PATH",
"password": true
},
{
"type": "promptString",
"id": "strava-no-cache",
"description": "STRAVA_NO_CACHE",
"password": true
}
],
"servers": {
"strava-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"strava-mcp-unofficial"
],
"env": {
"STRAVA_CLIENT_ID": "${input:strava-client-id}",
"STRAVA_CLIENT_SECRET": "${input:strava-client-secret}",
"STRAVA_REDIRECT_URI": "${input:strava-redirect-uri}",
"STRAVA_TOKEN_PATH": "${input:strava-token-path}",
"STRAVA_PRIVACY_MODE": "${input:strava-privacy-mode}",
"STRAVA_CACHE": "${input:strava-cache}",
"STRAVA_CACHE_PATH": "${input:strava-cache-path}",
"STRAVA_NO_CACHE": "${input:strava-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