Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Remote MCP server for intervals.icu run data and analysis
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
INTERVALS_API_KEY, INTERVALS_ATHLETE_ID, TZ, ORS_API_KEY, HOME_START, MCP_AUTH_TOKEN, PORT, 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",
"PUBLIC_URL",
"ghcr.io/ljcl/intervals-mcp:2.13.1"
],
"env": {
"INTERVALS_API_KEY": "ใส่ค่าของคุณ",
"INTERVALS_ATHLETE_ID": "ใส่ค่าของคุณ",
"TZ": "ใส่ค่าของคุณ",
"ORS_API_KEY": "ใส่ค่าของคุณ",
"HOME_START": "ใส่ค่าของคุณ",
"MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
"PORT": "ใส่ค่าของคุณ",
"PUBLIC_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add intervals --env INTERVALS_API_KEY='ใส่ค่าของคุณ' --env INTERVALS_ATHLETE_ID='ใส่ค่าของคุณ' --env TZ='ใส่ค่าของคุณ' --env ORS_API_KEY='ใส่ค่าของคุณ' --env HOME_START='ใส่ค่าของคุณ' --env MCP_AUTH_TOKEN='ใส่ค่าของคุณ' --env PORT='ใส่ค่าของคุณ' --env PUBLIC_URL='ใส่ค่าของคุณ' -- 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 PUBLIC_URL ghcr.io/ljcl/intervals-mcp:2.13.1เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .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",
"PUBLIC_URL",
"ghcr.io/ljcl/intervals-mcp:2.13.1"
],
"env": {
"INTERVALS_API_KEY": "ใส่ค่าของคุณ",
"INTERVALS_ATHLETE_ID": "ใส่ค่าของคุณ",
"TZ": "ใส่ค่าของคุณ",
"ORS_API_KEY": "ใส่ค่าของคุณ",
"HOME_START": "ใส่ค่าของคุณ",
"MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
"PORT": "ใส่ค่าของคุณ",
"PUBLIC_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .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",
"PUBLIC_URL",
"ghcr.io/ljcl/intervals-mcp:2.13.1"
],
"env": {
"INTERVALS_API_KEY": "ใส่ค่าของคุณ",
"INTERVALS_ATHLETE_ID": "ใส่ค่าของคุณ",
"TZ": "ใส่ค่าของคุณ",
"ORS_API_KEY": "ใส่ค่าของคุณ",
"HOME_START": "ใส่ค่าของคุณ",
"MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
"PORT": "ใส่ค่าของคุณ",
"PUBLIC_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
INTERVALS_ATHLETE_ID envTZ envPORT envPUBLIC_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ljcl ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: INTERVALS_API_KEY, ORS_API_KEY, HOME_START, MCP_AUTH_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.13.1) เข้า registry วันนี้
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Reelsaw
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Drive a self-hosted Reelsaw: turn long videos into vertical clips, edit, re-render and export them.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
cp .env.example .env
Edit .env with your values:
INTERVALS_API_KEY=your_api_key
All variables are listed in docs/operations.md.
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.
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 exposes a local port to the internet over HTTPS with no configuration:
tailscale funnel --bg 3000
Set PUBLIC_URL in your .env to the resulting URL.
cloudflared tunnel --url http://localhost:3000
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
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.
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 mcp add --transport http intervals-mcp https://your-public-url/mcp \
--header "Authorization: Bearer your-mcp-auth-token"
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" } } } }
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" } } } }
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.
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.
| Doc | Contents |
|---|---|
| docs/tools.md | Full tool catalog, prompts, permission behaviour, example requests |
| docs/operations.md | Environment variables, the API key, health endpoint, rate limits, endpoint security |
| docs/architecture.md | Server architecture: transport, HTTP layer, cache, error taxonomy, analysis math |
| docs/api-notes.md | Calling the intervals.icu API: auth, endpoints, verified behaviour from Phases 1 and 2 |
| docs/mcp-apps.md | MCP App packages: shared shell, mobile, theming, per-app details |
| docs/development.md | Monorepo mechanics: Turborepo, coverage gates, Storybook gates, Docker build |
| docs/releasing.md | Release automation: Conventional Commit PR titles, release-please, publishing |
| docs/project.md | Issue tracking and project board |
| docs/Intervals_MCP_Server.md | Capability 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.
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.
MIT