プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Strava MCP Bridge

作者:millerchouバージョン 0.1.1i★ 0iパソコンで動くリポジトリ ↗
レジストリ名io.github.millerchou/strava-mcp-bridge

インストール方法

What it does

Use Strava's official MCP from Codex and other local stdio clients without a developer app.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気0/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ3/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア3/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Strava MCP Bridge をインストールして。https://mcp.popnx.com/i/millerchou-strava-mcp-bridge.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Strava MCP Bridge を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "strava-bridge": { "command": "npx", "args": [ "-y", "strava-mcp-bridge" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Strava MCP Bridge のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "strava-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "strava-mcp-bridge"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Strava MCP Bridge を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Strava MCP Bridge を使っていると言うか、回答に Strava MCP Bridge のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Strava MCP Bridge につなげません

Strava MCP Bridge はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Strava MCP Bridge につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Strava MCP Bridge を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user strava-bridge -- npx -y strava-mcp-bridge 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Strava MCP Bridge のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user strava-bridge -- npx -y strava-mcp-bridge
  4. Claude Code で /mcp と入力

    Strava MCP Bridge が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Strava MCP Bridge を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Strava MCP Bridge を使っていると言うか、回答に Strava MCP Bridge のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Strava MCP Bridge を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "strava-bridge": { "command": "npx", "args": [ "-y", "strava-mcp-bridge" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Strava MCP Bridge のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Strava MCP Bridge を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Strava MCP Bridge を使っていると言うか、回答に Strava MCP Bridge のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Strava MCP Bridge を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "strava-bridge": { "type": "stdio", "command": "npx", "args": [ "-y", "strava-mcp-bridge" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Strava MCP Bridge のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Strava MCP Bridge を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Strava MCP Bridge を使っていると言うか、回答に Strava MCP Bridge のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Strava MCP Bridge を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user strava-bridge -- npx -y strava-mcp-bridge

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "strava-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-bridge"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "strava-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-bridge"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "strava-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-bridge"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
32/週
接続方法
パソコンで動く
最新バージョンi
0.1.1
カテゴリi
その他
レジストリ公開日i
2026年7月12日
コードの最終更新i
2026年7月12日
作者
millerchou
パッケージ
npm: strava-mcp-bridge
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント millerchou で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:4 か月前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に strava-mcp-bridge@0.1.1 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月16日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/millerchou-strava-mcp-bridge.svg)](https://mcp.popnx.com/en/servers/millerchou-strava-mcp-bridge)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの20693件のうち0%よりスターが多い
  • このカテゴリのほかの20693件のうち12%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの20693件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Strava MCP Bridgeは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は4 か月前、最新バージョン(0.1.1)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万3 日前更新

クラウドで動く✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92742 か月前更新

クラウドで動く✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター30 日前更新

クラウドで動く✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582514 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51364 か月前更新

クラウドで動く✓ 提供元 · jitsu.com
似たものと比べる
これ
Strava MCP Bridge
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/41/44/4
ライセンスMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

strava-mcp-bridge

Use Strava's official MCP from Codex, OpenCode, and other local stdio MCP clients without creating your own Strava developer app.

The bridge runs locally on Apple Silicon macOS. Its OAuth credential is kept in macOS Keychain, large activity streams stay in local files, and GPS/location data is blocked before it can enter the AI context.

What It Enables

Once connected, a local coding agent can use Strava data as part of a real project workflow instead of working from copied summaries or synthetic data.

You: Pull my new rides since the local watermark and rebuild my training dashboard.

Codex: 3 new rides found through the official Strava MCP full activity streams saved locally, omitted from model context training summary and fitness chart rebuilt no GPS, location, or polyline fields returned to the conversation

Other example tasks:

  • "Compare heart-rate load across my rides this week."
  • "Fetch the non-location streams for this activity and update my analysis."
  • "Use my latest cycling data to refresh the PMC/TRIMP dashboard in this repo."

The bridge supplies the safe Strava connection. Your agent can then combine the result with local scripts, notebooks, dashboards, or training-analysis code.

Why This Exists

Strava publishes an official MCP connector, but its documented first-time authorization flow currently targets Claude clients. Codex supports MCP, yet it cannot currently complete this Strava OAuth bootstrap directly.

strava-mcp-bridge fills that gap:

  1. You authorize the official Strava MCP once through Claude Code.
  2. You explicitly run strava-mcp-bridge bootstrap.
  3. The bridge migrates the authorized credential into its own Keychain item.
  4. It maintains the rotating refresh-token chain and forwards approved MCP requests to https://mcp.strava.com/mcp.
  5. Normal Codex/OpenCode use no longer reads or invokes Claude Code.

This is not a Strava REST API wrapper and does not provide shared credentials or bypass user authorization.

Choose The Right Path

PathCreate your own Strava app?Credential custodyStrava interfaceMain tradeoff
Official connector in ClaudeNoOfficial clientOfficial Strava MCPSimplest if Claude already fits your workflow
Community self-hosted Strava MCPUsually yesLocalStrava REST APIBroad client support, but you own the app and OAuth plumbing
Managed connectorUsually noThird-party serviceProvider-managed API/MCPEasy setup, but credentials and activity data pass through another service
strava-mcp-bridgeNoLocal macOS KeychainOfficial Strava MCPOne-time Claude Code bootstrap; Apple Silicon macOS only

Managed connector behavior varies by provider. Review its data path and terms before connecting fitness data.

Good Fit / Not A Fit

Use this bridge when all of these are true:

  • You use Codex, OpenCode, or another client that can run local stdio MCP servers.
  • You have access to Strava's official MCP through an eligible Strava subscription.
  • You do not want to create and maintain a Strava developer app.
  • You prefer local credential custody and conservative data controls.
  • You are on an Apple Silicon Mac.

Use another path when any of these are true:

  • Claude's official connector already covers your workflow.
  • Creating a Strava developer app is acceptable and you want a conventional REST API integration.
  • Your source of truth is Garmin, Intervals.icu, Apple Health, or another system.
  • You need Linux, Windows, or Intel Mac support.
  • You do not have an eligible Strava subscription.

Requirements

  • Apple Silicon macOS (darwin arm64)
  • Node.js 22+
  • Xcode Command Line Tools (xcode-select --install)
  • An eligible Strava subscription
  • One successful official Strava MCP authorization in Claude Code

A paid Claude subscription is not required by this bridge. The authorization has also been validated with Claude Code launched through Ollama; the important component is the Claude Code OAuth client, not the model backend.

Install

npm install -g strava-mcp-bridge

Install the bundled Codex skill explicitly at user scope:

strava-mcp-bridge skill install

This writes only to $HOME/.agents/skills/strava-mcp-bridge; it does not edit Codex or MCP configuration. To keep the skill inside one project instead:

strava-mcp-bridge skill install --project-dir /absolute/path/to/project

Start a new Codex task after installation, then invoke $strava-mcp-bridge. Existing different skill content is never overwritten unless you review the target and pass --force explicitly.

1. Authorize The Official Strava MCP Once

Add the official endpoint to Claude Code:

claude mcp add --transport http strava https://mcp.strava.com/mcp

Inside Claude Code, run /mcp, select strava, and complete the Strava browser authorization. This is the only step that needs Claude Code.

2. Bootstrap The Local Bridge
strava-mcp-bridge bootstrap

bootstrap:

  • builds the native Keychain helper when needed;
  • imports and claims the authorized refresh-token chain;
  • stores the bridge-owned credential in macOS Keychain;
  • prints a project-scoped Codex MCP configuration snippet;
  • never prints token values.

Add the generated snippet to the target project's .codex/config.toml, restart Codex (or start a new task), then call health before enabling activity tools.

For a training sync configuration:

strava-mcp-bridge config codex \

--profile training-sync \ --stream-output-dir /absolute/path/to/your/project/strava-streams

The generated profile exposes:

  • health
  • eligibility
  • list_activities
  • get_activity_streams
  • get_activity_performance

The bundled Codex skill guides the agent through doctor, bootstrap, project-level configuration, and safe failure handling. A source checkout exposes it as a repository skill; the skill install command makes it discoverable from other projects.

How It Works

flowchart LR

C["Codex / OpenCode"] -->|"stdio MCP"| B["strava-mcp-bridge"] B -->|"approved JSON-RPC + Bearer token"| S["Official Strava MCP"] B -->|"read / rotate credential"| K["macOS Keychain"] B -->|"full non-location streams"| F["Local 0600 files"] B -. "GPS / location blocked" .-> X["AI context"]

The bridge is both a transport adapter and a local policy boundary:

  • remote Streamable HTTP MCP is presented as a local stdio MCP server;
  • tools/call is denied unless its tool name is explicitly allowlisted;
  • tools/list is filtered to the local allowlist;
  • access tokens are sent only to the pinned official MCP endpoint by default;
  • OAuth refresh uses the pinned Strava token endpoint and MCP resource;
  • MCP sessions are reinitialized after expiry and deleted on stdio shutdown.

Privacy Defaults

Location Data

get_activity_streams requires an explicit stream list. The accepted streams are:

time, heart_rate, velocity_smooth, cadence, altitude,

distance, temp, watts, grade_smooth, moving

Location/GPS/polyline-like streams are rejected before forwarding. Other structured tool responses are recursively redacted for common location keys, coordinate text, coordinate arrays, polylines, maps, and token-like fields. Opaque non-JSON text and non-text content blocks fail closed.

Large Streams

Full stream arrays are never returned to the MCP client context. They are written atomically to a current-user-owned directory (0700) as regular files with mode 0600. The tool result contains only the path, stream names, point counts, and omitted_from_context=true.

Default location:

~/Library/Application Support/strava-mcp-bridge/streams/

Retention cleanup is a dry run unless --yes is supplied:

strava-mcp-bridge streams prune --older-than-days 30

strava-mcp-bridge streams prune --older-than-days 30 --yes

See SECURITY.md and THREAT_MODEL.md for the complete controls and residual risks.

Credential Lifecycle

The bridge-owned Keychain item is:

Strava MCP Bridge Native-credentials

The explicit import is a credential ownership migration, not a passive copy. Strava refresh tokens rotate, so claiming the chain for bridge-owned operation can make Claude Code's previous copied refresh token stale. Claude Code can reauthorize later if it needs its own connection again.

Normal MCP startup reads only the bridge-owned Keychain item. It does not import from Claude Code or modify Claude Code configuration.

Keychain Permission Dialogs

During bootstrap, macOS may show two different prompts:

  • /usr/bin/security reading Claude Code-credentials: choose Allow, not Always Allow. This is the explicit one-time import.
  • strava-keychain-helper reading the bridge-owned item: Allow is the least-privilege choice. Always Allow avoids repeat prompts but accepts the documented same-user helper risk.

A rebuilt helper may trigger a new prompt after an upgrade.

Useful Commands

CommandPurpose
strava-mcp-bridge doctorRead-only platform/helper/credential check
strava-mcp-bridge bootstrapSet up helper, credential, and config snippet
strava-mcp-bridge auth status --jsonShow non-sensitive credential metadata
strava-mcp-bridge skill installInstall the bundled Codex skill at user scope
strava-mcp-bridge skill install --project-dir Install it in one project
strava-mcp-bridge config codex --profile minimalPrint minimal Codex config
strava-mcp-bridge config codex --profile training-syncPrint cycling-sync config
strava-mcp-bridge streams prune --older-than-days 30Preview stream retention cleanup
strava-mcp-bridge auth removePreview bridge credential removal
strava-mcp-bridge auth remove --yesDelete only the bridge-owned credential

See strava-mcp-bridge --help for endpoint, timeout, data-directory, and diagnostic override options.

Removing Access

strava-mcp-bridge auth remove          # dry run

strava-mcp-bridge auth remove --yes # remove local bridge credential

This never removes Claude Code's credential. To revoke access on Strava's side, deauthorize the connection in Strava's connected-app settings.

Current Status

  • Experimental 0.1.x
  • Apple Silicon macOS only
  • Official Strava MCP, not a REST API reimplementation
  • First OAuth bootstrap still requires Claude Code
  • No verified standards-only dynamic client registration path exists today
  • Published in the official MCP Registry as io.github.millerchou/strava-mcp-bridge
  • Strava says support for other clients is planned

The restriction appears at OAuth client registration/token issuance, not at the LLM model or a simple User-Agent check. Generic RFC 7591 registration attempts were rejected during isolated testing.

Development

npm test

npm run build:keychain-helper npm pack --dry-run

Tests use local mocks. They do not contact Strava or read Keychain.

Release-owner instructions are in RELEASING.md.

Disclaimer

This is an unofficial commun

冒頭だけを表示しています。続きはリポジトリで読めます