Strava MCP Server logo

Strava MCP Server

by kw510

This is a Model Context Protocol (MCP) server that supports remote MCP connections, with Strava OAuth built-in. It allows users to connect to your MCP server by signing in with their Strava account.

View on GitHub

Last updated: N/A

What is Strava MCP Server?

The MCP server acts as both an OAuth Server for MCP clients and an OAuth Client for Strava's OAuth services, integrating OAuth providers with an MCP server deployed to Cloudflare.

How to use Strava MCP Server?

To use this server, you need a Strava account and a Cloudflare account. Clone the repository, set up your Strava API credentials, configure your Cloudflare KV namespace, and deploy to Cloudflare. You can then test your MCP server using Inspector or Claude Desktop.

Key features of Strava MCP Server

  • OAuth 2.1 server implementation

  • Token issuance and validation

  • Secure token storage in KV

  • Strava OAuth integration

  • Persistent state management

  • Client-server communication

Use cases of Strava MCP Server

  • Connecting MCP clients to Strava data

  • Building applications that require Strava authentication

  • Providing a secure and scalable MCP server

  • Integrating OAuth providers with MCP servers

  • Enabling conditional tool availability based on user authentication

FAQ from Strava MCP Server

How do I set up Strava API credentials?

Go to Strava's API Settings and create a new application, configuring the application name, category, website, description, and authorization callback URLs.

What are the prerequisites for using this server?

You need a Strava account, a Cloudflare account, Node.js and npm installed, and the Wrangler CLI installed.

How do I deploy the server to Cloudflare?

Clone the repository, set up your Strava API credentials, configure your Cloudflare KV namespace, and run wrangler deploy.

How do I test my MCP server?

You can use the Inspector tool or Claude Desktop to connect to your server and test the OAuth flow.

What are the Strava API rate limits?

The Strava API has rate limits of 200 requests every 15 minutes and 2,000 requests per day.