Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Shared session bus for Claude, Codex, Copilot, Cursor, Gemini, AGY, Grok, and OpenCode.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"magents": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/abnegate/magents:0.14.2"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add magents -- docker run -i --rm ghcr.io/abnegate/magents:0.14.2วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"magents": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/abnegate/magents:0.14.2"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"magents": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/abnegate/magents:0.14.2"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub abnegate ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.14.2) เข้า registry 23 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, sync. labs
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.
Lipsync videos, dub them into other languages, make talking videos and open sync. Studio.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Claude Code, Codex, Copilot, Cursor, Gemini, AGY, Grok, and OpenCode already keep transcripts on disk. magents is the shared API over those sessions - an MCP server plus a small CLI - so one agent can pick up where another left off without you recapping, ping a *specific live chat* when you are not sitting in the middle, or start an independent persisted chat for a complete task.
It is not a second copy of history and not a fire-and-forget council. Existing chats stay the default unit of work; new chats are for independent work that benefits from its own session and working directory.
Install · Plugins · What you can do · Quick start · Tools · CLI · Releases
You already run more than one coding agent. The pain is not "more models" - it is context trapped in another window.
| Pain | What magents does |
|---|---|
| You switched hosts mid-task | Read the live session and continue *here* |
| Agent A hit a wall Agent B owns | Inject into that live chat without you as the messenger |
| A subtask can run alone | Spawn a headless persisted session with a complete prompt + reply path |
1. Handoff without a new thread You were in Claude on the disaster-recovery branch. Now you are in Grok. Ask Grok what they were doing; it reads the live session and continues. No paste buffer. No "new chat, here's the context."
2. Send when you are not the messenger Three agents running. Claude hits a wall Codex owns. Claude injects into that Codex thread and keeps going - especially useful when the sender already has the failing query, file, and constraint you would otherwise reconstruct.
3. Spawn independent work When a task can proceed alone, start a new headless persisted session with a complete prompt, an isolated working directory when files could collide, and a request to reply through magents. Spawned agents keep their host's native approval policy - spawning does not add an approval bypass.
brew install abnegate/tap/magents
magents install --all
curl -fsSL https://abnegate.github.io/apt-repo/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/abnegate.gpg
echo "deb [signed-by=/usr/share/keyrings/abnegate.gpg] https://abnegate.github.io/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/abnegate.list sudo apt update && sudo apt install magents magents install --all
From Releases:
curl -LSsf -o magents \
"https://github.com/abnegate/magents/releases/latest/download/magents-$(uname -m | sed 's/arm64/aarch64/')-$(uname -s | tr 'A-Z' 'a-z' | sed 's/darwin/apple-darwin/;s/linux/unknown-linux-musl/')" chmod +x magents ./magents install --all
Assets: magents-x86_64-unknown-linux-musl, magents-aarch64-unknown-linux-musl, magents-aarch64-apple-darwin, magents-x86_64-apple-darwin.
docker pull ghcr.io/abnegate/magents:latest
docker run --rm --user "$(id -u):$(id -g)" \ -v "$HOME:$HOME" -e HOME \ ghcr.io/abnegate/magents list --live
cargo install magents --locked
magents install --all
cargo install --path .
magents install --all
Host plugins package the magents skill plus an MCP entry that runs magents mcp. Install the CLI first (brew install abnegate/tap/magents), then load the matching folder under plugins/.
| Host | Path |
|---|---|
| Claude Code | plugins/claude |
| Codex | plugins/codex |
| Cursor | plugins/cursor |
| Gemini CLI | repo root (gemini-extension.json) |
| AGY CLI / Antigravity | plugins/agy |
Gemini CLI installs the extension straight from this repository:
gemini extensions install https://github.com/abnegate/magents
AGY CLI installs the plugin from plugins/agy (manifest, MCP, and skills):
agy plugin install https://github.com/abnegate/magents/plugins/agy
Details and marketplace notes: plugins/README.md.
magents install --all registers the stdio MCP server with each installed host, skipping hosts whose required binaries are unavailable:
grok mcp add magents -- magents mcp)claude mcp add --scope user magents -- magents mcp)codex mcp add magents -- magents mcp)~/.cursor/mcp.json)$XDG_CONFIG_HOME/opencode/opencode.json, default ~/.config/opencode)gemini mcp add -s user magents magents mcp)copilot mcp add magents -- magents mcp)agy mcp add magents magents mcp)It also writes the magents and learn skills under supported hosts' skills directories (~/.grok/skills/{magents,learn}, ~/.claude/skills/{magents,learn}, ~/.cursor/skills/{magents,learn}, and the OpenCode / Gemini / AGY / Copilot equivalents). /learn reads every local agent's sessions, not only Grok.
For Grok and Codex only, point a host at the binary yourself:
[mcp_servers.magents]
command = "/path/to/magents" args = ["mcp"]
For Cline, open MCP Servers → Configure MCP Servers and add this to cline_mcp_settings.json:
{
"mcpServers": { "magents": { "command": "magents", "args": ["mcp"] } } }
Restart the agent session (or refresh /mcps) so the tools appear.
Try:
magents list --live
magents digest grok:latest magents handoff grok:latest --reason "continuing in grok"
| Tool | Purpose |
|---|---|
list_sessions | Live and recent sessions; filter by cwd / branch |
get_session | Lookup by id, title, live name, pid, or agent:ref |
read_transcript | Compact inert handoff (last request, last action, recent turns) |
search_transcripts | Full-text search across those transcripts |
search_memories | Phrase search over Claude / Codex / Grok memory markdown |
create_memory | Write a note into Claude / Codex / Grok first-party memory |
spawn_session | Start a new headless persisted session for independent work |
send_message | Deliver a user turn to an existing chat |
handoff | Compact this session and inject it into another live chat |
inbox / ack / await_reply / reply | Mailbox for cross-session replies |
session_digest | Compact last request / action / cwd / branch / clipped turns |
files_touched | Paths another session edited |
stop_session | Stop a magents-supervised spawn or resume |
read_memory | Read one Claude / Codex / Grok memory markdown file |
get_note / put_note | Magents-owned shared scratch for a working directory |
whoami | Detect this connection; resolve session via env, socket, or unique cwd |
learn_collect | Collect compact records from every local agent's full history for /learn, or estimate a run |
learn_state | Read or update /learn state, decisions, and trash |
Refs can be prefixed: claude:disaster recovery, grok:latest, codex: , cursor:latest, opencode: , gemini:latest, agy: , copilot: .
magents list --live
magents list --agent grok --query edge magents get 'claude:disaster recovery' magents read grok:latest -n 20 magents digest grok:latest magents search "dedicated databases" --agent claude magents spawn codex --prompt-file /path/to/task.md --cwd /path/to/isolated-worktree magents send grok:latest "handoff: the DR runbook is in docs/RUNBOOK.md" magents handoff grok:latest --reason "continuing in grok" magents whoami magents learn estimate magents learn collect magents learn plan magents learn collect --since-last magents learn state
Pass --output json on any command for stable machine-readable stdout.
magents with no args on a piped stdin starts the MCP server.
magents spawn reads the complete task from stdin by default (--prompt-file supported). Prompt text is never a process argument.
list_sessions / read_transcript / search_transcripts / search_memories are the handoff. create_memory writes into another harness's first-party memory (Claude, Codex, or Grok).
Choose the write path by where the work should happen:
cwd when edits could collide. Success means launch accepted (accepted: true, status: "starting"), not that the task finished.send_message always appends to the mailbox, then prefers a native live path and otherwise starts a supervised headless resume:
| Surface | Delivery route |
|---|---|
| Claude Desktop | UDS user turn (/tmp/cc-socks/ .sock), then tmux or supervised claude -p --verbose --resume |
| Claude CLI | UDS when available, then tmux or supervised resume |
| Grok | Supervised grok --cwd --resume --output-format streaming-json --prompt-file /dev/stdin |
| Codex Desktop / VS Code | Length-prefixed JSON-RPC on ~/.codex/ipc/ipc.sock, then supervised codex exec ... resume |
| Codex CLI | Supervised codex exec --json -C resume - |
| Cursor | Supervised cursor-agent -p --output-format stream-json --resume --workspace |
| OpenCode | Supervised opencode run --format json --session , started in the session cwd (with PWD set) |
| Gemini CLI | Supervised gemini --resume --output-format stream-json |
| AGY CLI / Antigravity | Supervised agy --input-format stream-json --output-format stream-json --conversation |
| GitHub Copilot CLI | Supervised copilot --resume= --output-format json |
Supervised routes pass the user turn through stdin and do not expose transcript text, tokens, or raw host output in the response. Spawn never adds approval bypasses (--dangerously-skip-permissions, --yolo, --full-auto, etc.).
Session discovery sources: Claude ~/.claude and ~/.claude-* (plus Desktop Claude / Claude-* session dirs), Grok ~/.grok/active_sessions.json, Codex sqlite + rollout JSONL, Cursor agent-transcripts, OpenCode SQLite (opencode.db and channel databases, v1 session and v2 session_v2 / session_message tables), Gemini journals, AGY CLI conversations / brain plus Antigravity desktop conversation_summaries, Copilot session-state. Claude sessions include a profile field when they come from a named home (work for ~/.claude-work). Resume and live inject use that home's CLAUDE_CONFIG_DIR.
cargo test --locked --all-targets
cargo llvm-cov --locked --all-targets --ignore-filename-regex 'src/main.rs|/rustlib/' --fail-under-lines 98
CI runs format, clippy (-D warnings), the full test suite, and a 98% line-coverage gate.
MIT