verifystack-x402-mcp 0.2.0 → 0.3.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 +32 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@ No API keys. No subscriptions. Agents pay per request using standard `PAYMENT-RE
|
|
|
22
22
|
| `GET` | `/api/defi-yields` | **$0.005** | Live DeFi yield & stablecoin APY scanner powered by **DefiLlama**: filters by chain/symbol/TVL & scores organic Base APY vs reward emissions (60s cache). |
|
|
23
23
|
| `POST` | `/api/decode-tx` | **$0.005** | EVM transaction decoder & calldata firewall resolving selectors via **OpenChain + EVM RPC** and flagging unlimited ERC-20/NFT approvals. |
|
|
24
24
|
| `POST` | `/api/domain-intel` | **$0.004** | Domain anti-phishing & trust profiler using **Cloudflare DoH** (`A/MX/SPF/DMARC`), **RDAP** domain age, and HTTPS security headers (60s cache). |
|
|
25
|
+
| `GET` | `/api/web-research` | **$0.004** | Universal tech, news & academic search across **HackerNews, GitHub, arXiv, and Wikipedia** with zero API keys (60s cache). Query: `?q=x402&sources=all&limit=5` |
|
|
25
26
|
| `POST` | `/api/clean-url` | **$0.005** | Web-to-LLM Markdown & metadata extractor: strips ads, scripts, and navigation boilerplate, returning compact Markdown + token estimate (60s cache). |
|
|
26
27
|
| `POST` | `/api/wallet-profile` | **$0.008** | Multichain EVM wallet counterparty & gas profiler across **Base, Ethereum, Arbitrum, Optimism, and Polygon** (native/USDC balances, EOA vs contract, nonce activity, live gas fees; 20s cache). |
|
|
27
28
|
| `POST` | `/api/token-safety` | **$0.008** | Pre-trade token security & liquidity risk audit combining **GoPlus Security**, **Honeypot.is**, and **DexScreener** (`base`, `ethereum`, `arbitrum`, `bsc`, `polygon`, `solana`). |
|
package/bin/verifystack-mcp.mjs
CHANGED
|
@@ -113,6 +113,26 @@ export const TOOLS = [
|
|
|
113
113
|
},
|
|
114
114
|
},
|
|
115
115
|
},
|
|
116
|
+
{
|
|
117
|
+
name: "verifystack_web_research",
|
|
118
|
+
description:
|
|
119
|
+
"Paid x402 API ($0.004 USDC on Base): Universal multi-source research & news search across HackerNews, GitHub Repositories, arXiv papers, and Wikipedia with zero API keys (60s cache).",
|
|
120
|
+
inputSchema: {
|
|
121
|
+
type: "object",
|
|
122
|
+
required: ["q"],
|
|
123
|
+
properties: {
|
|
124
|
+
q: { type: "string", description: "Search query (2-200 characters)" },
|
|
125
|
+
sources: {
|
|
126
|
+
type: "string",
|
|
127
|
+
description: "Comma-separated: hackernews, github, arxiv, wikipedia, or all",
|
|
128
|
+
},
|
|
129
|
+
limit: {
|
|
130
|
+
type: "number",
|
|
131
|
+
description: "Max items per source (1-15, default 5)",
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
116
136
|
{
|
|
117
137
|
name: "verifystack_clean_url",
|
|
118
138
|
description:
|
|
@@ -311,6 +331,17 @@ function buildRequestSpec(toolName, args = {}, baseUrl = DEFAULT_BASE_URL) {
|
|
|
311
331
|
init: { method: "GET" },
|
|
312
332
|
};
|
|
313
333
|
}
|
|
334
|
+
if (toolName === "verifystack_web_research") {
|
|
335
|
+
const params = new URLSearchParams();
|
|
336
|
+
if (args.q) params.set("q", String(args.q));
|
|
337
|
+
if (args.sources) params.set("sources", String(args.sources));
|
|
338
|
+
if (args.limit !== undefined) params.set("limit", String(args.limit));
|
|
339
|
+
const qs = params.toString();
|
|
340
|
+
return {
|
|
341
|
+
url: `${baseUrl}/api/web-research${qs ? `?${qs}` : ""}`,
|
|
342
|
+
init: { method: "GET" },
|
|
343
|
+
};
|
|
344
|
+
}
|
|
314
345
|
|
|
315
346
|
const postRoutes = {
|
|
316
347
|
verifystack_clean_url: "/api/clean-url",
|
|
@@ -418,7 +449,7 @@ export async function handleRpcMessage(msg, deps = {}) {
|
|
|
418
449
|
result: {
|
|
419
450
|
protocolVersion: "2024-11-05",
|
|
420
451
|
capabilities: { tools: {} },
|
|
421
|
-
serverInfo: { name: "verifystack-x402-mcp", version: "0.
|
|
452
|
+
serverInfo: { name: "verifystack-x402-mcp", version: "0.3.0" },
|
|
422
453
|
},
|
|
423
454
|
};
|
|
424
455
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verifystack-x402-mcp",
|
|
3
3
|
"mcpName": "io.github.verifystack-dev/verifystack-x402",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"description": "MCP server and x402 client for VerifyStack DeFi Yields, Tx Decoder, Prediction Markets, Domain Intel, Web-to-Markdown & Wallet Oracle (Base USDC)",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|