verifystack-x402-mcp 0.4.1 → 0.5.0
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/README.md +1 -0
- package/bin/verifystack-mcp.mjs +56 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,6 +32,7 @@ No API keys. No subscriptions. Agents pay per request using standard `PAYMENT-RE
|
|
|
32
32
|
| `POST` | `/api/contract-intel` | **$0.008** | Smart contract firewall & EIP-1967 proxy inspector via **EVM RPC, Blockscout ABI verification, and Sourcify** (`base`, `ethereum`, `arbitrum`, `optimism`, `polygon`). |
|
|
33
33
|
| `GET` | `/api/spot-perp-basis` | **$0.008** | Live cross-exchange cash-and-carry **Spot vs Perpetual** basis, executable BBO spread & combined 30d carry APR across **Gate.io, OKX, and Hyperliquid**. |
|
|
34
34
|
| `GET` | `/api/dex-market-intel` | **$0.006** | Live multi-chain DEX liquidity, 24h volume, price changes & buy/sell order-flow oracle via **DexScreener and GeckoTerminal**. |
|
|
35
|
+
| `POST` | `/api/render-url` | **$0.02** | Headless **Playwright Chromium** JS/SPA renderer with SSRF firewall: returns full rendered Markdown, metadata, optional links, and optional JPEG/PNG screenshot. |
|
|
35
36
|
|
|
36
37
|
---
|
|
37
38
|
|
package/bin/verifystack-mcp.mjs
CHANGED
|
@@ -426,6 +426,60 @@ export const TOOLS = [
|
|
|
426
426
|
},
|
|
427
427
|
},
|
|
428
428
|
},
|
|
429
|
+
{
|
|
430
|
+
name: "verifystack_render_url",
|
|
431
|
+
title: "Headless Chromium JS Web Renderer & Screenshotter",
|
|
432
|
+
annotations: READ_NETWORK_ANNOTATIONS,
|
|
433
|
+
description:
|
|
434
|
+
"Paid x402 API ($0.02 USDC on Base): Renders dynamic JavaScript/SPA/React web pages inside a real headless Chromium browser with SSRF protection, returning clean Markdown, metadata, optional links, and optional JPEG/PNG screenshot.",
|
|
435
|
+
inputSchema: {
|
|
436
|
+
type: "object",
|
|
437
|
+
additionalProperties: false,
|
|
438
|
+
required: ["url"],
|
|
439
|
+
properties: {
|
|
440
|
+
url: {
|
|
441
|
+
type: "string",
|
|
442
|
+
description: "Public http:// or https:// URL to render in Chromium",
|
|
443
|
+
},
|
|
444
|
+
waitUntil: {
|
|
445
|
+
type: "string",
|
|
446
|
+
description: "Navigation readiness event: domcontentloaded, load, or networkidle (default networkidle)",
|
|
447
|
+
},
|
|
448
|
+
waitMs: {
|
|
449
|
+
type: "number",
|
|
450
|
+
description: "Extra settle delay in ms after load for SPA hydration (0-5000, default 500)",
|
|
451
|
+
},
|
|
452
|
+
waitForSelector: {
|
|
453
|
+
type: "string",
|
|
454
|
+
description: "Optional CSS selector to wait for before extracting content",
|
|
455
|
+
},
|
|
456
|
+
maxChars: {
|
|
457
|
+
type: "number",
|
|
458
|
+
description: "Maximum Markdown length returned (200-40000, default 12000)",
|
|
459
|
+
},
|
|
460
|
+
includeLinks: {
|
|
461
|
+
type: "boolean",
|
|
462
|
+
description: "Include extracted outbound links array (default false)",
|
|
463
|
+
},
|
|
464
|
+
includeScreenshot: {
|
|
465
|
+
type: "boolean",
|
|
466
|
+
description: "Capture base64 JPEG or PNG screenshot of rendered page (default false)",
|
|
467
|
+
},
|
|
468
|
+
screenshotFormat: {
|
|
469
|
+
type: "string",
|
|
470
|
+
description: "Screenshot encoding when includeScreenshot is true: jpeg or png (default jpeg)",
|
|
471
|
+
},
|
|
472
|
+
fullPage: {
|
|
473
|
+
type: "boolean",
|
|
474
|
+
description: "Capture full scrollable page screenshot instead of viewport (default false)",
|
|
475
|
+
},
|
|
476
|
+
blockMedia: {
|
|
477
|
+
type: "boolean",
|
|
478
|
+
description: "Block images/fonts/video for faster extraction (defaults true unless includeScreenshot is true)",
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
},
|
|
429
483
|
];
|
|
430
484
|
|
|
431
485
|
let cachedHttpClientPromise = null;
|
|
@@ -528,6 +582,7 @@ function buildRequestSpec(toolName, args = {}, baseUrl = DEFAULT_BASE_URL) {
|
|
|
528
582
|
|
|
529
583
|
const postRoutes = {
|
|
530
584
|
verifystack_clean_url: "/api/clean-url",
|
|
585
|
+
verifystack_render_url: "/api/render-url",
|
|
531
586
|
verifystack_contract_intel: "/api/contract-intel",
|
|
532
587
|
verifystack_decode_tx: "/api/decode-tx",
|
|
533
588
|
verifystack_domain_intel: "/api/domain-intel",
|
|
@@ -633,7 +688,7 @@ export async function handleRpcMessage(msg, deps = {}) {
|
|
|
633
688
|
result: {
|
|
634
689
|
protocolVersion: "2024-11-05",
|
|
635
690
|
capabilities: { tools: {} },
|
|
636
|
-
serverInfo: { name: "verifystack-x402-mcp", version: "0.
|
|
691
|
+
serverInfo: { name: "verifystack-x402-mcp", version: "0.5.0" },
|
|
637
692
|
},
|
|
638
693
|
};
|
|
639
694
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verifystack-x402-mcp",
|
|
3
3
|
"mcpName": "io.github.verifystack-dev/verifystack-x402",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"description": "MCP server and x402 client for
|
|
4
|
+
"version": "0.5.0",
|
|
5
|
+
"description": "MCP server and x402 client for 16 pay-per-request VerifyStack crypto, DeFi, contract audit, DEX flow, Chromium rendering & web research tools (Base USDC)",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"verifystack-mcp": "bin/verifystack-mcp.mjs",
|