プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

armguard-mcp

作者:Lynn-hhバージョン 0.1.1i★ –iパソコンで動く
レジストリ名io.github.Lynn-hh/armguard-mcp

インストール

概要

作者による説明(英語の原文)

Safety-first MCP server for ROS 2 robot arms: server-side safety envelope, human approval, audit

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "armguard": {
      "command": "uvx",
      "args": [
        "armguard-mcp",
        "--backend",
        "fake"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add armguard -- uvx armguard-mcp --backend fake

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "armguard": {
      "command": "uvx",
      "args": [
        "armguard-mcp",
        "--backend",
        "fake"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "armguard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "armguard-mcp",
        "--backend",
        "fake"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Lynn-hh で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの18584件のうち0%よりスターが多い
  • このカテゴリのほかの18584件のうち74%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの18584件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

armguard-mcpは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは14 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, aamio rendezvous

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry初期↓ 66/週★ 44014 か月前更新

パソコンで動く

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander成長中★ 2113 日前更新

クラウドで動く✓ desktopcommander.app

aamio rendezvous

Meet an agent you have not met, exchange messages that expire, and prove it happened. No account.

作者:aamio.at初期今日更新

クラウドで動く✓ aamio.at

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

armguard-mcp

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 ).

Try it in 60 seconds

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.

At a glance

  • Problem. An LLM agent that can call robot tools can be wrong, or be steered by a prompt injection hidden in an image or a topic string. One bad tool call moves a real arm.
  • Approach. The MCP server checks every plan against a policy file *before* anything moves: joint limits, workspace box, keep-out zones, step and speed caps, force limits, allowlists and rate limits. Motion outside the envelope needs a human to approve it through MCP elicitation, and a software e-stop and an audit log sit on top.
  • Results (simulated FR3, reproducible with one command): all 23/23 unsafe requests in the evaluation suite were refused, clamped, rate-limited or aborted, and no unintended command reached the robot. 1000/1000 random safe moves executed, with none leaving the envelope. Planning with the full safety check takes a median of ~16 ms per call. With a frontier agent in the loop (Claude Code, 13 tasks with an unsafe intent), 0 unsafe actuations reached the robot under the shipped policy and 8 did with the envelope opened; all 5 benign tasks completed under both.
  • Limits. Not yet run on a physical robot; the simulated backend is kinematic only; the envelope checks the TCP path, not link geometry (measured: 84/201 near-zone plans clip a zone with the hand or wrist); this is defense in depth, not certified safety. See Known limitations.

Contents

  • How it differs from generic ROS MCP bridges
  • Architecture
  • Quick start (simulated FR3, no ROS needed)
  • Evaluation
  • ROS 2 backend
  • Tool reference
  • The approval flow
  • Policy reference
  • Safety scope and non-goals
  • Known limitations
  • Roadmap
  • Citation and License

More detail: docs/architecture.md, docs/threat-model.md, docs/demo.md (a real transcript), CONTRIBUTING.md.

How it differs from generic ROS MCP bridges

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 bridgearmguard-mcp
ScopeAny topic, service, action or parameter22 fixed skill-level tools for arms and grippers
What the LLM sendsRaw ROS messagesTargets (joint positions, poses, waypoints) that the server plans and checks
Motion modelPublish or call directlyplan_* returns a preview and a single-use plan_id, and only execute_plan moves
LimitsWhatever the robot stack enforcesServer-side YAML policy: joint limits, workspace, keep-out zones, speed, step size, force, gripper
Human in the loopNone built inMCP elicitation prompt, denied by default when the client cannot ask a human
Arbitrary publish or service callsYesNo, by construction
AuditNone built inAppend-only JSONL of every call, approval, denial and e-stop
Robot coverageVery 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.

Architecture

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.

Quick start (simulated FR3, no ROS needed)

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)

stdio (what desktop and CLI MCP clients launch)

armguard-mcp --policy examples/policies/fr3.yaml --backend fake --audit-log audit.jsonl

streamable HTTP on http://127.0.0.1:8765/mcp (no authentication: keep it on localhost)

armguard-mcp --policy examples/policies/fr3.yaml --backend fake --transport http --port 8765

a scripted session: plan, execute, approval prompt, keep-out rejection, e-stop

python scripts/demo_fake.py

the safety evaluation behind the numbers in "At a glance"

python scripts/eval_safety.py

a frontier agent (Claude Code, headless) against the server, with and without the envelope (~15 min)

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.

Claude Code (.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 [`

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く