Strava MCP gateway
Strava MCP gateway
Connect ChatGPT to Strava with a stateless TypeScript relay and a browser-guided sign-in. Deploy to Cloudflare or Vercel without application secrets or a database.
Unofficial. Not affiliated with or endorsed by Strava, ChatGPT (OpenAI), Cloudflare, or Vercel. Strictly a workaround for Strava users who do not use Claude.
Deploy
Click a deploy button and use the assigned public HTTPS URL. The relay detects its URL automatically.
For ChatGPT Sites, use the deployment prompt. The /api/mcp route configuration still needs a published check; Sites intercepts /mcp.
Connect Strava
Add the MCP URL shown on your deployment's homepage to ChatGPT using OAuth with CIMD, token authentication none, and scope mcp:read. It defaults to
https://YOUR-DEPLOYMENT/mcp.Follow the gateway's sign-in page to Strava. After signing in, copy the full
http://localhost:61847/callback?...address from the browser's address bar, even though the page cannot load.Paste that address into the original gateway page to finish linking.
No local installation is required. This copy-and-paste step is required for each new authorization; ChatGPT refreshes tokens through the gateway afterward. Strava always receives the localhost redirect URI during authorization and code exchange.
See OAuth settings, configuration, and limitations. Live ChatGPT-to-Strava linking remains unverified.
Develop
Requires Node.js 22.18+ (22.x) or 24.x.
npm ci
npm run devOpen https://127.0.0.1:8787 and accept the development certificate.
npm run check # Types, ESLint, Prettier, and unit/runtime tests
npm run format # Format files
npm run lint:fix # Apply lint fixesChecks run locally. Deployment uses the buttons above or the Sites prompt.
License
MIT © 2026 Johnny Lee.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leecjohnny/strava-mcp-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server