Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
File-claim coordination for parallel AI coding agents: claim files before edits, no stomping.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"agent-claim": {
"command": "npx",
"args": [
"-y",
"@vk0/agent-claim-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add agent-claim -- npx -y @vk0/agent-claim-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"agent-claim": {
"command": "npx",
"args": [
"-y",
"@vk0/agent-claim-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"agent-claim": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@vk0/agent-claim-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub vk0dev ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.2) เข้า registry 4 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, HotCodePush
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.
Manage over-the-air (OTA) updates for React Native, Expo, Capacitor and Cordova apps.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Languages: English · 日本語 · 简体中文 · Русский · Español
Use Agent Claim MCP when multiple coding agents share one worktree and you need a tiny local coordination primitive before edits, not a full orchestration framework. It gives agents one job: claim paths, detect collisions, and release ownership so parallel work stops stomping the same files.
Agent Claim MCP is a local-first MCP server for Claude Code, Cursor, Cline, and other MCP clients that need file ownership coordination without queues, planners, or custom AGENTS.md conventions. The current release surface centers on three bounded actions only: claim normalized paths, inspect who owns them, and release by path or claim id with explicit conflict reporting across separate sessions.
Release status:
@vk0/agent-claim-mcp@1.0.0is live on npm, so thenpx -y @vk0/agent-claim-mcpinstall path is now the truthful default for external users. Phase 5 external proof may be satisfied by either Official MCP Registry validation or a live Smithery listing, but the current proof state remains pending until one of those public artifacts is explicitly verified. Official MCP Registry validation is still pending, so do not describe the package as registry-accepted or marketplace-listed until a real registry or Smithery proof URL is cited.
Milestone truth: the product wedge stays narrow, 3 tools plus a local JSON ledger for shared-worktree collision prevention, not a broader orchestration platform.
Current next manual step: complete the pending human rerun and verification path for Official MCP Registry proof, then record the verdict from that run instead of assuming acceptance from npm availability.
Current truthful state:
1.0.0 is live25282612113 did not complete the registry validation pathNPM_TOKEN secret-fix step, but the registry proof still needs a human rerun plus verification before it can be treated as acceptedExact rerun command:
gh run rerun 25282612113 --repo vk0dev/agent-claim-mcp
After the rerun, verify in this order:
npm run preflight:registrydocs/official-registry-validation-runbook.mdOperator shortcut: use the runbook's Quick operator path for the exact rerun-to-verification order, and treat npm-live status as separate from registry-proof status.
Choose this server when your workflow already has task routing, but still needs a simple lock-like primitive at edit time:
The canonical external install path is now the published npm package:
{
"mcpServers": { "agent-claim": { "command": "npx", "args": ["-y", "@vk0/agent-claim-mcp"] } } }
Status note: npm install is live today, but Official MCP Registry validation and Smithery/other marketplace proof are still not established, so treat the package as npm-available first rather than marketplace-verified.
If you are developing from a local checkout instead of the published package, you can still point your MCP client at the built dist/server.js directly.
{
"mcpServers": { "agent-claim": { "command": "node", "args": ["/absolute/path/to/agent-claim-mcp/dist/server.js"] } } }
That second example is for local development only. On Windows, point your MCP client at the built dist/server.js path on your own machine instead of copying a POSIX path literally.
Build once before using the local path:
cd /Users/vkdev/projects/agent-claim-mcp
npm ci npm run build
Add the stdio server to your Claude Code MCP config:
{
"mcpServers": { "agent-claim": { "command": "npx", "args": ["-y", "@vk0/agent-claim-mcp"] } } }
Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows:
{
"mcpServers": { "agent-claim": { "command": "npx", "args": ["-y", "@vk0/agent-claim-mcp"] } } }
After saving claude_desktop_config.json, fully restart Claude Desktop so it reloads the MCP server configuration.
{
"mcpServers": { "agent-claim": { "command": "npx", "args": ["-y", "@vk0/agent-claim-mcp"] } } }
{
"mcpServers": { "agent-claim": { "command": "npx", "args": ["-y", "@vk0/agent-claim-mcp"] } } }
This server is intentionally narrow and local-first. Install it when your agents share one filesystem view, not when you need distributed coordination.
cwd for claims to line up.For a real multi-agent run before publishing, see DOGFOOD.md and the proof artifacts in docs/dogfood-report.md.
claim_filesCreate or refresh a local file-claim entry so parallel agents can see ownership before editing and avoid stomping the same worktree paths during active tasks. Conflict responses are explicit, so overlapping claims across separate sessions do not stay implicit or in-memory only.
Input
{
"agentId": "coder-a", "taskId": "task-123", "paths": ["src/foo.ts", "src/bar.ts"], "ttlSeconds": 3600, "note": "working on parser cleanup", "cwd": "/repo" }
Output
{
"ok": true, "claimed": ["/repo/src/bar.ts", "/repo/src/foo.ts"], "conflicts": [], "ledgerVersion": 1, "claimedUntil": "2026-05-03T16:00:00.000Z" }
If any requested path is already claimed by another active owner, the tool returns ok: false and writes nothing.
release_claimRemove an existing claim owned by the current agent so finished, paused, or reassigned work stops blocking other agents from safely editing the same paths.
Input
{
"agentId": "coder-a", "paths": ["src/foo.ts"], "cwd": "/repo" }
Output
{
"ok": true, "released": ["/repo/src/foo.ts"], "missing": [], "ledgerVersion": 1 }
Only the current owner can release an active claim, whether you target it by claimId or by normalized paths, so cleanup works after real multi-agent runs and path-shape variants resolve consistently.
whose_claimRead the local ledger and explain whether a file path is free or currently claimed, including owner, task, note, and expiry metadata for safe coordination across separate sessions sharing the same worktree.
Input
{
"paths": ["src/foo.ts", "src/bar.ts"], "cwd": "/repo", "includeExpired": false }
Output
{
"results": [ { "path": "/repo/src/bar.ts", "claimed": false }, { "path": "/repo/src/foo.ts", "claimed": true, "ownerAgentId": "coder-a", "taskId": "task-123", "note": "working on parser cleanup", "expiresAt": "2026-05-03T16:00:00.000Z", "claimId": "2a08b70c-4203-44a2-b833-31592472de1e" } ], "ledgerVersion": 1 }
foo.ts{
"tool": "claim_files", "arguments": { "agentId": "coder-A", "taskId": "task-42", "paths": ["src/foo.ts"], "note": "refactoring the claim parser", "cwd": "/repo" } }
{
"ok": true, "claimed": ["/repo/src/foo.ts"], "conflicts": [], "ledgerVersion": 1, "claimedUntil": "2026-05-03T16:00:00.000Z" }
{
"tool": "claim_files", "arguments": { "agentId": "coder-B", "paths": ["src/foo.ts", "src/new.ts"], "cwd": "/repo" } }
{
"ok": false, "claimed": [], "conflicts": [ { "path": "/repo/src/foo.ts", "ownerAgentId": "coder-A", "expiresAt": "2026-05-03T16:00:00.000Z" } ], "ledgerVersion": 1, "claimedUntil": "2026-05-03T16:00:00.000Z" }
{
"tool": "release_claim", "arguments": { "agentId": "coder-A", "paths": ["src/foo.ts"], "cwd": "/repo" } }
{
"ok": true, "released": ["/repo/src/foo.ts"], "missing": [], "ledgerVersion": 1 }
claim_files returns ok: falseThis means at least one requested path is already claimed by another active owner, so nothing new was written. Check the conflicts array for the exact overlapping normalized paths and the current ownerAgentId, then inspect the same paths with whose_claim before retrying.
{
"tool": "whose_claim", "arguments": { "paths": ["src/foo.ts", "src/new.ts"], "cwd": "/repo" } }
If one path collides, a mixed request is still all-or-nothing. Split the work or wait for the current owner to release the conflicting path.
release_claim with a claim id returns missing: ["..."]That claim id was not active in the local ledger at release time. It may already be released, expired, or never existed on this machine. This is not treated as a partial success.
release_claim with paths returns released: []If ok is still true but released is empty, the requested normalized paths did not match any active claim owned by the caller. The missing array tells you which normalized paths were not matched.
Use whose_claim first when you are unsure whether the path is free, owned by another agent, or already gone from the ledger.
Only the current owner can release an active claim. If another agent still owns the path, inspect it with whose_claim, coordinate with that owner, or wait for the TTL to expire.
| Tool | Best at | Where Agent Claim MCP is different |
|---|---|---|
| Agent Claim MCP | One narrow coordination primitive for shared worktrees | It only answers: who owns this path, can I claim it, and can I release it? |
| madebyaris/agent-orchestration | Broader orchestration patterns, rules, routing, queues, and AGENTS.md-style coordination | Agent Claim MCP does much less on purpose. It does not bundle queueing, planner behavior, or repo policy. It is the smallest local primitive you can compose into another workflow. |
Choose Agent Claim MCP when you already have your own tasking layer and only need path ownership coordination.
Choose a broader orchestration project when you want one package to define agent rules, work queues, coordination policy, and higher-level execution flow.
##
ตัดมาแค่ช่วงต้น อ่านต่อใน repo