MetorialDocs

Set up Strava in Metorial for Claude, ChatGPT and Cursor

Share Strava with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 21 tools (17 read-only).

To give your team Strava in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Strava integration in a Metorial portal, and each person signs in to Strava with their own account. Agents can track, create, and manage athletic activities including running, cycling, and swimming. The integration has 21 tools, 17 read-only and 4 write, plus 2 triggers.

What you'll learn

  • How an admin shares Strava in a portal and how each person connects
  • The 7 OAuth scopes Strava can request, and what each one allows
  • How to keep the 17 read-only tools and reject the other 4

Before you start

Sign-in method

MethodTypeWhat a person provides
OAuthOAuthSigns in to Strava

OAuth

People sign in to Strava and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
readRead Public DataRead public segments, public routes, public profile data, public posts, public events, club feeds, and leaderboards
read_allRead All Private DataRead private routes, private segments, and private events for the user
profile:read_allRead Full ProfileRead all profile information even if the user has set their profile visibility to Followers or Only You
profile:writeWrite ProfileUpdate the user's weight and FTP, and star/unstar segments on their behalf
activity:readRead ActivitiesRead activity data for activities visible to Everyone and Followers, excluding privacy zone data
activity:read_allRead All ActivitiesRead all activity data including privacy zone data and Only You activities
activity:writeWrite ActivitiesCreate manual activities and uploads, edit activities visible to the app

Use your own Strava OAuth app

With your own OAuth app, people see your company's name on the Strava consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Strava and copy the Redirect URI.

Register the app with Strava

Create an OAuth app or client in Strava and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Strava integration.

Admin: share Strava in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Strava. For how members connect, choose Each person connects, so everyone signs in to Strava as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Strava.

Choose who gets it

Add the access groups that should see Strava. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Strava integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search strava

Employee: connect Strava

In the portal

Open Strava in the catalog

Sign in to your portal and open Strava. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Strava sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search strava
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Strava connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list strava
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 17 read-only tools, such as get_club and get_gear, and lose the 4 write tools, such as star_segment or update_athlete.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list strava
metorial tools <integration-id>
metorial call <integration-id> list_clubs -d '{}'

metorial tools lists the 21 tools, minus any you rejected. list_clubs takes no input. It lists clubs the authenticated athlete is a member of.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (17)

  • get_segment_efforts: List the authenticated athlete's efforts on a given segment, optionally filtered by date range. Needs segmentId.
  • list_routes: List the authenticated athlete's routes with pagination.
  • list_activities: List the authenticated athlete's activities.
  • list_clubs: List clubs the authenticated athlete is a member of.
  • explore_segments: Search for popular segments within a geographic bounding box. Needs bounds.
  • get_athlete_profile: Retrieve the authenticated athlete's full profile, including the profile data visible to the connection, training zones (heart rate and power), and aggregate statistics across sport types (ride, run, swim).
  • get_activity: Retrieve detailed information about a specific activity, including metrics, segment efforts, laps, comments, and kudos. Needs activityId.
  • get_gear: Retrieve details about a piece of gear (shoes, bike, etc.) by its identifier. Needs gearId.
  • get_club: Retrieve details about a specific club, optionally including its members, recent activities, and administrators. Needs clubId.
  • get_segment: Retrieve detailed information about a specific segment including its location, distance, elevation, climb category, and athlete-specific data such as personal records and star status. Needs segmentId.
  • get_route: DEPRECATED — use `get_route_details` instead. Needs routeId.
  • get_activity_streams: Retrieve raw data streams for an activity. Needs activityId and streamTypes.
  • get_route_details: Retrieve a route and optionally its streams or prepare a downloadable GPX or TCX export.
  • list_activity_comments: Read one page of activity comments.
  • get_segment_streams: Retrieve a segment’s coordinate, distance, and altitude streams.
  • get_segment_effort: Retrieve an authenticated athlete’s segment effort and optionally its raw streams.
  • list_starred_segments: Discover the authenticated athlete’s starred segments.

Write tools (4)

  • update_athlete: Update the authenticated athlete's weight. Needs weight.
  • update_activity: Update an existing activity's metadata such as name, description, sport type, gear assignment, and flags. Needs activityId.
  • create_activity: Create a new manual activity on Strava. Needs name, sportType, startDateLocal and elapsedTime.
  • star_segment: Star or unstar a segment for the authenticated athlete. Needs segmentId and starred.

Triggers

Strava has 2 triggers, which fire on events in Strava:

  • inbound_webhook
  • activity_events: Triggers when activities are created, updated, or deleted.

Next steps