AgentHubAgentHub

strava-mcp

MCP ServerMCP Registry官方收录

io.github.davidmosiah/strava-mcp · v0.4.6

Privacy-first MCP server for Strava activities, streams, routes and training.

概览

strava-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

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

环境变量

STRAVA_CLIENT_ID可选

Strava OAuth client ID. Optional when configured with strava-mcp-server setup.

STRAVA_CLIENT_SECRET可选secret

Strava OAuth client secret. Prefer strava-mcp-server setup so this secret is stored in ~/.strava-mcp/config.json instead of MCP client config.

STRAVA_REDIRECT_URI可选

Redirect URI configured in the Strava Developer Dashboard. Optional when configured with strava-mcp-server setup.

STRAVA_TOKEN_PATH可选

Optional local path for OAuth tokens. Defaults to ~/.strava-mcp/tokens.json.

STRAVA_PRIVACY_MODE可选

Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Strava API payloads, not continuous 24/7 raw sensor telemetry.

STRAVA_CACHE可选

Optional SQLite cache toggle. Set to true or sqlite to enable.

STRAVA_CACHE_PATH可选

Optional local SQLite cache path. Defaults to ~/.strava-mcp/cache.sqlite.

STRAVA_NO_CACHE可选

Set to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless.

相关资源

统一 Manifest

{
  "id": "io.github.davidmosiah/strava-mcp",
  "type": "mcp-server",
  "version": "0.4.6",
  "displayName": "strava-mcp",
  "description": "Privacy-first MCP server for Strava activities, streams, routes and training.",
  "repository": {
    "url": "https://github.com/davidmosiah/strava-mcp",
    "source": "github"
  },
  "homepage": "https://wellness.delx.ai/connectors/strava",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "strava-mcp-unofficial",
        "version": "0.4.6",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "STRAVA_CLIENT_ID",
            "description": "Strava OAuth client ID. Optional when configured with strava-mcp-server setup."
          },
          {
            "name": "STRAVA_CLIENT_SECRET",
            "description": "Strava OAuth client secret. Prefer strava-mcp-server setup so this secret is stored in ~/.strava-mcp/config.json instead of MCP client config.",
            "isSecret": true
          },
          {
            "name": "STRAVA_REDIRECT_URI",
            "description": "Redirect URI configured in the Strava Developer Dashboard. Optional when configured with strava-mcp-server setup."
          },
          {
            "name": "STRAVA_TOKEN_PATH",
            "description": "Optional local path for OAuth tokens. Defaults to ~/.strava-mcp/tokens.json."
          },
          {
            "name": "STRAVA_PRIVACY_MODE",
            "description": "Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Strava API payloads, not continuous 24/7 raw sensor telemetry."
          },
          {
            "name": "STRAVA_CACHE",
            "description": "Optional SQLite cache toggle. Set to true or sqlite to enable."
          },
          {
            "name": "STRAVA_CACHE_PATH",
            "description": "Optional local SQLite cache path. Defaults to ~/.strava-mcp/cache.sqlite."
          },
          {
            "name": "STRAVA_NO_CACHE",
            "description": "Set to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.davidmosiah/strava-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.davidmosiah%2Fstrava-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
strava-mcp — MCP Server 安装与配置 · AgentHub