@xrpl-utilities/mcp 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/flows.js +39 -1
- package/dist/services/flows.js.map +1 -1
- package/package.json +1 -1
package/dist/services/flows.js
CHANGED
|
@@ -12,8 +12,46 @@ export const flows = {
|
|
|
12
12
|
label: "XR-Flows",
|
|
13
13
|
baseUrl: "https://flows.xrpl-utilities.io",
|
|
14
14
|
manifestUrl: "https://flows.xrpl-utilities.io/agents.json",
|
|
15
|
-
knownSchemaVersions: ["1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0"],
|
|
15
|
+
knownSchemaVersions: ["1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "1.6.0"],
|
|
16
16
|
tools: [
|
|
17
|
+
{
|
|
18
|
+
name: "xrpl_flows_scan",
|
|
19
|
+
description: "Per-ETF deep dive for any of the six US-listed spot XRP ETFs " +
|
|
20
|
+
"(Bitwise XRP, Canary XRPC, Franklin Templeton XRPZ, Grayscale " +
|
|
21
|
+
"GXRP, 21Shares TOXR, REX-Osprey XRPR). Returns the ticker's " +
|
|
22
|
+
"registry metadata (launch date, expense ratio, source URL, " +
|
|
23
|
+
"asset class, any operator caveat), latest reading (current " +
|
|
24
|
+
"AUM, xrp_held when available, NAV, source lineage), full " +
|
|
25
|
+
"accruing daily history with per-day AUM and source labels, " +
|
|
26
|
+
"and the latest XRPL exchange-flow delta row from XR-Pulse " +
|
|
27
|
+
"as the on-chain side of the correlation. An inline re-scrape " +
|
|
28
|
+
"fires before the response is built so the latest_reading is " +
|
|
29
|
+
"current-as-of-call, not as-of-last-hourly-loop. $0.10 USD " +
|
|
30
|
+
"per call paid via x402 v2 (XRPL `exact` scheme, t54 " +
|
|
31
|
+
"facilitator; XRP and RLUSD both accepted).",
|
|
32
|
+
inputSchema: {
|
|
33
|
+
type: "object",
|
|
34
|
+
properties: {
|
|
35
|
+
ticker: {
|
|
36
|
+
type: "string",
|
|
37
|
+
description: "ETF ticker (case-insensitive). One of XRP, XRPC, XRPZ, " +
|
|
38
|
+
"GXRP, TOXR, XRPR. Returns 404 when the ticker is not " +
|
|
39
|
+
"in the operator-curated registry.",
|
|
40
|
+
},
|
|
41
|
+
payment_signature: {
|
|
42
|
+
type: "string",
|
|
43
|
+
description: "x402 v2 PAYMENT-SIGNATURE header.",
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
required: ["ticker"],
|
|
47
|
+
additionalProperties: false,
|
|
48
|
+
},
|
|
49
|
+
method: "POST",
|
|
50
|
+
path: "/scan",
|
|
51
|
+
authMode: "inline_x402",
|
|
52
|
+
bodyFromArgs: true,
|
|
53
|
+
stripArgs: ["payment_signature"],
|
|
54
|
+
},
|
|
17
55
|
{
|
|
18
56
|
name: "xrpl_flows_correlation",
|
|
19
57
|
description: "Daily ETF AUM and XRPL exchange-flow delta for the six US-listed " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.js","sourceRoot":"","sources":["../../src/services/flows.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,MAAM,KAAK,GAAe;IAC/B,EAAE,EAAE,OAAO;IACX,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,iCAAiC;IAC1C,WAAW,EAAE,6CAA6C;IAC1D,mBAAmB,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"flows.js","sourceRoot":"","sources":["../../src/services/flows.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,MAAM,KAAK,GAAe;IAC/B,EAAE,EAAE,OAAO;IACX,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,iCAAiC;IAC1C,WAAW,EAAE,6CAA6C;IAC1D,mBAAmB,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAA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AK;aAC5B;YACD,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,MAAM;SACjB;QACD;YACE,IAAI,EAAE,0BAA0B;YAChC,WAAW,EACT,iEAAiE;gBACjE,+DAA+D;gBAC/D,4DAA4D;gBAC5D,kEAAkE;gBAClE,4DAA4D;gBAC5D,8DAA8D;gBAC9D,kEAAkE;gBAClE,4BAA4B;YAC9B,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE,EAAE;gBACd,oBAAoB,EAAE,KAAK;aAC5B;YACD,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,sBAAsB;YAC5B,QAAQ,EAAE,MAAM;SACjB;KACF;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xrpl-utilities/mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "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). Exposes each service's read endpoints as MCP tools so AI agents can discover and use them via stdio (Claude Desktop) or HTTP/SSE (hosted at mcp.xrpl-utilities.io). Stateless passthrough — caller provides their own x402 payment header.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|