Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Deterministic API regression checks for AI agents: snapshot a baseline, catch broken contracts.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Bharath-code ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.4) เข้า registry 34 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, FOGA node
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.
A Finch OG Agent cell as an MCP server: read the world, dry-run and take ERC-8414 tenders by policy.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Before you commit, know what broke.
When an AI coding agent edits your app it can silently break an API contract — a removed field, a changed status code, a test that now fails — and still report success. RegressGuard records a known-good baseline and tells you (or the agent) exactly what regressed.
It is built to live inside the agent's own loop. RegressGuard ships as an MCP server, so agents like Claude Code and Cursor can verify their own work and self-correct *before* a human ever sees the diff — zero extra steps. The same engine also runs as a plain CLI for humans and CI.
# Agent-native (primary): the agent calls these as MCP tools in its loop
check → status # see "Agent-native verification (MCP)" below
regressguard snapshot # record the known-good state regressguard check # compare after edits — see what broke
*Break → detect → fix → green. Reproduce it yourself: ./demo/demo.sh.*
macOS / Linux (recommended)
curl -fsSL https://raw.githubusercontent.com/Bharath-code/regressguard/main/install.sh | sh
Verify
regressguard version # first line must say "RegressGuard"
Upgrading from v0.1.x? The binary was renamed from
rgtoregressguardbecauserg
collides with ripgrep. There is no
rgshim and the oldrg upgradecan't fetch v0.2.0:
re-run the installer, delete the old
rg, then runregressguard hook install
(old hooks call
rg;regressguard doctorflags them).
cd your-project
regressguard init
RegressGuard detects your test command, framework, and dev server URL automatically.
Make sure your dev server is running, then:
regressguard snapshot
Output:
Snapshot
OK Tests 42 passed, 0 failed 6.8s OK Routes 6 captured, 2 skipped OK Schemas 6 hashed
Saved: .regressguard/snapshot.json
Next: Ask your AI agent to make the code change, then run: regressguard check
Let Claude Code, Cursor, or Codex make its changes.
regressguard check
Clean — safe to commit:
Check
OK No regressions detected
Tests 42 passed, 0 failed Routes 6 unchanged Timing within tolerance
Safe to commit.
Regression found — commit blocked:
Check
X 2 regressions detected
Route Before After Change GET /api/users schema schema schema
Likely cause: Auth/session behavior or routing changed during the last code edit.
Changed files since snapshot: app/api/users/route.ts internal/auth/session.go
Next: regressguard check --verbose git diff
Commit blocked.
Exit code 1 on critical — works with git hooks and CI.
regressguard hook install
Now regressguard check runs automatically before every git commit. When a critical regression is detected, the commit is blocked with a compact output:
RegressGuard pre-commit
X 1 regression detected POST /api/user/update status changed from 200 to 500
Run: regressguard check --verbose
Commit blocked. Use --no-verify only if you accept the risk.
Bypass with git commit --no-verify only when you accept the risk.
This is RegressGuard's primary mode. Instead of waiting for a human to run regressguard check, the AI agent calls it as a tool inside its own edit loop — so it catches and fixes regressions it just introduced, before handing the change back to you.
Start the server (stdio transport):
regressguard mcp serve
Register with Claude Code:
claude mcp add regressguard -- regressguard mcp serve
Register with Cursor (.cursor/mcp.json):
{
"mcpServers": { "regressguard": { "command": "regressguard", "args": ["mcp", "serve"] } } }
The agent then has two tools:
| Tool | Purpose |
|---|---|
check | Compare current state against the snapshot; returns structured findings with severity |
status | Sub-second health check (snapshot age, route/config/hook status) — no tests run |
The baseline is human-owned. Agents get no snapshot tool by default. If they could re-record the baseline, an agent could accept its own regression (check fails → snapshot → check passes). You record the baseline with regressguard snapshot. To let agents re-baseline anyway, set this in .regressguard/config.json and restart the MCP server:
{ "mcp": { "allowSnapshot": true } }
Tool responses are the same machine-readable payload as `regressguard check --json` — see docs/json-contract.md. Every tool call is recorded to an append-only audit log under .regressguard/ (tool, status, duration, timestamp).
A typical loop: the agent edits code → calls check → reads the structured findings → fixes the regression → calls check again → only then reports done.
| Command | Purpose |
|---|---|
regressguard init | Configure RegressGuard for this project |
regressguard quickstart | Auto-configure and snapshot in one command |
regressguard snapshot | Record the current passing state |
regressguard check | Compare current state against the snapshot |
regressguard status | Sub-second health check (snapshot age, routes, hook) — no tests run |
regressguard explain | Show before/after diff for a specific route |
regressguard watch | Watch files and auto-run check on changes |
regressguard mcp serve | Run the MCP server so AI agents can self-verify (see above) |
regressguard hook install | Install the pre-commit git hook |
regressguard hook uninstall | Remove the git hook |
regressguard config get | Read a config value |
regressguard config set | Write a config value |
regressguard doctor | Diagnose setup issues |
regressguard upgrade | Update regressguard to the latest version |
regressguard completion | Generate shell autocompletions (bash, zsh, fish) |
regressguard version | Print version and build metadata |
Run regressguard --help for flags, examples, and exit codes.
Config lives in .regressguard/config.json (human-readable, git-ignoreable).
{
"version": 1, "testCommand": "npm test", "serverUrl": "http://localhost:3000", "auth": { "mode": "bearer", "testToken": "your-test-token", "headerName": "Authorization", "prefix": "Bearer" }, "ignoreFields": ["requestId", "traceId"], "routes": [ { "method": "GET", "path": "/api/health" }, { "method": "GET", "path": "/api/users" }, { "method": "GET", "path": "/api/admin", "skip": true } ] }
Auth modes: bearer (Authorization header), cookie (Cookie header), or omit for public routes only.
ignoreFields: Fields to exclude from schema comparison — useful for volatile app-specific values like requestId or traceId.
regressguard snapshot runs your test suite and hits each configured route. It records pass/fail counts, HTTP status codes, and a normalized schema hash for each response.regressguard check reruns the same tests and routes, then diffs against the snapshot:id, uuid, token, nonce, timestamp, createdAt, updatedAt, deletedAt, created_at, updated_at, deleted_at, sessionId, accessToken, refreshToken, expiresAt, expires_at) before hashing."date", "uuid", "token").ignoreFields defined in config.This ensures the shape integrity of endpoints remains stable across runs even when database IDs and timestamps change.
summary.passed of --json output.These are deliberate trade-offs in v1 — favoring zero false positives over exhaustive detection. They are on the roadmap, not accidental:
regressguard check records failing test *names* (jest, vitest, bun, go test output) and flags a CRITICAL when a test that passed at baseline starts failing — even if the net failure count is unchanged. When names cannot be parsed from your runner's output (or the baseline predates name recording), it falls back to count comparison: a CRITICAL only when the number of failing tests *increases*. Pair regressguard check with your normal test runner in CI for exhaustive per-test assertions.| Code | Meaning |
|---|---|
0 | Pass or warnings only — safe to commit |
1 | Critical regression detected — commit blocked |
2 | Usage, config, or runtime error |
# JSON output for scripts and agents
regressguard check --json | jq .status
regressguard check --json --verbose
NO_COLOR=1 regressguard check
GitHub Action — runs regressguard check on every PR and comments the findings:
- uses: Bharath-code/regressguard@v0
with: server-command: npm run dev
On pull requests the action compares against the snapshot committed on the base branch (regressguard check --base origin/main), so a PR that edits .regressguard/snapshot.json to hide a regression still fails. Require a human approval when the baseline changes with a CODEOWNERS rule:
/.regressguard/snapshot.json @your-handle
Commit .regressguard/snapshot.json (regressguard init adds .regressguard/* + !.regressguard/snapshot.json to .gitignore); everything else in .regressguard/ stays local.
See action.yml for all inputs (version pinning, working directory, server URL).
Python, FastAPI, and Django support i
ตัดมาแค่ช่วงต้น อ่านต่อใน repo