ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว เข้าสู่ระบบ

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด เครื่องมือนักพัฒนา
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Free macOS FTMS & Concept2 PM5 ergometer CLI, TUI, FIT exporter, AI-coaching stream & MCP server.

ใช้คู่กับ

Skill ที่สอน AI ทำงานแบบนี้ ใช้ร่วมกับตัวนี้ได้

rea

rea เป็นเครื่องมือเสริมสำหรับ AI agent ใช้ทำ reverse engineering กับสิ่งต่าง ๆ ตั้งแต่พฤติกรรมของแอปพลิเคชันไปจนถึงไบนารีระดับ native

โดย morluto★ 478,4891 skill

Skill · คู่มือ

andrej-karpathy-skills

andrej-karpathy-skills เป็นไฟล์ CLAUDE.md ไฟล์เดียวที่ใช้ปรับพฤติกรรมของ Claude Code ให้ดีขึ้น โดยอ้างอิงจากข้อสังเกตของ Andrej Karpathy เกี่ยวกับข้อผิดพลาดที่พบบ่อยเมื่อ LLM เขียนโค้ด

โดย multica-ai★ 235,7181 skill

Skill · คู่มือไม่ระบุสัญญาอนุญาต

graphify

graphify เป็นเครื่องมือที่แปลงโค้ด เอกสาร สคีมา SQL คอนฟิก และไฟล์ PDF ให้เป็นกราฟความรู้ที่ค้นหาได้ ทำงานแบบ local ผ่านการแยกโครงสร้าง AST และใช้ได้กับ Claude Code, Cursor, Codex และ Gemini CLI

โดย Graphify-Labs★ 153,3911 skill

Skill · คู่มือ

ทำไมอยู่อันดับนี้

หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้

ความนิยม0/80ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20
ความสด12/12ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม
ระบบยังตอบ0/8endpoint บนคลาวด์ตอบตอนตรวจล่าสุด
คะแนนการใช้งาน12/100

คุณภาพ: ผลตรวจเบื้องต้นผ่าน 2/3 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 2/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ดาวน์โหลดไฟล์ติดตั้งของผู้ทำ

    ดาวน์โหลดไฟล์ .mcpb ของผู้ทำ

    ไฟล์ .mcpb มาจากผู้ทำโดยตรง เราไม่ได้แก้ไฟล์

  2. ดับเบิลคลิกไฟล์ แล้วกด Install ในแอป Claude บนคอม

  3. ลองเลย

    ใช้ Ergctl บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ Ergctl หรือมีชื่อเครื่องมือของ Ergctl ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ Ergctl ไม่ได้

Ergctl ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Ergctl ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

ข · ตัวอื่นในหมวด เครื่องมือนักพัฒนา ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

Claude Code ยังต่อ Ergctl ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Ergctl ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

Cursor ยังต่อ Ergctl ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Ergctl ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

VS Code ยังต่อ Ergctl ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Ergctl ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ Ergctl อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ค่าที่ต้องใส่เอง

  • ERGCTL_LICENSE_KEY ความลับ env
    คีย์ลิขสิทธิ์ Polar.sh Pro แบบไม่บังคับ ที่เปิดใช้งานการฝึกซ้อมอัตโนมัติ การโค้ชด้วย AI แบบสองทิศทาง และการจำลองแอโรไดนามิก
    ดูต้นฉบับภาษาอังกฤษOptional Polar.sh Pro license key unlocking automated workouts, bidirectional AI coaching & aero sim.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ชื่อใน registry
io.github.raydeoliveira/ergctl
ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
licensei
ไม่ระบุ license
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.2.0
ส่งเข้า registryi
25 พ.ย. 2569
แก้โค้ดล่าสุดi
25 พ.ย. 2569
ผู้ทำ
raydeoliveira
แพ็กเกจ
mcpb: …/ergctl-0.2.0-macos-arm64.mcpb
เว็บผู้ทำ
github.com
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 26 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub raydeoliveira ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวาน

  • ! ควรระวัง

    มีสัญญาอนุญาต (license)

    GitHub อ่านชนิด license ไม่ออก ต้องเปิดไฟล์ดูเอง

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)

ไม่ได้ตรวจ: ตรวจได้เฉพาะแพ็กเกจ npm และ PyPI ที่ระบุรุ่น

เราตรวจอะไรบ้าง → · JSON

ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README

ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้

[![แนะนำบน PopNx MCP](https://mcp.popnx.com/badge/raydeoliveira-ergctl.svg?lang=th)](https://mcp.popnx.com/th/servers/raydeoliveira-ergctl)

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบเพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบเพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 7984 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 94% ของอีก 7984 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 56% ของอีก 7984 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Ergctl ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (0.2.0) เข้า registry เมื่อวาน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

ตัวอื่นที่ทำงานคล้ายกัน

หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

โดย ahmedkhaleel2004ใช้กันมาก★ 19.1Kอัปเดต 2 เดือนที่ผ่านมา

ต่อได้ทันที (มี URL)เครื่องมือ 3 ตัว · เบา✓ เจ้าของบริการ · gitdiagram.comทีม PopNx ลองใช้จริงแล้ว

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

โดย Appllamaใช้กันมาก★ 5.7Kอัปเดต 3 เดือนที่ผ่านมา

ต่อได้ทันที (มี URL) · ต้องล็อกอิน✓ เจ้าของบริการ · appllama.io

Cloudflare MCP

Cloudflare MCP servers

โดย cloudflareกำลังโต★ 4.5Kอัปเดต 14 เดือนที่ผ่านมา

ต่อได้ทันที (มี URL)เครื่องมือ 2 ตัว · เบา✓ เจ้าของบริการ · mcp.cloudflare.comทีม PopNx ลองใช้จริงแล้ว

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

โดย omnara-aiใช้กันมาก★ 3.5Kอัปเดต 2 เดือนที่ผ่านมา

ต่อได้ทันที (มี URL) · ต้องล็อกอิน✓ เจ้าของบริการ · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

โดย repowise-devใช้กันมาก↓ 6.5K/สัปดาห์★ 8.3K ดาวรวมทั้งรีโปอัปเดต 4 วันที่ผ่านมา

ต่อได้ทันที (มี URL) · ต้องล็อกอิน✓ เจ้าของบริการ · repowise.dev
เทียบกับตัวที่คล้ายกัน
ตัวนี้
Ergctl
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
ทำงานที่ไหนต้องลงในเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องมีทั้งบนคลาวด์และแบบลงเครื่อง
ต้องใส่คีย์ไม่ไม่ไม่ไม่ไม่ไม่
กด + ใน Claude ได้ไม่ไม่ไม่ใช่ไม่ไม่
ผลตรวจเบื้องต้น2/34/44/44/44/45/5
สัญญาอนุญาตNOASSERTIONMITMITApache-2.0Apache-2.0AGPL-3.0
ราคาไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียน

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Ergctl

Product Hub: raymonddeoliveira.com/software#ergctl · Buy Ergctl Pro ($29): Polar Checkout · Releases & Checksums: GitHub Releases · Verified MCP: Glama · Official MCP Registry: io.github.raydeoliveira/ergctl · Free Core: brew tap raydeoliveira/tap && brew install ergctl

Zero-dependency macOS CLI, free interactive terminal dashboard (tui), free manual live control, structured workout engine, ANT+ .fit exporter, and live --json / MCP AI-coaching controller for Bluetooth SIG FTMS v1.0 (`0x1826`) and Concept2 PM5 (`CE06xxxx` BLE GATT + `VID 0x17A4` USB HID CSAFE) fitness ergometers.

Replaces $20–$44/mo closed trainer and indoor rowing subscriptions with one native ~1.9 MB Apple Silicon binary — 100% open specs, zero proprietary SDKs, zero reverse-engineering risk, binary .fit export (CRC-16), and a live bidirectional AI-coaching loop.

Try Free in 10 Seconds (Zero Hardware Needed)

brew tap raydeoliveira/tap

brew install raydeoliveira/tap/ergctl

Free Core: launch interactive TUI dashboard against the built-in 10-machine simulator

ergctl tui --sim

Or probe & control your real FTMS trainer or Concept2 PM5 in Free Core:

ergctl probe --json ergctl control --watts 200 --yes --json

Measured Footprint

Measured on Apple Silicon (arm64-apple-macos14.0, Swift 6.4.2):

MetricMeasured Value
Stripped binary (arm64)1,988,432 bytes (1.90 MiB)
Compressed release tarball (.tar.gz)~753 KB (0.72 MiB, binary + docs + MCP manifest)
Claude Desktop bundle (.mcpb)~757 KB (0.72 MiB, signed binary + MCP manifest + docs)
External runtime dependencies0 (Swift stdlib, Foundation, CoreBluetooth, IOKit, Darwin)
--version latency (10 subprocess runs)7.77 ms median (7.29–9.11 ms)
Automated verification57 XCTests + 208 Python E2E tests (both commercial & ERGCTL_EDITION=oss)

Generous Free Core vs. $29 Pro

CapabilityIncluded In
probe — Discover BLE FTMS (5 machine classes), Concept2 PM5 BLE & USB HID, or 10-machine --simFree Core
tui — Interactive raw-mode ANSI dashboard (live watts, sparklines, HR zones, +/−/Space/p/r/q/Esc)Free Core
Manual control — Live --watts, --speed, --incline, --resistance, --pause, --resume, --stop, --resetFree Core
workout validate — Schema & hardware capability check for .json, .yaml, .erg, .mrcFree Core
export — Export NDJSON logs to JSON, CSV, TCX, or binary ANT+ .fit (CRC-16) via CLI or MCPFree Core
Unidirectional stream (--json), --dry-run safety previews, restore rollback & dry-run MCPFree Core
Automated workout run engine (.json, .yaml, .erg, .mrc hands-free step control)Pro ($29 one-time)
Bidirectional AI-coaching stream --bidirectional (live stdin target/cue commands + ERGCTL_WATCHDOG_MS)Pro ($29 one-time)
Aero bike sim (--grade/--wind-speed/--crr/--cw), spin-down, wheel/HR targets & live Pro MCP writesPro ($29 one-time)

Open-Spec Compatible Hardware Matrix

Implemented strictly from published Bluetooth SIG FTMS v1.0 (0x1826) and Concept2 PM5 BLE/CSAFE specifications:

CategoryRepresentative Equipment Using These Open SpecsSpec & TransportStatus
Smart Bike Trainers & Smart BikesWahoo KICKR / CORE / SNAP / BIKE, Tacx NEO / Flux, Elite Direto / Suito, Stages SB20, Schwinn IC4 / Bowflex C6FTMS Indoor Bike (0x2AD2 + 0x2AD9) BLEOpen-spec implemented · Submit hardware report
Concept2 PM5 ErgsConcept2 RowErg, SkiErg, BikeErg (PM5 firmware)PM5 BLE (CE06xxxx) + USB HID (0x17A4 CSAFE)Open-spec implemented · Submit hardware report
FTMS Rowers, Treadmills & SteppersWaterRower / FTMS Rowers (0x2AD1), FTMS Treadmills (0x2ACD), Cross Trainers (0x2ACE), Step Climbers (0x2ACF)FTMS Data + 0x2AD9 Control Point BLEOpen-spec implemented · Submit hardware report

Explicit Non-Goals & Honest Verification Disclosure:

  • macOS Apple Silicon (`arm64`, macOS 14+) release binaries. Zero proprietary vendor SDKs, kernel extensions, or DriverKit bridges. Concept2 PM5 flywheel ergs expose electronic_resistance: false and programmable_target_display: true.
  • Headless macOS Bluetooth TCC note: Unbundled terminal scans require macOS Bluetooth permission (Privacy & Security > Bluetooth) or NSBluetoothAlwaysUsageDescription; denied TCC exits deterministically (exit 4, PERMISSION_DENIED) instead of aborting (--transport usb and --sim do not require Bluetooth TCC).
  • Verification disclosure: All FTMS & PM5 wire codecs, BLE GATT routing (0021/0022/0031–003D/0080), USB HID CSAFE framing, ANT+ .fit binary CRC-16 encoding, lstat-guarded 0600 snapshots, loopback Polar licensing, real PTY termios raw-mode tui recovery, MCP 2024-11-05 stdio transport, 57 XCTests, and 208 E2E tests ran on Apple Silicon macOS. Physical third-party BLE trainers and physical Concept2 PM5 monitors have not yet been attached to the build host — test your hardware free with probe, tui, and --dry-run first!

Install & Uninstall

Homebrew (Recommended)
brew tap raydeoliveira/tap

brew install raydeoliveira/tap/ergctl ergctl --version

Release Tarball & SHA-256 Verification
tar -xzf ergctl-0.2.0-macos-arm64.tar.gz

shasum -a 256 -c SHA256SUMS.txt install -m 755 ergctl-0.2.0-macos-arm64/ergctl /usr/local/bin/ergctl ergctl --version

Claude Desktop (One-Click .mcpb) & MCP Clients (Claude Code / Codex / Cursor)

Download ergctl-0.2.0-macos-arm64.mcpb from GitHub Releases and open it in Claude Desktop, or configure Homebrew ergctl in any MCP client:

{

"mcpServers": { "ergctl": { "command": "ergctl", "args": ["mcp"], "env": { "ERGCTL_LICENSE_KEY": " " } } } }

Install the companion AI agent skill (SKILL.md):

npx skills add raydeoliveira/ergctl
Build From Source (Swift 6, macOS 14+)
# Commercial build (Free Core + Polar.sh Pro activation):

swift build -c release swift test

Open-Source Edition build (MIT seam, all features unlocked offline):

ERGCTL_EDITION=oss swift build -c release ERGCTL_EDITION=oss swift test

Uninstall
rm -f /usr/local/bin/ergctl

rm -rf ~/.config/ergctl

Quick Start

1. Discover Machines & Control Manually (Free Core)
ergctl probe --sim --json

ergctl control --sim --device sim-ftms-bike-1 --watts 200 --yes --json ergctl tui --sim

2. Validate, Run Workouts & Export .fit
# Free Core validation & export:

ergctl workout validate examples/workout_sweet_spot.json --json ergctl export session.ndjson --format fit --out workout.fit --json

Pro automated interval execution:

ergctl workout run examples/workout_rower.yaml --sim --device sim-pm5-ble-v2-row-1 --out row.ndjson --yes --json

3. Live Bidirectional AI-Coaching Loop & Safety Rollback
# Pro live bidirectional AI coaching loop with 4s safety watchdog:

python3 examples/ai_coach_loop.py --bin "$(command -v ergctl)" --ticks 8 --watts 210

Stop hardware & roll back snapshots cleanly (Free Core):

ergctl restore --sim --yes --json

Safety, Watchdog & Exit Codes

Every mutating control path enforces: capability validation -> lstat-verified 0600 baseline snapshots -> --dry-run zero-write inspection -> SafetyLimits clamps (--max-power, --max-speed) -> ERGCTL_WATCHDOG_MS AI heartbeat auto-revert -> clean SIGINT/SIGTERM hardware stop (exit 130).

CodeMeaning
0Success ("ok": true)
1Runtime error, decode/encode error, or watchdog/interrupt rollback
2Invalid CLI syntax, out-of-range target, unsupported capability, or non-TTY tui
3No matching FTMS/PM5 hardware connected
4macOS Bluetooth TCC / USB HID permission denied or symlink output path rejected
5Pro automation license required or invalid/expired (ERGCTL_EDITION=oss omits 5)
130Interrupted by SIGINT/SIGTERM after clean hardware stop

License & Support