Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Focus-free macOS control for AI agents: drive your real Mac apps in the background, no stolen focus.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"hunch": {
"command": "uvx",
"args": [
"hunch-sdk"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add hunch -- uvx hunch-sdkวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"hunch": {
"command": "uvx",
"args": [
"hunch-sdk"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"hunch": {
"type": "stdio",
"command": "uvx",
"args": [
"hunch-sdk"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub PrithviSeran ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.6) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, SSTracker free youth training
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.
Free youth sports drills, practice plans and age-group answers for parents and coaches.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Drive your Mac with any LLM: focus-free, in the background, over [MCP](https://modelcontextprotocol.io).
Hunch is an MCP server that gives an LLM agent hands on *your* Mac: your installed apps, your logged-in sessions, your files, without taking over your screen. While you keep working in the foreground, an agent can read a background app's UI, click its buttons, drive Mail or Music by AppleScript, fill a web form, or move files. It works on real native apps, not just a browser.
Works best with modern LLMs. Hunch ships a detailed playbook as MCP server instructions;
capable tool-using models (Claude Sonnet/Opus-class and up) follow it well. Smaller models may
pick clumsier paths (screenshots and keystrokes instead of tree reads and clicks).
Hunch always prefers the most direct layer. It's faster, more reliable, and (except the last) never touches your screen:
| Layer | Tools | What it's for |
|---|---|---|
| OS-API | trash file_op open_file clipboard_* launch_app … | files, clipboard, app lifecycle, via direct API calls |
| AppleScript | applescript | scriptable apps: Mail, Messages, Notes, Calendar, Music, Finder, Safari … |
| Web | web_open web_snapshot web_act web_login … | Safari through the bundled extension, or Chromium/Electron through CDP, driven in the background |
| Accessibility | snapshot act | any native app's UI: read the tree, click/select/type by reference |
A gated last resort (screenshot + coordinate clicks/keystrokes) exists for apps whose accessibility tree is truly empty. It steals focus, so it asks you first.
For focus-free visual work in Safari, open a dedicated extension-owned window with web_open(..., app="Safari", new_window=True). web_screenshot captures that background window, and web_act can use the returned pixel coordinates without moving the shared mouse, keyboard, or foreground window. The extension remains necessary: it owns the isolated Safari window and dispatches renderer-local actions that a physical screen capture cannot.
"MCP server" undersells how local this is. hunch serve is a plain Python process that your MCP host (Claude Desktop, Cursor, …) spawns as a child process and talks to over JSON-RPC on stdin/stdout (MCP's stdio transport). There is no HTTP endpoint, no port Hunch listens on, no daemon, and no telemetry. When your host quits, Hunch is gone.
The tools are direct macOS API calls in-process: the Accessibility framework via pyobjc, osascript for AppleScript, OS APIs for files/clipboard, a local WebSocket to Chromium's DevTools port, and the signed local Safari extension bridge. The optional Safari companion uses an authenticated loopback connection solely to relay typed commands to Apple's sandboxed extension. Browsing traffic still comes from the selected browser. What the model sees is whatever the tools return through your host; nothing else leaves the machine.
Hunch is measured against other macOS computer-use agents on a real, logged-in Mac in mac-agent-bench — *same brain, different hands*: identical claude -p per task, only the MCP adapter differs. It scores task success with programmatic checkers and disturbance: how much the agent hijacks your cursor and foreground while it works.
Across 5 complex multi-step tasks (n=3):
| Tool | Success | Cost | Disturbance (focus·cursor) | Timeouts |
|---|---|---|---|---|
| Hunch | 15/15 | $1.52 | 1·0 | 0 |
| Peekaboo | 13/15 | $14.60 | 22·16 | 2 |
| cua-driver | 15/15 | $17.70 | 22·0 | 0 |
Perfect reliability, ~10x cheaper, ~5–10x faster, and it essentially never touches your screen (0 cursor moves, 1 focus switch across 15 trials). Full methodology and per-task tables are in the benchmark repo.
macOS 13+. From PyPI (the distribution is hunch-sdk; the import and CLI are hunch):
pipx install hunch-sdk # or: pip install hunch-sdk
pip install 'hunch-sdk[subscription]' # + the agent loop on Claude (provider="claude") pip install --pre 'hunch-sdk[codex]' # + the agent loop on OpenAI Codex (provider="codex")
Or via Homebrew — best if you don't manage Python environments; it bundles an isolated Python at a stable path, which makes the macOS permission grants the most predictable:
brew install prithviseran/hunch/hunch
Then, one time:
hunch setup # walk the macOS permission grants
hunch doctor # verify every layer; fix anything it flags hunch connect claude-desktop # or: claude-code, cursor
Restart your MCP host and ask it to *"use hunch to …"*.
macOS trust attaches to the app that runs the server, meaning your MCP host (Claude Desktop, Cursor, your terminal), not "hunch" itself. hunch setup walks you through it:
hunch doctor reports what's granted. Note: its Accessibility line reflects the *terminal* you ran it from; the server inherits the *host's* grant.
Hunch is also an importable library — the same focus-free primitives as the MCP tools, driven deterministically from your own Python (a cron job, a test harness, your own agent loop), no LLM required. The distribution is hunch-sdk; the import is hunch:
from hunch import Hunch
mac = Hunch() # your machine, your logged-in apps print(mac.snapshot("Mail")) # accessibility tree, focus-free mac.act([{"action": "click", "ref": "e12"}]) mac.web.open(url="https://github.com") # real persistent Chrome profile over CDP mac.web.open(url="https://github.com", app="Safari") # user's Safari session via extension print(mac.web.snapshot()) mac.files.trash(["~/Downloads/old.zip"]) # reversible delete, no Finder mac.applescript('tell application "Music" to play')
Constructor knobs: app (initial snapshot target), confirm="dialog"|"off" (see below), check_permissions (Accessibility check up front), simultaneous (never touch the foreground/cursor/keyboard), cdp_port.
To reveal hover menus or tooltips in a Chromium/Electron CDP session, use a ref from the latest web_snapshot:
mac.web.act([{"action": "hover", "ref": "e12"}], detailed=True)
print(mac.web.snapshot()) # verify the revealed UI and get fresh refs before clicking
The MCP equivalent is web_act with the same action. Hover sends a renderer-local mouse-move event, without a click, app activation, or movement of the Mac cursor. Its receipt is performed_unverified unless an explicit postcondition verifies the requested field. Safari returns unsupported (a detailed call returns blocked with zero attempted actions); native act does not advertise hover.
An element's own identity, where the page keeps one (Chromium/Electron CDP only):
mac.web.identity("e12")
keys are the framework's list keys from the root down to the element (React, and Vue where a build exposes vnodes), which apps mostly set to their records' ids and which survive the re-renders that replace DOM nodes; attrs are the element's id, name, data-testid and href as written. It reads in the page's main world and sends no input. Nothing is interpreted: a list position (0, 1) and a record id come back alike.
AccessibilityNotGranted with instructions. screenshot() additionally needs Screen Recording.~/.hunch/config.json gates as the MCP server. Hunch(confirm="off") auto-approves for that instance only — for unattended scripts, with the same caveats as auto_approve_all.REFUSED); the SDK raises only ApprovalDenied (user declined a dialog), AccessibilityNotGranted, WebNotOpen (.web before .web.open()), StaleRef (re-snapshot), and HunchError when a CDP browser can't be opened (web.restart() recovers a stale instance).mac.web.fill_login(service) / fill_secret(service, ref) type Keychain values straight into the page and never return them; domain binding is enforced.web.restart()/web.login() kill whatever holds the port.Runnable scripts live in examples/.
mac.agent)The instance SDK gives you deterministic primitives. The agent loop puts an LLM in the driver's seat: you hand it a task in plain English and it drives the Mac through those same primitives — on *your* machine with *your* logged-in apps. Pick your provider — Anthropic Claude or OpenAI Codex — once at construction; everything after is provider-agnostic. It's an optional extra (keeps the base install free of the model SDKs):
pip install 'hunch-sdk[subscription]' # Claude
python -c 'import hunch; hunch.provider("claude").login()' # sign-in (browser OAuth) — no API key
from hunch import Hunch
mac = Hunch(provider="claude") # or Hunch(provider="codex") result = mac.agent.run("reply to Sarah's latest email, but don't send it") print(result.text) # the model's final summary print(result.turns, result.usage)
Auth is an explicit, provider-scoped surface — nothing is scavenged silently. You choose the vendor once, then the same prefix-free methods act on it:
mac = Hunch(provider="codex") # or "claude" (the default)
mac.login() # codex: ChatGPT browser sign-in · claude: Claude sign-in mac.status() # -> AuthStatus(provider, logged_in, method, email, plan) mac.logout() mac.agent.run(task) # runs on the configured provider
Or drive auth standalone, without a Mac instance (e.g. an onboarding script):
import hunch
st = hunch.provider("codex").status() if not st.logged_in: hunch.provider("codex").login() # browser OAuth (blocks until done)
| Provider | Sign in with | Cost |
|---|---|---|
claude | mac.login() / hunch.provider("claude").login() — the same browser OAuth Claude Code uses. Already signed into Claude Code on this Mac? You're done; Hunch reuses that. | your Claude plan (no per-token cost) |
codex | mac.login() / codex login — a ChatGPT/Codex browser sign-in. | your ChatGPT/Codex plan |
Both run on a subscription/login — metered API keys are intentionally not exposed. With no valid sign-in, run() surfaces an error tha
ตัดมาแค่ช่วงต้น อ่านต่อใน repo