StravaMCP
Verified Safeby Stealinglight
Overview
This server enables AI assistants like Claude to manage Strava accounts, with a primary focus on enriching workout data, especially activities imported from devices like Apple Watch.
Installation
npm startEnvironment Variables
- STRAVA_CLIENT_ID
- STRAVA_CLIENT_SECRET
- STRAVA_REFRESH_TOKEN
- PORT
Security Notes
The project demonstrates good security practices by using environment variables for sensitive credentials (STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, STRAVA_REFRESH_TOKEN) and avoiding hardcoded secrets. It employs automatic OAuth token refreshing, which is crucial for continuous and secure API access. Error handling (`formatError`) is designed to prevent leaking raw internal error messages. No 'eval' or other direct code injection vulnerabilities were found. The `createUpload` function, while its description for the 'file' parameter (`Base64 encoded file content or file path`) might be slightly ambiguous, the implementation passes the file content as a string in the JSON body to an external API endpoint, mitigating local file system risks. However, it's worth noting the current `createUpload` implementation sends the file content as JSON, which may not correctly interface with Strava's multipart/form-data requirement for file uploads, representing a functional limitation rather than a direct security vulnerability within the server itself.
Similar Servers
spotify-mcp-server
Enables AI assistants to control Spotify playback and manage playlists via the Model Context Protocol (MCP).
hevy-mcp
An MCP server for AI assistants to access and manage workout data, routines, exercise templates, folders, and webhook subscriptions through the Hevy fitness tracking API.
pierre_mcp_server
Backend server for a conversational AI fitness coaching and data analysis mobile application, integrating with various fitness providers and offering multi-tenant capabilities.
openapi-mcp-server
Converts OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with APIs.