Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Safety-first MCP server for ROS 2 robot arms: server-side safety envelope, human approval, audit
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"armguard": {
"command": "uvx",
"args": [
"armguard-mcp",
"--backend",
"fake"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add armguard -- uvx armguard-mcp --backend fakeวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"armguard": {
"command": "uvx",
"args": [
"armguard-mcp",
"--backend",
"fake"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"armguard": {
"type": "stdio",
"command": "uvx",
"args": [
"armguard-mcp",
"--backend",
"fake"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Lynn-hh ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 14 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Tethered Trust
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.
Fit, compatibility and recall checks for AI agents before they buy: verdicts, evidence, receipts.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A safety-first [Model Context Protocol](https://modelcontextprotocol.io) server for ROS 2 manipulators. It lets an LLM agent inspect a robot arm, plan motions, preview them and execute them. Every action passes through a safety envelope that the server enforces outside the model: joint limits, a workspace box and keep-out zones, speed and step-size caps, force/torque thresholds, allowlists, rate limits, a software e-stop, human approval through MCP elicitation, and an audit log. A prompt, or a prompt injection hidden in a camera image or topic string, can change what the model *asks for*. It cannot change what the server *allows*.
Status: alpha. The policy engine, safety envelope, approval flow, audit log and all 22 MCP tools run
against a simulated Franka FR3 backend. The ROS 2 backend (MoveIt 2,
ros2_control,franka_ros2) is
tested on ROS 2 Jazzy against real rclpy endpoints and a real MoveIt 2
move_group. It has not
been run on a physical robot yet.
This is defense in depth, NOT certified functional safety. See
Safety scope and non-goals.
Real output of scripts/demo_fake.py against the simulated FR3, abridged ( full transcript ).
No ROS, no clone. The package ships the FR3 demo policy, so the simulated arm starts with one command:
uvx armguard-mcp # or: pip install armguard-mcp && armguard-mcp
Point your MCP client at it and ask it to move the arm. Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json):
{
"mcpServers": { "armguard": { "command": "uvx", "args": ["armguard-mcp"] } } }
Claude Code:
claude mcp add armguard -- uvx armguard-mcp
Then try, in order: *"Where is the arm?"*, *"Move the gripper 10 cm up"* (runs), *"Rotate joint 1 by 50 degrees"* (asks you to approve), *"Move to x=0.62, y=0.42, z=0.30"* (refused: that is inside the camera_mount keep-out zone). Every decision lands in the audit log; --audit-log audit.jsonl keeps it. The bundled policy is for the simulated robot only: --backend ros2 always requires your own --policy.
More detail: docs/architecture.md, docs/threat-model.md, docs/demo.md (a real transcript), CONTRIBUTING.md.
Generic bridges such as robotmcp/ros-mcp-server do an excellent job of what they aim for: they connect any MCP client to any ROS 1 or ROS 2 robot through rosbridge, with no changes to the robot's code. The LLM can publish to topics, call services and actions, and set parameters. That generality is the point, and it also means the model can reach anything the ROS graph exposes. Their open issue #283 ("Security: Unrestricted ROS service calls via MCP tool — prompt injection → robot control") describes the resulting risk, and the project's README lists permissions among the contributions it welcomes.
armguard-mcp makes the opposite trade-off. It is narrow, specific to manipulators, and restrictive by design:
| Generic ROS MCP bridge | armguard-mcp | |
|---|---|---|
| Scope | Any topic, service, action or parameter | 22 fixed skill-level tools for arms and grippers |
| What the LLM sends | Raw ROS messages | Targets (joint positions, poses, waypoints) that the server plans and checks |
| Motion model | Publish or call directly | plan_* returns a preview and a single-use plan_id, and only execute_plan moves |
| Limits | Whatever the robot stack enforces | Server-side YAML policy: joint limits, workspace, keep-out zones, speed, step size, force, gripper |
| Human in the loop | None built in | MCP elicitation prompt, denied by default when the client cannot ask a human |
| Arbitrary publish or service calls | Yes | No, by construction |
| Audit | None built in | Append-only JSONL of every call, approval, denial and e-stop |
| Robot coverage | Very broad (ROS 1 and ROS 2, any robot) | Manipulators; Franka FR3 first |
If you want to explore a robot freely from a chat window, use a generic bridge. If you want an agent near a real arm with limits it cannot talk its way around, that is what this project is for.
flowchart LR
subgraph Client["MCP client (untrusted)"] LLM["LLM agent (Claude, GPT, …)"] Human(["Human operator"]) end
subgraph Server["armguard-mcp (trusted, enforces policy)"] direction TB Tools["22 MCP tools only enabled groups are registered"] RL["Rate limiter per-tool + global token buckets"] ES["E-stop / force latch"] Env["Safety envelope joint limits · workspace box · keep-out zones speed · step size · force"] Ap["Approval resolver (MCP elicitation)"] Plans["Plan store TTL · single-use · staleness"] Audit[("Audit log JSONL")] Tools --> RL --> ES --> Env --> Ap Env <--> Plans Tools -.-> Audit end
subgraph Backend["Robot backend"] Fake["fake FR3 (kinematic sim, CI)"] ROS["ROS 2 (rclpy) MoveIt 2 · ros2_control · franka_ros2"] end
Robot["FR3 + Franka safety system 1 kHz control stays here"]
LLM <-->|"MCP: stdio or streamable HTTP"| Tools Ap <-.->|"elicitation/create"| Human Ap --> Backend ROS --> Robot
The LLM is never in the control loop. MCP works at the level of skills and tasks: plan, preview, execute, grasp. Real-time control, such as 1 kHz impedance and force control, stays in ros2_control and the Franka controllers. The server checks a whole trajectory before it runs and watches the external wrench while it runs.
From PyPI, no clone needed (the bundled FR3 policy is used when --policy is omitted):
pip install armguard-mcp # or run it without installing: uvx armguard-mcp ...
armguard-mcp --audit-log audit.jsonl # simulated FR3, bundled policy armguard-mcp --policy my_policy.yaml # your own policy (required for --backend ros2)
From source, for the tests, the demo and the evaluation scripts:
git clone https://github.com/Lynn-hh/armguard-mcp && cd armguard-mcp
python -m venv .venv && . .venv/bin/activate pip install -e ".[dev]" pytest -q # unit tests, a few seconds (no ROS needed)
armguard-mcp --policy examples/policies/fr3.yaml --backend fake --audit-log audit.jsonl
armguard-mcp --policy examples/policies/fr3.yaml --backend fake --transport http --port 8765
python scripts/demo_fake.py
python scripts/eval_safety.py
python scripts/eval_agent_redteam.py
armguard-mcp --help lists every flag: --policy (required), --backend fake|ros2, --ros2-config, --transport stdio|http, --host (default 127.0.0.1), --port (default 8765), --audit-log, --dry-run (forces dry-run on top of the policy), --log-level, --version. Logs go to stderr only, so stdout carries nothing but MCP messages. A policy that fails validation, a backend that is not available, or an audit log that cannot be opened exits with status 2 before the server starts. Binding HTTP to a non-loopback address logs a warning. SIGTERM (docker stop, systemd, MCP hosts) is handled like Ctrl-C and end of input: the server commands a stop of the arm and gripper, then shuts the backend down.
The fake backend is a kinematic FR3 with real FR3 forward and inverse kinematics, time-scaled execution, a Franka Hand model, generated camera images and a fake ros2_control graph. It starts at the policy's home_joint_positions.
.mcp.json, stdio)Copy examples/mcp.json to .mcp.json at your project root, or run claude mcp add with the same command and arguments. Use absolute paths.
{
"mcpServers": { "armguard": { "type": "stdio", "command": "/abs/path/to/armguard-mcp/.venv/bin/armguard-mcp", "args": [ "--policy", "/abs/path/to/armguard-mcp/examples/policies/fr3.yaml", "--backend", "fake", "--audit-log", "/abs/path/to/armguard-mcp/audit.jsonl" ] } } }
Start with --dry-run or [`
ตัดมาแค่ช่วงต้น อ่านต่อใน repo