原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Intervals MCP

作者:ljcl版本 2.15.2i★ –i在你的电脑上运行
注册名称io.github.ljcl/intervals-mcp

安装

概览

作者提供的说明(英文原文)

Remote MCP server for intervals.icu run data and analysis

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: Streamable HTTP
  • 分类: 其他
  • 你需要填写:INTERVALS_API_KEY, ORS_API_KEY, HOME_START, MCP_AUTH_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: INTERVALS_API_KEY, INTERVALS_ATHLETE_ID, TZ, ORS_API_KEY, HOME_START, MCP_AUTH_TOKEN, PORT, DATA_DIR, ROUTE_RETENTION_DAYS, PUBLIC_URL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "intervals": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "INTERVALS_API_KEY",
        "-e",
        "INTERVALS_ATHLETE_ID",
        "-e",
        "TZ",
        "-e",
        "ORS_API_KEY",
        "-e",
        "HOME_START",
        "-e",
        "MCP_AUTH_TOKEN",
        "-e",
        "PORT",
        "-e",
        "DATA_DIR",
        "-e",
        "ROUTE_RETENTION_DAYS",
        "-e",
        "PUBLIC_URL",
        "ghcr.io/ljcl/intervals-mcp:2.15.2"
      ],
      "env": {
        "INTERVALS_API_KEY": "your-value",
        "INTERVALS_ATHLETE_ID": "your-value",
        "TZ": "your-value",
        "ORS_API_KEY": "your-value",
        "HOME_START": "your-value",
        "MCP_AUTH_TOKEN": "your-value",
        "PORT": "your-value",
        "DATA_DIR": "your-value",
        "ROUTE_RETENTION_DAYS": "your-value",
        "PUBLIC_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add intervals --env INTERVALS_API_KEY=your-value --env INTERVALS_ATHLETE_ID=your-value --env TZ=your-value --env ORS_API_KEY=your-value --env HOME_START=your-value --env MCP_AUTH_TOKEN=your-value --env PORT=your-value --env DATA_DIR=your-value --env ROUTE_RETENTION_DAYS=your-value --env PUBLIC_URL=your-value -- docker run -i --rm -e INTERVALS_API_KEY -e INTERVALS_ATHLETE_ID -e TZ -e ORS_API_KEY -e HOME_START -e MCP_AUTH_TOKEN -e PORT -e DATA_DIR -e ROUTE_RETENTION_DAYS -e PUBLIC_URL ghcr.io/ljcl/intervals-mcp:2.15.2

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "intervals": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "INTERVALS_API_KEY",
        "-e",
        "INTERVALS_ATHLETE_ID",
        "-e",
        "TZ",
        "-e",
        "ORS_API_KEY",
        "-e",
        "HOME_START",
        "-e",
        "MCP_AUTH_TOKEN",
        "-e",
        "PORT",
        "-e",
        "DATA_DIR",
        "-e",
        "ROUTE_RETENTION_DAYS",
        "-e",
        "PUBLIC_URL",
        "ghcr.io/ljcl/intervals-mcp:2.15.2"
      ],
      "env": {
        "INTERVALS_API_KEY": "your-value",
        "INTERVALS_ATHLETE_ID": "your-value",
        "TZ": "your-value",
        "ORS_API_KEY": "your-value",
        "HOME_START": "your-value",
        "MCP_AUTH_TOKEN": "your-value",
        "PORT": "your-value",
        "DATA_DIR": "your-value",
        "ROUTE_RETENTION_DAYS": "your-value",
        "PUBLIC_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "intervals": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "INTERVALS_API_KEY",
        "-e",
        "INTERVALS_ATHLETE_ID",
        "-e",
        "TZ",
        "-e",
        "ORS_API_KEY",
        "-e",
        "HOME_START",
        "-e",
        "MCP_AUTH_TOKEN",
        "-e",
        "PORT",
        "-e",
        "DATA_DIR",
        "-e",
        "ROUTE_RETENTION_DAYS",
        "-e",
        "PUBLIC_URL",
        "ghcr.io/ljcl/intervals-mcp:2.15.2"
      ],
      "env": {
        "INTERVALS_API_KEY": "your-value",
        "INTERVALS_ATHLETE_ID": "your-value",
        "TZ": "your-value",
        "ORS_API_KEY": "your-value",
        "HOME_START": "your-value",
        "MCP_AUTH_TOKEN": "your-value",
        "PORT": "your-value",
        "DATA_DIR": "your-value",
        "ROUTE_RETENTION_DAYS": "your-value",
        "PUBLIC_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • INTERVALS_API_KEY 机密 必填 env
    intervals.icu personal API key (Settings, Developer Settings)
  • INTERVALS_ATHLETE_ID env
    Athlete id: 0 (default, the API key's own athlete) or e.g. i12345
  • TZ env
    IANA time zone for local dates, e.g. Australia/Sydney; unset or UTC follows the athlete's intervals.icu time zone (Etc/UTC pins UTC)
  • ORS_API_KEY 机密 env
    OpenRouteService API key (openrouteservice.org) for generated route suggestions; unset offers past runs only
  • HOME_START 机密 env
    Usual run start as lat,lng (e.g. 37.79,-122.39); unset infers it from recent GPS runs
  • MCP_AUTH_TOKEN 机密 env
    Shared secret (32+ characters) gating /mcp and detailed /health (recommended when internet-facing)
  • PORT env
    Server port, 1-65535 (default 3000)
  • DATA_DIR env
    Directory for stored routes (stitch-route, amend-route); the image uses /data, a volume in docker-compose.yml. Default ./data
  • ROUTE_RETENTION_DAYS env
    Days a stored route not read or changed is kept, 1-3650 (default 30)
  • PUBLIC_URL env
    Public URL, used only to warn when /mcp is exposed without MCP_AUTH_TOKEN

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ljcl 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32683 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32683 个服务器的 100% 更新
  • 基础检查结果等于或优于此分类中其他 32683 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Intervals MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:INTERVALS_API_KEY, ORS_API_KEY, HOME_START, MCP_AUTH_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.15.2)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, MCP Server Autocad Lisp Helper

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

MCP Server Autocad Lisp Helper

作者:radwanalmsora

High-precision static analysis and debug server for AutoCAD AutoLISP (.lsp) files.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Intervals Extra (intervals-mcp)

A single-user remote MCP server for intervals.icu run data and analysis, with interactive MCP Apps.

All text tools and every MCP App talk to intervals.icu directly and are verified against a real account; see docs/tools.md for the full catalog. Configuration is checked at startup: a bad variable stops the server with a message naming it, and the key's presence is reported on /health.

History. This project began as strava-mcp and was migrated to intervals.icu as its data source; nothing in the server talks to Strava today.

Setup

1. Get an intervals.icu API key
  1. Log in to intervals.icu
  2. Go to Settings, Developer Settings
  3. Copy your personal API key
2. Configure environment
cp .env.example .env

Edit .env with your values:

INTERVALS_API_KEY=your_api_key

All variables are listed in docs/operations.md.

3. Run it

Local development (needs Bun):

bun install

bun run dev

Docker:

docker compose up -d

Prefer the prebuilt image? Pull ghcr.io/ljcl/intervals-mcp:latest, the newest release (also on the MCP registry as io.github.ljcl/intervals-mcp), and point your compose image: at it instead of building; you still supply your own API key. :edge tracks unreleased main. Published images carry SBOM/provenance attestations you can verify; see operations.md.

GET /health reports liveness without spending an intervals.icu API request; with MCP_AUTH_TOKEN it also reports config and rate-limit state. Response shapes and monitoring guidance: operations.md.

Point any client at http://localhost:3000/mcp. Repo layout, task runner, tests, coverage gates, and Storybook workflow: docs/development.md. Agent conventions live in AGENTS.md.

Connecting to AI Tools

Most AI tools (Claude Desktop, Claude Code, etc.) need an HTTPS URL to reach your MCP server. Since the server runs on your local network, you'll need a tunnel to expose it.

Tailscale Funnel (Recommended)

Tailscale Funnel exposes a local port to the internet over HTTPS with no configuration:

tailscale funnel --bg 3000

→ https://your-machine.tail1234.ts.net

Set PUBLIC_URL in your .env to the resulting URL.

Cloudflare Tunnel
cloudflared tunnel --url http://localhost:3000
Securing the endpoint

A tunnel makes /mcp reachable by anyone who discovers the URL, so they can use the intervals.icu API key configured on the server (the key itself is never exposed to them). Set MCP_AUTH_TOKEN to a long random secret (openssl rand -hex 32) and every /mcp request requires Authorization: Bearer ; each client snippet below shows where the header goes. The secret also gates the detailed half of /health. Full details: operations.md.

Set it in .env alongside your API key; docker-compose.yml forwards it automatically.

AI Tool (Claude Desktop, Claude Code, etc.)

│ HTTPS HTTPS Tunnel (Tailscale / Cloudflare) │ HTTP (localhost:3000) intervals-mcp Server (Docker / Bun) │ HTTPS intervals.icu API

Client configuration

The server works with any MCP client that supports the Streamable HTTP transport. In every snippet below, replace https://your-public-url with your tunnel URL (or http://localhost:3000 for local development), and include the Authorization header only if you set MCP_AUTH_TOKEN.

Claude Desktop

Add to your Claude configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{

"mcpServers": { "intervals-mcp": { "type": "url", "url": "https://your-public-url/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

Restart Claude Desktop to load the new configuration.

Claude Code
claude mcp add --transport http intervals-mcp https://your-public-url/mcp \

--header "Authorization: Bearer your-mcp-auth-token"

Cursor

Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

{

"mcpServers": { "intervals-mcp": { "url": "https://your-public-url/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

VS Code

Add to .vscode/mcp.json in your workspace (or run MCP: Add Server from the command palette):

{

"servers": { "intervals-mcp": { "type": "http", "url": "https://your-public-url/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

Other clients (generic Streamable HTTP)

Any client that speaks Streamable HTTP can connect to the /mcp endpoint directly. The endpoint serves the 2026-07-28 revision: clients send stateless requests carrying the io.modelcontextprotocol/* envelope keys and the Mcp-Method/Mcp-Name headers (server/discover advertises capabilities). A 2025-era client (one that opens with initialize) is served statelessly too, because claude.ai loads MCP Apps that way, but it gets no write tool: update-activity, update-wellness and update-gear need a 2026-07-28 client. POST JSON-RPC messages with an Accept: application/json, text/event-stream header. Protocol details: docs/architecture.md.

Tools

The full tool catalog, prompts, permission behaviour, and example requests live in docs/tools.md. All text tools and every MCP App's data handler talk to intervals.icu directly.

Documentation

DocContents
docs/tools.mdFull tool catalog, prompts, permission behaviour, example requests
docs/operations.mdEnvironment variables, the API key, health endpoint, rate limits, endpoint security
docs/architecture.mdServer architecture: transport, HTTP layer, cache, error taxonomy, analysis math
docs/api-notes.mdCalling the intervals.icu API: auth, endpoints, verified behaviour from Phases 1 and 2
docs/mcp-apps.mdMCP App packages: shared shell, mobile, theming, per-app details
docs/development.mdMonorepo mechanics: Turborepo, coverage gates, Storybook gates, Docker build
docs/releasing.mdRelease automation: Conventional Commit PR titles, release-please, publishing
docs/project.mdIssue tracking and project board
docs/Intervals_MCP_Server.mdCapability reference to upload as project knowledge in a Claude project using this server

PRs are squash-merged and the PR title becomes the commit on `main`, so write it as a Conventional Commit (fix: patch, feat: minor, any ! or BREAKING CHANGE: footer major; chore:/docs:/refactor:/ci: release nothing). A CI check rejects non-conforming titles; see docs/releasing.md.

Troubleshooting

Server exits at startup: The message names the variable to fix, one line per bad variable. See operations.md.

AI tool can't reach the server — MCP requires an HTTPS URL. Use a tunnel (Tailscale Funnel or Cloudflare Tunnel) to expose your local server. See Connecting to AI Tools.

API key errors: Check /health first: api_key_configured tells you whether the server has a key set at all. If api_key_configured is true but calls still fail, the key may be wrong or revoked; generate a new one at intervals.icu, Settings, Developer Settings, and update INTERVALS_API_KEY. See operations.md.

Today's run is missing, or dates are a day off: Check time_zone and time_zone_source on /health. With TZ unset (or UTC), the server uses your intervals.icu time zone; set TZ to choose one. See operations.md.

"Cloudflare … answered with a challenge": Cloudflare, in front of intervals.icu, stopped the request before it reached intervals.icu, so this is not an API key problem. Wait a few minutes and retry. See operations.md.

Client can't connect (401 or unsupported protocol version): Each refused /mcp request writes one mcp_rejected line to the server log with its status, JSON-RPC code and, when the client sent it, its name. A 401 means the bearer token is missing or wrong. Code -32022 means the client's envelope names an MCP revision the server does not serve. See operations.md.

Is the server up and reachable? curl https://your-public-url/health. It answers without touching the intervals.icu API, so it works even when your rate limit is exhausted.

Client re-prompts for read tools after I granted them — A release likely renamed a tool or changed its input schema; grants are stored per tool identity, so that drops the grant. Releases say so in the changelog. Otherwise persistence lives in the client — check both connector-level and per-tool settings. See docs/tools.md.

License

MIT

问 PopNx