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

Safeagent

作者:azender1バージョン 0.1.22i★ –iパソコンで動く
レジストリ名io.github.azender1/safeagent

インストール

概要

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

Exactly-once execution guard for AI agents. Prevents duplicate payments and webhooks on retry.

PopNx MCPの3つの柱

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

できること

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

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

インストール

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

インストールの前に

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

必要なもの

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

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

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

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

{
  "mcpServers": {
    "safeagent": {
      "command": "uvx",
      "args": [
        "safeagent-exec-guard"
      ]
    }
  }
}

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

claude mcp add safeagent -- uvx safeagent-exec-guard

Cursorで開く

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

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

{
  "mcpServers": {
    "safeagent": {
      "command": "uvx",
      "args": [
        "safeagent-exec-guard"
      ]
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "safeagent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "safeagent-exec-guard"
      ]
    }
  }
}

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

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

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

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

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

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

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

よくある質問

Safeagentは安全ですか?

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

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

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

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Apify MCP Server

代わりの候補

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

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

Remote Desktop Commander

作者:desktop-commander

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

クラウドで動く★ 211昨日更新
インストール

Apify MCP Server

作者:apify

Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

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

SafeAgent — Execution Guard for AI Agents

POST /claim · safeagent-production.up.railway.app Dashboard: safeagent-dashboard-2.vercel.app

# Claim an action — free, no payment header required

curl -s -X POST https://safeagent-production.up.railway.app/claim \ -H "Content-Type: application/json" \ -d '{"request_id":"order:TQQQ:buy:6:2026-05-19T13:31:00-04:00","action":"order"}'

→ {"status":"PROCEED","request_id":"..."}

Settle after the action fires

curl -s -X POST https://safeagent-production.up.railway.app/settle/order:TQQQ:buy:6:2026-05-19T13:31:00-04:00 \ -H "Content-Type: application/json" \ -d '{"result":{"status":"completed"}}'

→ {"status":"committed","request_id":"..."}

Retry with the same request_id — returns SKIP

curl -s -X POST https://safeagent-production.up.railway.app/claim \ -H "Content-Type: application/json" \ -d '{"request_id":"order:TQQQ:buy:6:2026-05-19T13:31:00-04:00","action":"order"}'

→ {"status":"SKIP","request_id":"...","existing":{...}}

Free test endpoint — same logic, limited to 10 calls per IP

curl -s -X POST https://safeagent-production.up.railway.app/claim/test \ -H "Content-Type: application/json" \ -d '{"agent_id":"bot-1","action_type":"order","scope":"TQQQ:buy:bar:2026-05-19T13:31:00-04:00"}'

→ {"status":"PROCEED","request_id":"...","test":true,"calls_remaining":9}

Indexed on Bazaar.

Measured CrewAI retry A/B

A credential-free experiment exercises CrewAI 1.15.21's actual same-process \ToolUsage._use\ retry against SafeAgent 0.1.23. Across 30 post-effect/pre-confirmation trials, the unguarded path recorded two effects per logical action; the SafeAgent path recorded one effect and retained a \PENDING\ claim for reconciliation.

Scope: scripted deterministic LLM and harmless effect recorded through an out-of-process capability-separated ledger. This does not validate process death, fresh-worker recovery, a real external provider, or SafeAgent Control reconciliation.

Method, source, tests, hashes, and 180-trial evidence

SafeAgent Control founding pilots

Two bounded, read-only reconciliation pilots are open for outside operators. There is no fee unless SafeAgent Control identifies a previously unknown, reproducible discrepancy that the operator agrees is actionable.

Scope and outcome-based terms



Mycelium Trails

This implementation is a Mycelium Provider. Each completed action submits a trail to ARGENTUM with a content-addressed action_ref (JCS+SHA-256 over the four preimage fields). The returned mycelium_trail_id is included in every receipt for independent verification.


Verified on Soma

SafeAgent is the first verified external integrator on Soma — the Mycelium agent catalog. Every production execution is anchored on-chain via Mycelium Trails and independently verifiable without going through the operator.


What it does

SafeAgent is a durable execution-claim guard. It suppresses concurrent and repeated attempts that use the same stable request_id, and preserves unresolved attempts for reconciliation instead of silently retrying them.

Every action gets a stable request_id derived from the logical action. A new key returns PROCEED; a settled key returns SKIP with its stored result. A key left PENDING after a timeout or crash remains blocked because local state alone cannot prove whether the provider accepted the action. Recover it only after checking provider evidence or using provider-native idempotency.

State machine: CLAIMABLE → PENDING → COMMITTED; later claims observe PENDING or SKIP.

Common failure modes SafeAgent prevents:

ScenarioWithout SafeAgentWith SafeAgent
Stripe charge times out after acceptanceRetry may charge twiceSame key remains PENDING until provider reconciliation
Welcome email on signup retriedUser gets two welcome emailsSecond send returns SKIP
Webhook delivered twice (Stripe/GitHub/Twilio guarantee at-least-once)Event processed twiceSecond processing returns SKIP
Workspace provisioned on retryTwo workspaces createdSecond provision returns SKIP
AI agent tool call retried after crashDuplicate side effectSame key stays blocked; outcome is explicitly unresolved

Guarantee boundary: SafeAgent proves local claim state, not the external outcome. COMMITTED means the caller settled a receipt. PENDING means unresolved—not failed and not confirmed successful. End-to-end exactly-once effects require provider-native idempotency and/or reconciliation with the provider's authoritative records.


The stack

SafeAgent is the durable claim and duplicate-suppression layer in an agent execution integrity stack:

Polaris (commit-gated authorization)

└── AgentGraph safety verdict (pre-execution safety gate) └── SafeAgent (durable claim guard) ← you are here └── Mycelium Trails (on-chain anchor)

Each layer is independently authored and independently verifiable. None trusts the others.


API

POST /claim

Gate an action. Returns PROCEED on first call, SKIP on any repeat.

Request body:

{

"request_id": "order:TQQQ:buy:6:2026-05-19T13:31:00-04:00", "action": "order" }

  • request_id — stable identifier derived from what the agent is doing. Same inputs = same key.
  • action — the action type being gated (e.g. payment.send, email, trade, order)

Response:

{ "status": "PROCEED", "request_id": "order:TQQQ:buy:6:2026-05-19T13:31:00-04:00" }

Retry with the same payload:

{ "status": "SKIP", "request_id": "order:TQQQ:buy:6:2026-05-19T13:31:00-04:00", "existing": {...} }
POST /settle/{request_id}

Settle a claim after the action fires. Advances status from PENDING to COMMITTED.

curl -s -X POST https://safeagent-production.up.railway.app/settle/order:TQQQ:buy:6:2026-05-19T13:31:00-04:00 \

-H "Content-Type: application/json" \ -d '{"result":{"status":"completed","txid":"abc123"}}'

{ "status": "committed", "request_id": "..." }
POST /claim/test

Free test endpoint — same logic, no payment required. Limited to 10 calls per IP total.

curl -s -X POST https://safeagent-production.up.railway.app/claim/test \

-H "Content-Type: application/json" \ -d '{"agent_id":"bot-1","action_type":"order","scope":"TQQQ:buy:6:bar:2026-05-19T13:31:00-04:00"}'

{ "status": "PROCEED", "request_id": "...", "test": true, "calls_remaining": 9 }
GET /audit

Full claim history. Filter by agent_id, action, status, or timestamp range.

curl "https://safeagent-production.up.railway.app/audit?agent_id=bot-1&status=COMMITTED"
{"items": [...], "total": 5, "limit": 100, "offset": 0}

Parameters: agent_id, action, status, from_ts, to_ts, limit (max 1000), offset.


Integration

Python
import requests

def claim(request_id: str, action: str) -> dict: r = requests.post( "https://safeagent-production.up.railway.app/claim", headers={"Content-Type": "application/json"}, json={"request_id": request_id, "action": action} ) return r.json() # {"status": "PROCEED"|"SKIP", "request_id": "..."}

def settle(request_id: str, result: dict) -> dict: r = requests.post( f"https://safeagent-production.up.railway.app/settle/{request_id}", headers={"Content-Type": "application/json"}, json={"result": result} ) return r.json()

Usage

response = claim("payment:customer-123:invoice-456", "payment.send") if response["status"] == "PROCEED": result = send_payment(...) settle("payment:customer-123:invoice-456", {"status": "completed"}) elif response["status"] == "SKIP": print("Already executed, skipping")

SaaS (Stripe / email / webhooks)

For production Stripe PaymentIntents, use the permit-gated adapter documented in SafeAgent Boundary. It keeps the Stripe credential outside the agent, passes the consumed permit ID to Stripe as the native idempotency key, persists the provider correlation, verifies webhook signatures and supports authoritative read-back. The simple claim/settle snippet below illustrates the generic API only; it is not the provider adapter.

Run the bounded test-mode example in examples/stripe_payment_intent_guard.py. The verification record documents the observed end-to-end result: one successful Stripe sandbox PaymentIntent, an exact replay blocked before provider dispatch, and authoritative reconciliation by retrieve.

import requests

def safe_stripe_charge(customer_id, amount, idempotency_key): request_id = f"stripe:charge:{customer_id}:{idempotency_key}"

response = requests.post( "https://safeagent-production.up.railway.app/claim", headers={"Content-Type": "application/json"}, json={"request_id": request_id, "action": "stripe_charge"} ).json()

if response["status"] == "SKIP": return response.get("existing")

charge = stripe.PaymentIntent.create( amount=amount, currency="usd", customer=customer_id, idempotency_key=request_id, ) requests.post( f"https://safeagent-production.up.railway.app/settle/{request_id}", headers={"Content-Type": "application/json"}, json={"result": {"charge_id": charge.id}} ) return charge

Webhook deduplication — stable event IDs suppress repeated processing after a settled result; unresolved PENDING events stay blocked for investigation:

def handle_stripe_webhook(event):

response = requests.post( "https://safeagent-production.up.railway.app/claim", headers={"Content-Type": "application/json"}, json={"request_id": event["id"], "action": "stripe_event"} ).json()

if response["status"] == "SKIP": return {"ok": True}

provision_subscription(event) requests.post( f"https://safeagent-production.up.railway.app/settle/{event['id']}", headers={"Content-Type": "application/json"}, json={"result": {"processed": True}} )

CrewAI
from crewai import Agent

import sqlite3

guard_con = sqlite3.connect("safeagent_orders.db", check_same_thread=False)

... same guard pattern, keyed on tool_name + input hash + session_id

PR crewAIInc/crewAI#5822 adds pluggable idempotency backends. SafeAgent's SQLite schema is compatible.

WisePick

WisePick is a deterministic routing layer for agent runtimes. The integration splits capability selection from durable, idempotent execution — WisePick answers *what* and *which provider*, SafeAgent answers *whether this logical work already ran*.

Stack:

WisePick /v1/decide → DashClaw → SafeAgent → Mycelium Trails → Ba

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

PopNxに聞く