@xrpl-utilities/mcp
v0.2.61
Published
Model Context Protocol server for the XRPL-Utilities portfolio: Sentinel (wallet classifier), Pulse (signal feed), Telemetry (supply + utility floor), Trust (XLS-70/80/81 directory), Vault (RWA tracker), and Flows (ETF AUM ↔ XRPL flow correlation). Expose
Maintainers
Readme
@xrpl-utilities/mcp
Model Context Protocol server for the
XRPL-Utilities™ portfolio. Exposes the read endpoints of all six
services as MCP tools so AI agents can discover and use them, either
locally via stdio (Claude Desktop, MCP Inspector, etc.) or remotely
via the hosted endpoint at mcp.xrpl-utilities.io.
Services covered
| Service | What it does | Tools |
|---------------|---------------------------------------------------------|-------|
| XR-Sentinel | XRPL wallet activity-pattern classifier (0-100 score, 35-signal catalog including account-genesis chain + provenance flags + AI narrative) | xrpl_sentinel_scan, xrpl_sentinel_scan_history |
| XR-Pulse | Normalized XRPL signal feed: public-source news, on-chain whale activity, XLS-70/80/81 lifecycle, RWA mint/burn flow, AMM-of-RWA pool snapshots. Also streamable live via POST /stream/purchase + WebSocket (1h/6h/24h tiers) directly on the backend; MCP exposes the snapshot endpoints here. | xrpl_pulse_recent_events, xrpl_pulse_events_by_address |
| XR-Telemetry | XRPL macro snapshot: supply, liquidity, AMM, Active Float, Burst Math utility floor | xrpl_telemetry_snapshot, xrpl_telemetry_get_quote, xrpl_telemetry_get_status, xrpl_telemetry_get_results |
| XR-Trust | Directory + drill-down for XRPL permissioned-asset stack (XLS-70/80/81 + XLS-40 DID) | xrpl_trust_list_domains, xrpl_trust_get_domain, xrpl_trust_credential_issuers, xrpl_trust_recent_events |
| XR-Vault | Real-world asset tracker for XRPL: per-issuer mint/burn flow, daily circulating snapshots, AMM-of-RWA pool exposure across tokenized treasuries, stablecoins, commercial paper, MMFs, and energy commodities | xrpl_vault_scan |
| XR-Flows | ETF AUM vs XRPL exchange-flow correlation across every US-listed XRP-exposure ETF (spot + indirect-basket tiers), including SEC EDGAR filing list and launch-window flow analysis | xrpl_flows_correlation, xrpl_flows_launch_impact, xrpl_flows_scan |
16 tools total, all read-only. Every paid call is settled via x402 v2 on the XRPL mainnet through the t54 facilitator.
Auth model
The MCP server is a stateless passthrough proxy. It does not hold wallets, manage user accounts, or subsidize calls.
For paid tools (every endpoint at $0.10 USD), the caller supplies a
payment_signature argument: a base64-JSON-encoded x402 v2 payment
header signing an XRPL Payment that matches one of the requirements
returned by an unauthenticated probe. The server forwards it as the
PAYMENT-SIGNATURE header on the underlying call.
If you don't supply payment_signature, the underlying service
returns its real 402 Payment Required challenge with the XRP +
RLUSD requirements. The MCP server passes that back to the LLM as
a structured error so it can sign and retry.
Operators can set MCP_BYPASS_KEY on the server to enable an opt-in
bypass for friendlies / demos. The caller passes the matching key as
_bypass_key in the tool args. Rate-limited at the proxy layer.
Use it
Locally via Claude Desktop (stdio)
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"xrpl-utilities": {
"command": "npx",
"args": ["-y", "@xrpl-utilities/mcp", "--transport", "stdio"]
}
}
}Restart Claude Desktop. The 12 tools should appear with the prefix
xrpl_. Ask Claude to "scan the wallet rXXX with XR-Sentinel" or
"list permissioned domains on XRPL" and the tool calls flow through.
Remotely (HTTP/SSE)
Point any MCP client at https://mcp.xrpl-utilities.io/mcp. Same
tool list, same auth model.
What you need to actually pay
To avoid 402 challenges on every call, your client needs to:
- Hold a funded XRPL wallet (XRP + optional RLUSD trustline).
- On each paid tool call, sign a Payment matching one of the
acceptsentries from a prior probe. - Pass the base64-JSON-encoded header as
payment_signature.
The Python reference implementation is
x402-xrpl — useful as a
template even if you're using a different language.
Local dev
npm install
npm run build
node dist/index.js --transport http --port 8080Point MCP Inspector at http://localhost:8080/mcp to walk through
tool definitions interactively.
Releases
Releases are cut by tag push. The Release workflow builds, validates
that package.json version matches the tag, then publishes to npm
with sigstore provenance.
npm version patch # or minor / major
git push --follow-tags # pushes commit + tag, CI does the restThe published artifact appears at npmjs.com/package/@xrpl-utilities/mcp within ~90 seconds. Provenance attestation is visible on the package page as a green check.
License
MIT. Full portfolio at xrpl-utilities.com.
