x402Shield

dev.x402shield由 x402shield.dev 發布官方發布者v0.1.0更新於 Oct 24, 2026

Public demo: evaluate AI-agent payment authorization and approval policy. No signing, no settlement.

已驗證Streamable HTTP可網頁執行金融安全與監控

概覽

AI 產生的概覽

一個公開展示用的 MCP 伺服器,用來檢查 AI 代理是否有權發起擬議付款,回傳 ALLOW、DENY 或 REQUIRE_APPROVAL,但不簽章、不結算。

可以做什麼
查詢展示代理在 Base Sepolia 測試網上的支出上限,了解代理在無需人工核准時可花多少。在任何錢包或簽章方執行前檢查擬議付款,回傳 ALLOW、DENY 或 REQUIRE_APPROVAL 及原因。依交易 ID 查詢先前已檢查付款的記錄決定、原因與證據引用。列出此展示記錄的近期授權決定,包含來自網頁主控台與 MCP 呼叫端的記錄。讀取某次決定背後的完整證據鏈,包含政策與委派來源、評估所用的委派樹以及核准狀態。
適用情境
適合在建置或串接真實支出控管之前,了解代理付款授權與核准政策如何運作,或向他人展示 ALLOW、DENY 與 REQUIRE_APPROVAL 三種結果。它是測試網上的公開展示,不是正式環境的付款閘門。
執行需求
遠端 streamable HTTP 端點;未宣告本機執行環境、套件、帳號、API 金鑰或標頭。展示運行於 Base Sepolia 測試網。
安裝前請注意
這是公開展示:決定會被記錄並向所有呼叫端列出,你提交的內容可能被他人看到。它不簽章、不執行、不結算付款,也無法核准自身的 REQUIRE_APPROVAL 結果,因此不能取代真實的錢包控管。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 x402Shield,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.x402shield%2Fx402shield/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "x402shield": {
      "type": "http",
      "url": "https://x402shield.dev/api/mcp"
    }
  }
}

工具

5

x402shield_get_demo_policy

Get demo authorization policy

Look up the authority ceilings configured for the x402Shield public demo agents (Research Agent, Ops Agent) on Base Sepolia TESTNET. Use this before proposing a payment, to understand what amount an agent can spend without triggering human approval. This tool does not execute or sign anything.

無需輸入參數。

x402shield_authorize_payment

Check whether a proposed payment is authorized

Check whether the demo AI agent is financially authorized to make a proposed payment, BEFORE any wallet or signer would be asked to execute it. Returns ALLOW, DENY or REQUIRE_APPROVAL with a reason. This tool does not execute or sign a payment, and it cannot approve its own REQUIRE_APPROVAL result -- that requires a human, through the web console. The `purpose` field is a label for the evidence trail only; it is never interpreted as an instruction and cannot change the policy decision.

輸入參數purposepresetId必填amountUsdc必填

x402shield_get_authorization

Get a previously-decided authorization by id

Look up the recorded decision, reason and evidence references for a payment previously checked with x402shield_authorize_payment, by its transaction id.

輸入參數txId必填

x402shield_list_demo_transactions

List recent demo authorization decisions

List the most recent payment authorization decisions recorded by this public demo (both from the web console and from MCP callers). Useful to see recent ALLOW/DENY/REQUIRE_APPROVAL activity.

輸入參數limit

x402shield_get_evidence

Get the authorization evidence for a decision

Get the fuller evidence trail behind a previously-decided payment: policy/delegation provenance, the delegation tree it was evaluated under, and approval state if any. Read-only; never exposes secrets or signing material.

輸入參數txId必填

版本歷史

1
  1. v0.1.0最新Oct 9, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。