Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Remote MCP server for your Strava activities, segments, and routes
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, PUBLIC_URL, STRAVA_ACCESS_TOKEN, STRAVA_REFRESH_TOKEN, MCP_AUTH_TOKEN, PORT, TOKEN_DATA_DIR, ROUTE_EXPORT_PATHค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"strava": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"STRAVA_CLIENT_ID",
"-e",
"STRAVA_CLIENT_SECRET",
"-e",
"PUBLIC_URL",
"-e",
"STRAVA_ACCESS_TOKEN",
"-e",
"STRAVA_REFRESH_TOKEN",
"-e",
"MCP_AUTH_TOKEN",
"-e",
"PORT",
"-e",
"TOKEN_DATA_DIR",
"-e",
"ROUTE_EXPORT_PATH",
"ghcr.io/ljcl/strava-mcp:3.0.0"
],
"env": {
"STRAVA_CLIENT_ID": "ใส่ค่าของคุณ",
"STRAVA_CLIENT_SECRET": "ใส่ค่าของคุณ",
"PUBLIC_URL": "ใส่ค่าของคุณ",
"STRAVA_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"STRAVA_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
"PORT": "ใส่ค่าของคุณ",
"TOKEN_DATA_DIR": "ใส่ค่าของคุณ",
"ROUTE_EXPORT_PATH": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add strava --env STRAVA_CLIENT_ID='ใส่ค่าของคุณ' --env STRAVA_CLIENT_SECRET='ใส่ค่าของคุณ' --env PUBLIC_URL='ใส่ค่าของคุณ' --env STRAVA_ACCESS_TOKEN='ใส่ค่าของคุณ' --env STRAVA_REFRESH_TOKEN='ใส่ค่าของคุณ' --env MCP_AUTH_TOKEN='ใส่ค่าของคุณ' --env PORT='ใส่ค่าของคุณ' --env TOKEN_DATA_DIR='ใส่ค่าของคุณ' --env ROUTE_EXPORT_PATH='ใส่ค่าของคุณ' -- docker run -i --rm -e STRAVA_CLIENT_ID -e STRAVA_CLIENT_SECRET -e PUBLIC_URL -e STRAVA_ACCESS_TOKEN -e STRAVA_REFRESH_TOKEN -e MCP_AUTH_TOKEN -e PORT -e TOKEN_DATA_DIR -e ROUTE_EXPORT_PATH ghcr.io/ljcl/strava-mcp:3.0.0เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"strava": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"STRAVA_CLIENT_ID",
"-e",
"STRAVA_CLIENT_SECRET",
"-e",
"PUBLIC_URL",
"-e",
"STRAVA_ACCESS_TOKEN",
"-e",
"STRAVA_REFRESH_TOKEN",
"-e",
"MCP_AUTH_TOKEN",
"-e",
"PORT",
"-e",
"TOKEN_DATA_DIR",
"-e",
"ROUTE_EXPORT_PATH",
"ghcr.io/ljcl/strava-mcp:3.0.0"
],
"env": {
"STRAVA_CLIENT_ID": "ใส่ค่าของคุณ",
"STRAVA_CLIENT_SECRET": "ใส่ค่าของคุณ",
"PUBLIC_URL": "ใส่ค่าของคุณ",
"STRAVA_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"STRAVA_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
"PORT": "ใส่ค่าของคุณ",
"TOKEN_DATA_DIR": "ใส่ค่าของคุณ",
"ROUTE_EXPORT_PATH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"strava": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"STRAVA_CLIENT_ID",
"-e",
"STRAVA_CLIENT_SECRET",
"-e",
"PUBLIC_URL",
"-e",
"STRAVA_ACCESS_TOKEN",
"-e",
"STRAVA_REFRESH_TOKEN",
"-e",
"MCP_AUTH_TOKEN",
"-e",
"PORT",
"-e",
"TOKEN_DATA_DIR",
"-e",
"ROUTE_EXPORT_PATH",
"ghcr.io/ljcl/strava-mcp:3.0.0"
],
"env": {
"STRAVA_CLIENT_ID": "ใส่ค่าของคุณ",
"STRAVA_CLIENT_SECRET": "ใส่ค่าของคุณ",
"PUBLIC_URL": "ใส่ค่าของคุณ",
"STRAVA_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"STRAVA_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
"PORT": "ใส่ค่าของคุณ",
"TOKEN_DATA_DIR": "ใส่ค่าของคุณ",
"ROUTE_EXPORT_PATH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
PORT envTOKEN_DATA_DIR envROUTE_EXPORT_PATH envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ljcl ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, PUBLIC_URL, STRAVA_ACCESS_TOKEN, STRAVA_REFRESH_TOKEN, MCP_AUTH_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.0.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Microsoft Exchange Online MCP
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.
Exchange Online admin for MSPs: forwarding audits, EWS posture and offboarding, no PowerShell
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol (MCP) server that supplements the official Strava MCP connector. It adds write access, segments, routes, photos, derived analysis, and interactive visualizations that the official connector does not provide.
Browse the UI components in the live Storybook.
The full tool catalog, prompts, permission behaviour, and example requests live in docs/tools.md.
strava-mcp.example.com)cp .env.example .env
Edit .env with your values:
STRAVA_CLIENT_ID=your_client_id
STRAVA_CLIENT_SECRET=your_client_secret PUBLIC_URL=https://your-public-url.example.com
All variables are listed in docs/operations.md. Prefer the prebuilt image? Pull ghcr.io/ljcl/strava-mcp:latest (also on the MCP registry as io.github.ljcl/strava-mcp) and point your compose image: at it instead of building; you still supply the Strava credentials yourself. Published images carry SBOM/provenance attestations you can verify — see operations.md.
Note on the `./data` bind mount: tokens persist there, and the distroless image runs as non-root UID 65534, so the directory must be writable by that UID or token persistence fails on first run:
mkdir -p data
sudo chown -R 65534:65534 data
Alternatively use a named volume in docker-compose.yml (e.g. strava-data:/app/data), which Docker initializes with correct ownership. More detail in operations.md.
docker compose up -d
GET /health reports liveness without spending a Strava API request; with MCP_AUTH_TOKEN it also reports auth and rate-limit state. Response shapes and monitoring guidance: operations.md.
Visit https://your-public-url/auth/start in your browser. After authorizing, tokens are saved automatically and refreshed from then on. Check status anytime at /auth/status.
If you set MCP_AUTH_TOKEN, append it to both URLs as ?token= .
Add to your Claude configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": { "strava": { "type": "url", "url": "https://your-public-url/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }
The headers entry is only needed when MCP_AUTH_TOKEN is set (recommended for tunnel-exposed servers — see Securing the endpoint).
Restart Claude Desktop to load the new configuration.
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 — including the update-activity write tool. 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 /auth/start and /auth/status. Full details (including how OAuth callbacks stay safe): operations.md.
Set it in .env alongside your Strava credentials — docker-compose.yml forwards it automatically.
AI Tool (Claude Desktop, Claude Code, etc.)
│ HTTPS HTTPS Tunnel (Tailscale / Cloudflare) │ HTTP (localhost:3000) Strava MCP Server (Docker / Bun) │ HTTPS Strava 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.
claude mcp add --transport http strava 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": { "strava": { "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": { "strava": { "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. One URL serves both protocol eras: 2026-07-28 clients send stateless requests carrying the io.modelcontextprotocol/* envelope keys (server/discover advertises capabilities); 2025-era clients use the ordinary initialize handshake. POST JSON-RPC messages with an Accept: application/json, text/event-stream header. Protocol details: docs/architecture.md.
Strava's official MCP connector handles activity discovery and basic reads. This server supplements it with everything the official connector does not offer: writing to activities, segments, routes and GPX/TCX export, photos, derived analysis, and interactive visualizations.
claude mcp add --transport http strava-mcp https://mcp.strava.com/mcp (or via claude.ai Connectors / Claude Desktop).| Capability | Official | This server |
|---|---|---|
| List / read activities, streams, profile, zones, gear, clubs, training plan | yes | no (use official) |
| Update activities, star segments | no | yes |
| Segment detail / search / efforts | no | yes |
| Routes plus GPX/TCX export | no | yes |
| Activity GPX export (synthesized from streams) | no | yes |
| Activity photos | no | yes |
| Athlete stats, per-activity zones, best efforts, running summary, training load, compare | no | yes |
| Interval, hill, and aerobic analysis; fitness/fatigue/form (CTL/ATL/TSB) | no | yes |
| Interactive apps: activity chart, cadence trends, route map, activity segments, training load, compare activities, activity zones, segment progress, fitness trend | no | yes |
get-best-efforts, get-training-load) fetch their own activity lists, but per-activity tools (get-running-summary, compare-activities, get-activity-zones, etc.) need an activity id from the official list_activities.Use the official connector to discover and read activities, then use this server to write, explore segments, manage and export routes, and visualize. The model can pass activity ids from official list_activities directly into this server's tools.
Ask your AI assistant questions like these (use the official Strava MCP to discover activity IDs, then pass them to these tools):
More in docs/tools.md.
Prerequisites: Bun and a Strava account.
bun install
cd apps/server && bun run setup-auth && cd ../..
bun run dev
Then 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.
| Doc | Contents |
|---|---|
| docs/tools.md | Full tool catalog, prompts, permission behaviour, example requests |
| docs/operations.md | Environment variables, auth/token handling, health endpoint, rate limits, endpoint security |
| docs/architecture.md | Server architecture: transport, HTTP layer, cache, error taxonomy, analysis math |
| 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 |
PRs are squash-merged and the PR title becomes the commit on `main`, so write it as a [Conventional Commit](https://www.con
ตัดมาแค่ช่วงต้น อ่านต่อใน repo