Pathguard

org.cieltech.pathguard由 pathguard.cieltech.org 發布v1.0.0更新於 Oct 24, 2026

Crypto transaction safety tool — screens addresses and transactions for scam risk.

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

概覽

AI 產生的概覽

PathGuard 是遠端 MCP 伺服器,讓 AI 助理在對話中檢查加密貨幣地址與交易是否有詐騙風險。

可以做什麼
檢查單筆加密貨幣收款地址與金額的風險訊號,並執行送出前的完整檢查,回傳允許、需複查或封鎖的結論。批次檢查最多 1,000 筆交易,可取得精簡摘要或完整結果。依使用者明確要求回報可疑詐騙地址。查詢所連結帳號的方案與每月掃描用量,並辨識目前 OAuth 連線對應的 PathGuard 帳號。
適用情境
適合在送出加密貨幣交易前先做風險檢查,或想讓 AI 助理在對話中快速篩查收款地址與批次交易時使用。若只需要事後查詢用量或回報可疑地址,也可加入。
執行需求
遠端端點以 OAuth 連結既有的 PathGuard 帳號,需先建立帳號與 API 金鑰。本機 stdio 使用需 Python 3.10 以上、mcp 2.0 以上,並從公開儲存庫安裝,且以環境變數 PATHGUARD_API_KEY 提供金鑰。需網路連線。
安裝前請注意
需提供 PathGuard API 金鑰,遠端連線會經 OAuth 驗證既有金鑰,金鑰應保持私密、勿提交至版本控制或放在瀏覽器端。工具僅供分析,不會簽署、廣播或轉移資金,也不要求私鑰或助記詞;但回報詐騙地址會寫入資料,且交易資料會送至 PathGuard 服務。封鎖結果僅為安全訊號,最終授權與執行仍由錢包或應用負責。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "pathguard": {
      "type": "http",
      "url": "https://pathguard-v2.up.railway.app/mcp"
    }
  }
}

README

pathguard-mcp

PathGuard MCP lets MCP-compatible AI agents check crypto transactions for scams and mistakes directly in conversation. It supports local MCP clients such as Claude Desktop, Claude Code, Gemini CLI, Grok CLI, Cursor, and Codex, plus remote Streamable HTTP deployments.

[MCP Registry]

Listed on the official MCP Registry as org.cieltech.pathguard/pathguard.

The production MCP server is a thin, authenticated interface to PathGuard's transaction-safety API. PathGuard analyzes transactions before a send; it does not sign, broadcast, or transfer funds.

Production MCP

Remote Streamable HTTP endpoint:

https://pathguard-v2.up.railway.app/mcp/

Remote clients use OAuth to connect an existing PathGuard account. During authorization, PathGuard verifies the user's existing API key. The API key is not exposed to the AI client or returned through MCP.

For local/stdio use, the API key is supplied to the local server process through PATHGUARD_API_KEY.

Install

The package is currently installed directly from this public repository and is not published to PyPI yet.

bash
git clone https://github.com/Utee/pathguard-mcp.gitcd pathguard-mcppython -m pip install .

For development, use an editable install:

bash
python -m pip install -e .

Requires Python 3.10+ and mcp >= 2.0.

Get an API key

Create a PathGuard account and API key from the PathGuard API documentation.

Keep your API key private. Do not commit it to GitHub or expose it in browser-side code.

Local MCP clients

For local clients, the server uses stdio and authenticates to the PathGuard API with PATHGUARD_API_KEY.

Claude Desktop

Add this to your Claude Desktop config:

json
{  "mcpServers": {    "pathguard": {      "command": "pathguard-mcp",      "env": {        "PATHGUARD_API_KEY": "pg_your_key_here"      }    }  }}

Claude Code

bash
claude mcp add --transport stdio pathguard -- pathguard-mcp

Set PATHGUARD_API_KEY in the environment that starts Claude Code.

Gemini CLI

json
{  "mcpServers": {    "pathguard": {      "command": "pathguard-mcp",      "env": {        "PATHGUARD_API_KEY": "pg_your_key_here"      }    }  }}

Grok CLI

bash
export PATHGUARD_API_KEY=pg_your_key_heregrok mcp add pathguard -- pathguard-mcp

Codex, Cursor, VS Code, and other local MCP clients

Use the same stdio server definition as the Claude Desktop example. The exact configuration location varies by client.

Remote clients

For remote clients, use the production OAuth-protected Streamable HTTP endpoint shown above. Never put a PathGuard API key in browser-side configuration.

ChatGPT

In a ChatGPT workspace with Developer Mode enabled, create a custom MCP app and provide:

text
https://pathguard-v2.up.railway.app/mcp/

Choose OAuth authentication. ChatGPT will use the PathGuard authorization flow to connect an existing PathGuard account.

The authorization flow verifies the user's PathGuard API key, then issues OAuth credentials for the MCP connection. The raw PathGuard API key is not returned to ChatGPT.

Available tools

ToolWhat it does
check_transactionInspect one crypto destination and optional amount for PathGuard risk signals.
preflight_transactionRun the full pre-send check and return ALLOW, REVIEW, or BLOCK.
check_transactions_batchCheck up to 1,000 transactions and return a compact risk summary or full results.
report_scam_addressRecord a suspected scam address when the user explicitly asks to report it.
get_usage_statusView the connected account's plan and monthly scan usage.
get_profileIdentify the PathGuard account represented by the OAuth connection.

Tool safety boundary

PathGuard MCP is analysis-only. Its tools do not:

  • sign transactions;
  • broadcast transactions;
  • transfer funds;
  • request private keys or seed phrases;
  • replace your application's authorization controls.

A BLOCK result is a PathGuard safety signal. The wallet, application, or agent remains responsible for authorization, signing, and final transaction execution.

Batch checking

check_transactions_batch supports up to 1,000 items.

By default it returns a compact summary containing:

  • total items;
  • processed items;
  • ALLOW / REVIEW / BLOCK counts;
  • maximum risk score;
  • flag counts;
  • a sample of flagged transactions.

Use detail_level="full" when individual results are required.

Security

  • Keep API keys server-side and private.
  • Use HTTPS for remote deployments.
  • OAuth protects the production remote MCP connection.
  • The production MCP server maps the authenticated OAuth subject to an existing PathGuard account.
  • Internal server-to-server authentication is not exposed as an MCP argument or model-visible credential.
  • Never commit API keys, production credentials, or local .env files.

Full API reference

See the PathGuard API documentation for endpoint schemas, rate limits, pricing, and risk-flag information.

PathGuard MCP: https://pathguard.cieltech.org/mcp

來源:README.md,提交 26191e2

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

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

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

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。