Back to Home
Stealinglight icon

StravaMCP

Verified Safe

by Stealinglight

Overview

A remote Model Context Protocol (MCP) server that enables AI assistants like Claude and ChatGPT to interact with a user's Strava data.

Installation

Run Command
bun run dev

Environment Variables

  • STRAVA_CLIENT_ID
  • STRAVA_CLIENT_SECRET
  • STRAVA_REFRESH_TOKEN
  • AUTH_TOKEN

Security Notes

No 'eval' or code obfuscation found. Hardcoded secrets are avoided by loading all sensitive data (Strava API credentials, AUTH_TOKEN) from environment variables. All tool inputs are validated using Zod schemas, mitigating injection risks. Access to the Lambda function URL is secured by a Bearer token authentication middleware that validates against an `AUTH_TOKEN` environment variable. While a broad CORS policy (`AllowOrigins: '*'`) is configured, access remains protected by the required `AUTH_TOKEN`. The `StravaClient` handles OAuth 2.0 token refreshing securely and automatically.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens750
Stars0
Forks0
Last Update2026-01-19

Tags

StravaMCPServerlessAWS LambdaAI Integration