XRPL Token Guard

io.github.Riehnbean由 GitHub 帳號 Riehnbean 發布v0.1.0更新於 Oct 25, 2026

Read-only XRP Ledger token-risk, issuer-authenticity and wallet-security checks.

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

概覽

AI 產生的概覽

一個唯讀 MCP 伺服器,用來檢查 XRP Ledger 代幣的仿冒與發行方風險,並檢查錢包是否有盜取型簽署者變更。

可以做什麼
檢查代幣安全性:給出結論、理由和口播摘要,涵蓋仿冒、發行方增發/凍結/追回權限、轉帳費、網域、持幣集中度與 AMM 流動性。確認 RLUSD、USDC、SOLO 等代號是否來自官方發行方。檢查錢包是否有異常的常規金鑰或多簽簽署者清單,並將近期變更標為緊急。提供面向語音的提示,讓回答維持兩句話且不含買賣建議。
適用情境
適合在助理被問到某個 XRP Ledger 代幣是否真實或安全、或錢包是否遭盜用時使用,且回答需要簡短到可以朗讀。適用於交易前的快速核查與語音助理展示,而非深入盡職調查。
執行需求
託管端點為遠端 Streamable HTTP 伺服器;也可用 npm 建置本機副本,透過 stdio 或 HTTP 執行。無需 API 金鑰或錢包憑證。它查詢公開的 XRPL JSON-RPC 端點,可透過 XRPL_RPC_URLS 設定;託管服務依 IP 限制每分鐘 60 次請求。
安裝前請注意
唯讀:不簽署、不送出交易、不索取金鑰。結論僅為檢查當下的機械帳本事實,不構成財務建議,也不保證安全,0-100 分數只是粗略參考。README 提到同一提供者的另付費報告(5、3、10 XRP)與按次計費 API;Token Guard 本身免費。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "xrpl-token-guard": {
      "type": "http",
      "url": "https://cocoeatsai.com/area4/guard/mcp"
    }
  }
}

README

XRPL Token Guard

Ask your AI agent, or your voice assistant, "is this token safe?" and get an honest answer with reasons.

XRPL Token Guard is an open-source MCP server. It checks XRP Ledger tokens and wallets using live, read-only mainnet data, and returns three things:

  • a verdict: High risk / Caution / No red flags found / Not enough data
  • the reasons behind it, each naming the exact ledger fact
  • a one-sentence spoken summary, ready for text-to-speech on Alexa+ or any other voice assistant

It never signs, never sends a transaction and never asks for keys.

Need more than a quick check?

Try the free hosted demo or browse the free token evidence pages. Launch Lab offers a Token Report for 5 XRP, a Wallet Checkup for 3 XRP, and a Token Launch Kit for 10 XRP. Preview the findings before choosing a paid report. These are factual ledger checks, not buy/sell advice or a guarantee of safety; Token Guard stays free.

Hosted MCP: https://cocoeatsai.com/area4/guard/mcp (Streamable HTTP). The hosted demo supports typed questions and example buttons; microphone input is currently disabled by the hosting policy. It is a voice-assistant simulator, not an actual Alexa integration.

For Claude Desktop (claude_desktop_config.json) or Cursor (.cursor/mcp.json), build a local clone using the commands below, then replace the absolute path in this configuration:

json
{"mcpServers": {  "xrpl-token-guard": {"command": "node", "args": ["/absolute/path/to/xrpl-token-guard/dist/stdio.js"]}}}

Example risk interpretation (not a trading recommendation):

You:    "Is this RLUSD real?"Guard:  "Warning, high risk. This token calls itself RLUSD, but it is not the real Ripple USD.         The real one comes from a different issuer. A matching name does not establish authenticity."

Why it exists

Scammers on the XRP Ledger copy famous names. On mainnet today there are several tokens called RLUSD that aren't Ripple's. Many of them have a black-holed issuer, which naive checkers score as "safe" because nobody can mint more. Token Guard knows the official issuers and flags the copy first. It explains that a locked supply doesn't make an imitation genuine.

Answers have to be short enough to speak and specific enough to trust. Every finding carries both a precise message (for screens and agents) and a spoken line (for voice).

Tools

ToolWhat it answersLedger calls
check_token_safety"Is this token safe?" Checks for: imitations of RLUSD/USDC/SOLO, issuers that can still mint, freeze or claw back, Global Freeze, transfer fees, unverified or launchpad-only domains, whale concentration (AMM pool excluded), thin AMM liquidity, brand-new issuers.account_info, gateway_balances, amm_info, account_lines, account_tx
is_it_the_real_token"Is this the real RLUSD?" Answers instantly from verified official issuers (each issuer's on-ledger Domain points at the brand's own site).none
check_wallet_security"Was my wallet hacked?" Finds a stranger's regular key or multisig signer list (the classic drainer setup), and marks changes from the last 7 days as urgent.account_info, account_tx

There's also a prompt, voice_token_check, that tells a voice assistant how to answer: two sentences, the verdict and the main reason, no buy/sell advice.

Every tool has:

  • readOnlyHint: true
  • an outputSchema, with typed structuredContent in each response
  • a human-readable text block

Tickers are resolved case-insensitively against the issuer's real obligations, so asking for "bigds" finds $BIGDS.

Run it

bash
npm installnpm run buildnpm start                 # Streamable HTTP on http://127.0.0.1:8787/mcp, voice demo on http://127.0.0.1:8787/npm run stdio             # stdio transport for Claude Desktop / Claude Code / Cursornpm test                  # 14 unit + end-to-end MCP tests (LIVE=1 adds a mainnet check)

Transport: Streamable HTTP, MCP protocol 2025-11-25.

  • Stateless: every POST /mcp gets a fresh server, so it scales horizontally.
  • JSON responses.
  • Rate limit: 60 requests per minute per IP.
  • Origin allow-list via ALLOWED_ORIGINS.
  • GET /health reports the transport and protocol.

Docker:

bash
# Web demo + Streamable HTTP (default target)docker build -t xrpl-token-guard .docker run --rm -p 8787:8787 xrpl-token-guard
# stdio MCP clients / Glama: keep stdin open; do not allocate a TTYdocker build --target stdio -t xrpl-token-guard:stdio .docker run --rm -i xrpl-token-guard:stdio

For a Glama build spec that uses the default image, set CMD arguments to node dist/stdio.js. No API keys or wallet credentials are required.

Claude Desktop (claude_desktop_config.json):

json
{ "mcpServers": { "xrpl-token-guard": { "command": "node", "args": ["/path/to/xrpl-token-guard/dist/stdio.js"] } } }

Configuration

EnvDefaultMeaning
XRPL_RPC_URLShttps://xrplcluster.com,https://s1.ripple.com:51234,https://s2.ripple.com:51234Public XRPL JSON-RPC endpoints, tried in order
HOST / PORT127.0.0.1 / 8787Bind address
ALLOWED_ORIGINS(any)Comma-separated Origin allow-list for /mcp
TOKEN_GUARD_LINKSonAdds a link to a free ledger-evidence page for the token when one exists; off disables it

Voice demo (Alexa+-style simulator)

Open http://127.0.0.1:8787/ and tap the mic (Chrome), or type.

  • The page is a small MCP client that speaks Streamable HTTP to /mcp. It turns the question into a tool call and reads spoken_summary aloud.
  • The right-hand panel shows the live tools/call request and result.
  • /?demo=1 plays a scripted run with captions, for screen recording.

How the verdict works

SeverityExamplesEffect
⛔ highimpersonation of an official token, Global Freeze on, clawback enabled, issuer doesn't exist, nothing issuedverdict High risk
⚠️ cautionissuer can mint / freeze, >1% transfer fee, one wallet >50% or top 10 >80% (AMM pool excluded), fewer than 25 holders, under 500 XRP of AMM liquidity, issuer under 14 days old, domain doesn't list the issuerverdict Caution
✅ good / ℹ️ infoofficial issuer, black-holed supply, verified domain, deep liquiditycontext only

Regulated stablecoins may retain issuer controls. Official identity remains separate from the control-policy verdict: clawback is a hard failure, even for an official issuer. The score (0–100) is a rough guide only. Not financial advice. These are ledger facts at the time of the check.

Built by

Zach Riehn (Launch Lab, XRPL tools for people and AI agents). Launch Lab also runs a pay-per-call x402 API (XRP/RLUSD on XRPL, USDC on Base) for deeper wallet and token reports. Token Guard is the free, open core.

MIT licensed.

Issuer-control policy (2026-10-18)

The freeze-control condition passes when NoFreeze is set OR master is disabled, RegularKey is exactly rrrrrrrrrrrrrrrrrrrrBZbvji, and no signer list exists. Clawback permission is a hard failure for every issuer, including regulated stablecoins; Global Freeze already active is also a failure. The MCP structured output reports freeze_control_pass, issuer_controls_pass and the exact rule. A missing regular key is not the requested blackhole proof. NoFreeze alone does not prevent minting or enabling Global Freeze. Identity, concentration and other checks still apply. Scores are mechanical, not probabilities of safety.

來源:README.md,提交 92fbda9

工具

3

check_token_safety

Check an XRPL token's safety

Live safety check of an XRP Ledger token (issued currency). Detects fake look-alikes of famous tokens (e.g. a fake RLUSD), issuers that can still mint, freeze or claw back, global freezes, transfer fees, unverified domains, whale concentration, thin AMM liquidity and brand-new issuers. Returns a verdict (High risk / Caution / No red flags found / Not enough data), the reasons behind it with the exact ledger facts, and a one-sentence spoken summary.

輸入參數issuer必填currency必填

is_it_the_real_token

Is this the real token?

Answers "is this the real RLUSD / USDC / SOLO?" using the verified official issuers (RLUSD: rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De; USDC: rGm7WCVp9gb4jZHWTEtGUr4dd74z2XuWhE; SOLO: rsoLo2S1kiGeCcn6hCUXVrCpGMWLrRrLZz). Give the ticker alone to learn the official issuer, or ticker + issuer to confirm or expose an imitation. Instant, no ledger call.

輸入參數issuerticker必填

check_wallet_security

Check an XRPL wallet for takeover signs

Checks whether anyone besides the owner can sign for an XRPL wallet: an unexpected regular key or multisig signer list (the classic drainer setup), and flags changes made in the last 7 days as urgent. Read-only.

輸入參數address必填

版本歷史

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

評分

已滿足適用檢查項的 100%

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

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