Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Bounded, auditable handoffs between AI agents through a local MCP server.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
HANDOFF_AGENT_ID, HANDOFF_MCP_REGISTRY, HANDOFF_MCP_DBต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"agent-handoff": {
"command": "npx",
"args": [
"-y",
"@sarutobi-sasuke/agent-handoff-mcp",
"stdio"
],
"env": {
"HANDOFF_AGENT_ID": "ใส่ค่าของคุณ",
"HANDOFF_MCP_REGISTRY": "ใส่ค่าของคุณ",
"HANDOFF_MCP_DB": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add agent-handoff --env HANDOFF_AGENT_ID='ใส่ค่าของคุณ' --env HANDOFF_MCP_REGISTRY='ใส่ค่าของคุณ' --env HANDOFF_MCP_DB='ใส่ค่าของคุณ' -- npx -y @sarutobi-sasuke/agent-handoff-mcp stdioเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"agent-handoff": {
"command": "npx",
"args": [
"-y",
"@sarutobi-sasuke/agent-handoff-mcp",
"stdio"
],
"env": {
"HANDOFF_AGENT_ID": "ใส่ค่าของคุณ",
"HANDOFF_MCP_REGISTRY": "ใส่ค่าของคุณ",
"HANDOFF_MCP_DB": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"agent-handoff": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sarutobi-sasuke/agent-handoff-mcp",
"stdio"
],
"env": {
"HANDOFF_AGENT_ID": "ใส่ค่าของคุณ",
"HANDOFF_MCP_REGISTRY": "ใส่ค่าของคุณ",
"HANDOFF_MCP_DB": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub SarutobiSasuke8 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: HANDOFF_AGENT_ID, HANDOFF_MCP_REGISTRY, HANDOFF_MCP_DB
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 14 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Funooy Krillion Reference
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.
Funooy trivia references in six languages, with rules and fixed scoring. No daily spoilers.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A local-first Model Context Protocol server for bounded, auditable handoffs between AI agents.
Agent Handoff MCP gives Claude, Codex, local agents, and other MCP clients a shared inbox without giving one model control over another. Agents can send structured work, acknowledge it, report a blocker, complete it, or cancel work they originally queued. Every transition is attributable and retained in SQLite.
Multi-agent systems often pass work through chat transcripts, ad hoc files, or vendor-specific orchestration. That loses ownership, lifecycle state, authorization boundaries, and a durable audit trail. This server turns a handoff into a small protocol object:
sender -> queued -> accepted -> completed
| ^ v | blocked --------+
sender may cancel only while queued
The server coordinates work; it does not execute agents, fetch references, read arbitrary files, or create autonomous agent loops.
| Tool | Purpose |
|---|---|
handoff_whoami | Show the authenticated identity, boundaries, and policy revision. |
handoff_send | Send a structured handoff to an authorized recipient. |
handoff_inbox | List handoffs addressed to the current identity. |
handoff_get | Read a handoff and its append-only event history. |
handoff_acknowledge | Accept queued or blocked work. |
handoff_update_status | Mark work blocked/completed, or cancel it while queued. |
send_to and receive_from authorization with no permissive defaultspublic-safe, internal, or restrictedThe package installs one dispatcher binary, agent-handoff-mcp, whose name matches the package so npx @sarutobi-sasuke/agent-handoff-mcp resolves directly once the package is published to npm. (It is not published yet; use a source checkout until then.)
| Command | Purpose |
|---|---|
http | Start the shared Streamable HTTP server. |
stdio | Start a stdio server bound to HANDOFF_AGENT_ID. |
init --registry | Create a starter registry with disabled synthetic identities. |
validate --registry | Validate a registry without reading tokens or the database. |
issue --registry --agent --expires | Issue an expiring token, printed once to stdout. |
rotate ... | Replace an existing token; the old one stops working immediately. |
disable / enable | Toggle an identity across all transports. |
revoke | Remove an identity's token binding. |
token | Generate a token and digest without touching a registry. |
agent-handoff-http, agent-handoff-stdio, agent-handoff-token, and agent-handoff-validate are also installed as direct aliases.
Requirements: Node.js 22.13 or newer.
For a source checkout:
git clone https://github.com/SarutobiSasuke8/agent-handoff-mcp.git
cd agent-handoff-mcp npm ci npm run build cp .env.example .env node dist/src/cli.js init --registry ./config/agents.yaml node dist/src/cli.js issue --registry ./config/agents.yaml --agent example-alpha --expires 2027-01-01T00:00:00Z node dist/src/cli.js issue --registry ./config/agents.yaml --agent example-beta --expires 2027-01-01T00:00:00Z node dist/src/cli.js enable --registry ./config/agents.yaml --agent example-alpha node dist/src/cli.js enable --registry ./config/agents.yaml --agent example-beta node dist/src/cli.js validate --registry ./config/agents.yaml npm run check npm start
Each issue command prints that identity's raw token exactly once; hand it to that client over a secure channel. Only SHA-256 digests are stored. See docs/QUICKSTART.md for complete PowerShell and POSIX clean-room flows.
The default endpoints are:
GET http://127.0.0.1:3220/healthz liveness and policy state
GET http://127.0.0.1:3220/readyz readiness; 503 while the policy is degraded POST http://127.0.0.1:3220/mcp Authorization: Bearer handoff_
The server binds to localhost by default. Put an authenticated private-network or TLS boundary in front of it before any remote deployment.
Each stdio client supplies its identity through its own process environment while sharing the same SQLite database and registry:
{
"command": "node", "args": ["/absolute/path/agent-handoff-mcp/dist/src/cli.js", "stdio"], "env": { "HANDOFF_AGENT_ID": "example-beta", "HANDOFF_MCP_DB": "/absolute/shared/path/handoffs.sqlite", "HANDOFF_MCP_REGISTRY": "/absolute/path/agents.yaml" } }
Use HTTP when multiple clients should connect to one long-running service. Use stdio for local clients that can safely receive a fixed identity through their own configuration. Both transports re-check the registry on every operation, so revocation applies to running stdio sessions too.
Run npm run conformance from a source checkout after npm ci. It validates server.json against the existing pinned Registry schema, starts an isolated loopback server and disposable SQLite registry fixture, checks missing and invalid bearer requests with curl, and runs the official framework plus an Inspector tools/list and read-only handoff_whoami call. It requires curl and network access for the exactly pinned npx tools. No operator registry, existing database, stored login or live service is used.
The asserted spec revision is 2026-07-28, using @modelcontextprotocol/conformance@0.2.0-alpha.12 --requirements 2026-07-28. The current HTTP transport targets 2025-11-25; stateless request handling alone does not establish support for the newer lifecycle. Inspector @modelcontextprotocol/inspector@2.11.0 explicitly uses its legacy protocol era for the application smoke. The upstream framework has no bearer-header flag, so a test-only fetch adapter adds the ephemeral fixture header solely to that loopback endpoint. Production authentication is exercised unchanged.
The check currently exits 1 on the revision gap. Findings and redacted logs go to ignored release-evidence/conformance/ (override with HANDOFF_CONFORMANCE_OUTPUT). Every check runs even when another fails. Failures are never silently baselined or repaired in the runner. See the first-run findings before proposing this as a release gate. This command does not publish or modify CI.
Run npm run test:auth-negative after npm ci in a source checkout. This dependency-free runner uses the existing disposable registry/SQLite harness on 127.0.0.1, with a random port and freshly generated fixture credentials. It accepts no remote endpoint or stored-token override. It runs every probe, prints only names and status codes, writes sanitised results under ignored release-evidence/auth-negative/results.json, and exits 1 if any expected response is missing. It does not change CI. A successful header-authenticated tools/list control guards against a broken fixture.
The numbered cases use RFC 6750 sections 2 and 3.1 for bearer error responses; they are a focused request-shape check, not a claim of full MCP/OAuth conformance.
| Case | Expected response | Observation (first run 22 October, fix 25 October 2026) |
|---|---|---|
| 1: no header | 401 plus Bearer challenge | Pass |
| 2: garbage token | 401 plus error="invalid_token" challenge | Pass |
| 3: expired static token | 401 plus error="invalid_token" challenge | Pass; registry expiry is already supported |
| 5: valid fixture token only in query | 400/401 plus Bearer challenge, never success | Pass: 401 |
6: valid header plus access_token in JSON body | 400 plus OAuth invalid_request | Pass since 25 October: 400 plus invalid_request challenge (was a 400 JSON-RPC rejection) |
| 6: valid header plus form-body token | 400 plus OAuth invalid_request | Pass since 25 October: 400 plus invalid_request challenge (was a 415) |
| 7: wrong scheme, missing space, empty Bearer | 400 invalid_request or 401 plus Bearer challenge | Pass: 401 for all 3 |
Case 6 was a finding on the first run. Since 25 October /mcp rejects any JSON or form body that carries access_token, with or without a header, with HTTP 400 and a Bearer error="invalid_request" challenge, before the token is checked. Form bodies are parsed (16 KB cap) only to find that field; MCP requests must still be JSON. The form probe uses RFC 6750's form-encoded access_token; the JSON probe separately checks the same field on an otherwise valid MCP request.
Cases 4, 8-12 are N/A to this static-token profile today: no JWT audience, issuer, per-token OAuth scope hierarchy or Protected Resource Metadata is implemented. Revisit them with an OAuth resource-server migration; N/A is not evidence of compliance. Unknown tokens still fail even though an issuer claim is not evaluated. Case 3 is not N/A: static registry credentials already have expires_at, and this runner and existing e2e tests exercise expiry. Existing rotation, disabled-token and handoff authorisation tests also remain in place.
For external conformance tooling, the package names are mcp-spec-check and @modelcontextprotocol/conformance; the existing pinned official framework command above is unchanged. This runner installs neither package and adds no dependency. Proposed CI wiring belongs in the PR description until the response findings are resolved.
Set HANDOFF_MCP_METRICS=1 to record in-process counters for handoffs created, accepted (claimed), expired and store errors, plus per-tool call duration histograms. Only the initial queued-to-accepted move counts as a claim. The default is off. When enabled, both HTTP and stdio servers write one JSON snapshot to local stderr at startup, every 60 seconds and on graceful shutdown. For example, HANDOFF_MCP_METRICS=1 agent-handoff-mcp stdio 2>metrics.jsonl captures the running process's snapshots without mixing them with MCP stdout. The snapshot from src/metrics.ts uses an OpenTelemetry OTLP JSON-shaped resourceMetrics/scopeMetrics structure. It has only fixed metric names, counts, timings and a bounded tool-name label; no handoff content, titles, agent text or tokens enter the recorder. No network exporter or public metrics endpoint is installed. The expired counter remains 0 because the current handoff lifecycle has no expiry transition.
The draft MCP Registry manifest launches the npm binary with the stdio argument and requires HANDOFF_AGENT_ID, HANDOFF_MCP_REGISTRY and HANDOFF_MCP_DB from the operator. It creates no identities or credentials. The namespace uses the exact GitHub owner spelling, io.github.SarutobiSasuke8. prepublishOnly includes check:registry; publishing and registry login remain separate operator actions. Builds omit source maps and their JavaScript links.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo