Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
SSH terminals for AI agents: stateful shells, exit codes the moment a command ends, router CLIs.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SSH_SERVERS_CONFIG, SSH_MCP_CACHE_DIR, SSH_READ_ONLY, SSH_COMMAND_BLACKLISTต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
],
"env": {
"SSH_SERVERS_CONFIG": "ใส่ค่าของคุณ",
"SSH_MCP_CACHE_DIR": "ใส่ค่าของคุณ",
"SSH_READ_ONLY": "ใส่ค่าของคุณ",
"SSH_COMMAND_BLACKLIST": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add ssh-gateway --env SSH_SERVERS_CONFIG='ใส่ค่าของคุณ' --env SSH_MCP_CACHE_DIR='ใส่ค่าของคุณ' --env SSH_READ_ONLY='ใส่ค่าของคุณ' --env SSH_COMMAND_BLACKLIST='ใส่ค่าของคุณ' -- uvx mcp-ssh-gatewayเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
],
"env": {
"SSH_SERVERS_CONFIG": "ใส่ค่าของคุณ",
"SSH_MCP_CACHE_DIR": "ใส่ค่าของคุณ",
"SSH_READ_ONLY": "ใส่ค่าของคุณ",
"SSH_COMMAND_BLACKLIST": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"ssh-gateway": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-ssh-gateway"
],
"env": {
"SSH_SERVERS_CONFIG": "ใส่ค่าของคุณ",
"SSH_MCP_CACHE_DIR": "ใส่ค่าของคุณ",
"SSH_READ_ONLY": "ใส่ค่าของคุณ",
"SSH_COMMAND_BLACKLIST": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SSH_SERVERS_CONFIG envSSH_MCP_CACHE_DIR envSSH_READ_ONLY envSSH_COMMAND_BLACKLIST envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub d00mus ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (7.0.0) เข้า registry 39 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, MCP Server Autocad Lisp Helper
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.
High-precision static analysis and debug server for AutoCAD AutoLISP (.lsp) files.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
SSH terminals for AI agents that know when a command is done.
Six tools, real shells that keep their state, the exit code the moment a command ends, and answers a small model can act on. One direct dependency (paramiko), no daemon, nothing in the cloud.
English · Русский
echo hi returns in milliseconds, a failing command says exit_code: 2, and a three-minute build answers running after 10 seconds and is collected with read. No sleeps, no guessing from silence.cd, variables and virtualenvs stay between calls. run without a session_id opens a new shell, so nothing is shared by accident.hint), pagers are off, a progress bar is one line, a wrong argument gets an answer that names the right call, and long output comes in pages (has_more, tail, offset).Continue? [y/N], a password prompt or an unclosed quote returns waiting_input. The agent answers with signal or presses Ctrl+C, and the shell keeps its state.show interface, --More-- handled) or its Linux shell, through the same tools.You need uv (or Python 3.11+ and pip) and SSH access to a host you control.
Already have `~/.ssh/config`? Add this to your MCP client, and every host in that file becomes a server (key or agent login):
{
"mcpServers": { "ssh": { "command": "uvx", "args": ["mcp-ssh-gateway", "--import-ssh-config"] } } }
This is the format of Cursor (~/.cursor/mcp.json) and Claude Desktop (claude_desktop_config.json); other clients are below. Restart the client and ask: *"List my SSH servers and show the disk usage on web."*
Want a password login, a router or a read-only host? Write a servers.json:
{
"servers": { "web": {"host": "192.168.1.10", "user": "deploy", "key_path": "~/.ssh/id_ed25519"}, "router": {"host": "192.168.1.1", "user": "admin", "password": "${ROUTER_PASSWORD}"} } }
and point the gateway at it with "args": ["mcp-ssh-gateway", "--servers-config", "/absolute/path/to/servers.json"]. Use an absolute path (clients do not start in your folder; on Windows escape backslashes in JSON) and give the gateway the variables it refers to in the client's "env" block. servers.json.example also shows a read-only production host. Without uv: pip install mcp-ssh-gateway and "command": "mcp-ssh-gateway".
Claude Code
claude mcp add ssh --scope user -- uvx mcp-ssh-gateway --import-ssh-config
VS Code (.vscode/mcp.json: the top key is servers)
{
"servers": { "ssh": {"type": "stdio", "command": "uvx", "args": ["mcp-ssh-gateway", "--import-ssh-config"]} } }
Codex (~/.codex/config.toml, or codex mcp add ssh -- uvx mcp-ssh-gateway --import-ssh-config)
[mcp_servers.ssh]
command = "uvx" args = ["mcp-ssh-gateway", "--import-ssh-config"] startup_timeout_sec = 30 # the first uvx run downloads the package
The gateway is also listed in the official MCP Registry as io.github.d00mus/mcp-ssh-gateway, for the clients and directories that read it.
Answers as a client receives them, captured from the test suite's Debian container (the host address and the disk figures are replaced with example values):
server_list()
→ {"servers":[{"server":"web","host":"192.168.1.10:22","user":"deploy"}]}
run(server="web", command="df -h /") # no session_id: a new shell is opened → {"session_id":"web/1","status":"completed","exit_code":0, "output":"$ df -h /\nFilesystem Size Used Avail Use% Mounted on\n/dev/vda1 40G 31G 7.2G 82% /\n"}
run(session_id="web/1", command="ls /nonexistent") # the same shell; a non-zero code is a result → {"session_id":"web/1","status":"completed","exit_code":2, "output":"$ ls /nonexistent\nls: cannot access '/nonexistent': No such file or directory\n"}
run(session_id="web/1", command="read -p 'Continue? [y/N] ' a; echo got:$a") → {"session_id":"web/1","status":"waiting_input", "output":"$ read -p 'Continue? [y/N] ' a; echo got:$a\nContinue? [y/N] ", "hint":"The program waits for input. Answer with signal action=stdin text=..., or stop it with signal ctrl_c."}
signal(session_id="web/1", action="stdin", text="y") → {"session_id":"web/1","status":"completed","output":"got:y\n","exit_code":0}
run(session_id="web/1", command="seq 1 500", lines=5) # long output comes in pages → {"session_id":"web/1","status":"completed","output":"$ seq 1 500\n1\n2\n3\n4\n","exit_code":0,"has_more":496}
read(session_id="web/1", tail=3) # just the end → {"session_id":"web/1","status":"completed","output":"498\n499\n500\n","exit_code":0,"skipped_lines":493}
read(session_id="web/1", offset=-20, lines=3) # scroll back; the unread position stays put → {"session_id":"web/1","status":"completed","output":"481\n482\n483\n","exit_code":0}
run(session_id="web/1", command="sleep 30", wait=1) → {"session_id":"web/1","status":"running","output":"$ sleep 30\n", "hint":"Still running. Call read(session_id='web/1') again, or stop it with signal ctrl_c."}
signal(session_id="web/1", action="ctrl_c") → {"session_id":"web/1","status":"interrupted","output":"\n","process_stopped":true}
A mistake gets an answer that names the right call. This is what a model that invents a cwd argument for run reads back:
{"error": "run has no argument 'cwd'. It takes: command, server, session_id, shell, wait, timeout, lines. To work in a folder, start the command with 'cd /path && '."}
| Field | Meaning |
|---|---|
status | completed, running, waiting_input, interrupted, timed_out, failed or idle. |
exit_code | Only with completed. Non-zero is a result, not a tool error. |
has_more | Unread lines left in the session; read returns them. |
hint | What to do next, whenever the agent would otherwise have to guess. |
skipped_lines | Older unread lines that a new command or read(tail=…) passed over. Nothing is lost: read(offset=0) scrolls back to them. |
dropped_data | Unread output that is gone for good: the session buffer (the last 4 million characters are kept) overflowed. |
| Tool | What it does |
|---|---|
server_list | The servers and their open sessions. |
run | Runs a command. Returns when it ends, or after wait seconds (default 10) with running. Without session_id it opens a new shell. |
read | The next unread lines of a session (waits up to wait for a running command); tail for the end, offset to scroll back. |
signal | stdin answers a question, ctrl_c stops the command, ctrl_d ends its input. |
session_close | Closes a shell. A server allows only a few (max_sessions, default 8). |
file | list, read, write and edit remote files over SFTP, or through the shell when the host has no SFTP. Reads can filter (contains, tail_lines); an edit is an exact-text replacement that can be guarded with expected_sha256. |
server_add | Only with --allow-add-server: adds a server to servers.json. |
Sessions are named server/N. A shell has state (folder, variables), so there is no default one: run without session_id always opens a new shell and returns its id, and that id continues the same shell. Close the shells you are done with.
| Host | Status |
|---|---|
| Linux with bash, dash, BusyBox ash or zsh as the login shell | Works. Tested against real sshd containers (Debian, Alpine, zsh and dash logins). |
| fish or tcsh login shell | Works with "shell": "bash" in servers.json (the gateway runs exec bash after login). Without it the gateway refuses at once and says so. |
| Keenetic router (NDM CLI, and the Linux shell behind it) | Works. Covered by a scripted fake in the tests and used every day on a real router. |
| Other router CLIs (Cisco IOS, Junos, …) | Not yet: #1. A plain vendor CLI may work but is untested. |
Hosts behind a bastion (ProxyJump) | Not yet: #2. --import-ssh-config ignores ProxyJump. |
| Windows hosts whose SSH shell is cmd or PowerShell | Not supported: the gateway needs a POSIX shell. |
The gateway itself runs wherever Python 3.11+ runs (Linux, macOS, Windows).
The agent has the reach of the SSH account you give it. What follows narrows the damage from mistakes; it does not replace a restricted account.
read_only and command_blacklist (literal words, case-insensitive) look at the command text. Shell tricks, base64 or python -c get around them. For a real boundary use a restricted SSH account: a read-only shell, ForceCommand, separate credentials per trust level.local_path (upload, download) works only after you start the gateway with --project-root , and then only inside that folder.known_hosts in the cache directory; a changed key is refused. verify_host: false turns the check off.${NAME} references in servers.json instead of the values. Logs mask password-like values (--log-output off writes no logs).server_add does not exist unless you start it with --allow-add-server, and it only appends.The full policy and how to report a problem: SECURITY.md.
servers.json fields: host, user, port (22), key_path (~ and ${NAME} work), password and key_passphrase (only ${NAME} references are replaced, the rest is used as written), verify_host (true), description, extra_path (added to PATH), read_only, command_blacklist, max_sessions (8), shell (a POSIX shell to exec after login, for fish or tcsh accounts). The file is re-read while the gateway runs; unchanged servers keep their sessions.
Command line (none is required except a source of servers):
| Option | Meaning |
|---|---|
--servers-config | Path to servers.json, or the JSON itself. Also $SSH_SERVERS_CONFIG; falls back to ./servers.json. |
--import-ssh-config | Also offer the hosts of ~/.ssh/config (key or agent login). |
| --read-only, --command-blacklist a,b | Guardrails for every server (or $SSH_READ_ONLY,
ตัดมาแค่ช่วงต้น อ่านต่อใน repo