verifystack-x402-mcp 0.1.0 → 0.1.2
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 +2 -0
- package/bin/verifystack-mcp.mjs +63 -1
- package/package.json +10 -5
package/README.md
CHANGED
|
@@ -18,7 +18,9 @@ No API keys. No subscriptions. Agents pay per request using standard `PAYMENT-RE
|
|
|
18
18
|
| Method | Endpoint | Price (USDC) | Description |
|
|
19
19
|
| :--- | :--- | :--- | :--- |
|
|
20
20
|
| `GET` | `/api/live-funding-arb` | **$0.01** | Live cross-exchange perp funding arbitrage across **Hyperliquid, dYdX v4, and Gate.io** normalized to hourly spreads & gross APR (20s cache). Query: `?symbol=BTC&limit=15&minApr=10` |
|
|
21
|
+
| `GET` | `/api/prediction-markets` | **$0.008** | Live prediction market scanner & cross-venue arbitrage finder across **Polymarket, Kalshi, and Manifold Markets** (30s cache). Query: `?q=bitcoin&platform=all&minLiquidity=1000&limit=20` |
|
|
21
22
|
| `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). |
|
|
23
|
+
| `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). |
|
|
22
24
|
| `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`). |
|
|
23
25
|
| `POST` | `/api/verify-signature` | **$0.005** | Deterministic signature verifier for `evm_personal` (EIP-191), `evm_eip712`, `evm_erc1271` (live on-chain Smart Wallet RPC), and `ed25519` (Solana Base58/Hex/Base64). |
|
|
24
26
|
| `POST` | `/api/arb-net-profit` | **$0.005** | Exact arbitrage net profit, break-even spread, and APR after fees, slippage, transfer gas, and funding. |
|
package/bin/verifystack-mcp.mjs
CHANGED
|
@@ -27,6 +27,32 @@ export const TOOLS = [
|
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
name: "verifystack_prediction_markets",
|
|
32
|
+
description:
|
|
33
|
+
"Paid x402 API ($0.008 USDC on Base): Live prediction market scanner aggregating Polymarket, Kalshi, and Manifold Markets with normalized YES/NO probabilities, spreads, and cross-venue arbitrage divergences.",
|
|
34
|
+
inputSchema: {
|
|
35
|
+
type: "object",
|
|
36
|
+
properties: {
|
|
37
|
+
q: {
|
|
38
|
+
type: "string",
|
|
39
|
+
description: "Optional keyword search across market questions (e.g. bitcoin, fed, eth)",
|
|
40
|
+
},
|
|
41
|
+
platform: {
|
|
42
|
+
type: "string",
|
|
43
|
+
description: "Filter platforms: polymarket, kalshi, manifold, or all",
|
|
44
|
+
},
|
|
45
|
+
minLiquidity: {
|
|
46
|
+
type: "number",
|
|
47
|
+
description: "Minimum market liquidity threshold",
|
|
48
|
+
},
|
|
49
|
+
limit: {
|
|
50
|
+
type: "number",
|
|
51
|
+
description: "Max markets returned (1-100, default 20)",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
},
|
|
30
56
|
{
|
|
31
57
|
name: "verifystack_clean_url",
|
|
32
58
|
description:
|
|
@@ -50,6 +76,29 @@ export const TOOLS = [
|
|
|
50
76
|
},
|
|
51
77
|
},
|
|
52
78
|
},
|
|
79
|
+
{
|
|
80
|
+
name: "verifystack_wallet_profile",
|
|
81
|
+
description:
|
|
82
|
+
"Paid x402 API ($0.008 USDC on Base): Multichain EVM wallet counterparty & gas profiler across Base, Ethereum, Arbitrum, Optimism, and Polygon (native/USDC balances, EOA vs contract check, nonce activity, live gas fees).",
|
|
83
|
+
inputSchema: {
|
|
84
|
+
type: "object",
|
|
85
|
+
required: ["address"],
|
|
86
|
+
properties: {
|
|
87
|
+
address: {
|
|
88
|
+
type: "string",
|
|
89
|
+
description: "EVM 0x address to inspect across chains",
|
|
90
|
+
},
|
|
91
|
+
chains: {
|
|
92
|
+
type: "array",
|
|
93
|
+
items: {
|
|
94
|
+
type: "string",
|
|
95
|
+
enum: ["base", "ethereum", "arbitrum", "optimism", "polygon"],
|
|
96
|
+
},
|
|
97
|
+
description: "Optional list of chains (defaults to all 5)",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
},
|
|
53
102
|
{
|
|
54
103
|
name: "verifystack_token_safety",
|
|
55
104
|
description:
|
|
@@ -174,9 +223,22 @@ function buildRequestSpec(toolName, args = {}, baseUrl = DEFAULT_BASE_URL) {
|
|
|
174
223
|
init: { method: "GET" },
|
|
175
224
|
};
|
|
176
225
|
}
|
|
226
|
+
if (toolName === "verifystack_prediction_markets") {
|
|
227
|
+
const params = new URLSearchParams();
|
|
228
|
+
if (args.q) params.set("q", String(args.q));
|
|
229
|
+
if (args.platform) params.set("platform", String(args.platform));
|
|
230
|
+
if (args.minLiquidity !== undefined) params.set("minLiquidity", String(args.minLiquidity));
|
|
231
|
+
if (args.limit !== undefined) params.set("limit", String(args.limit));
|
|
232
|
+
const qs = params.toString();
|
|
233
|
+
return {
|
|
234
|
+
url: `${baseUrl}/api/prediction-markets${qs ? `?${qs}` : ""}`,
|
|
235
|
+
init: { method: "GET" },
|
|
236
|
+
};
|
|
237
|
+
}
|
|
177
238
|
|
|
178
239
|
const postRoutes = {
|
|
179
240
|
verifystack_clean_url: "/api/clean-url",
|
|
241
|
+
verifystack_wallet_profile: "/api/wallet-profile",
|
|
180
242
|
verifystack_token_safety: "/api/token-safety",
|
|
181
243
|
verifystack_verify_signature: "/api/verify-signature",
|
|
182
244
|
verifystack_arb_net_profit: "/api/arb-net-profit",
|
|
@@ -278,7 +340,7 @@ export async function handleRpcMessage(msg, deps = {}) {
|
|
|
278
340
|
result: {
|
|
279
341
|
protocolVersion: "2024-11-05",
|
|
280
342
|
capabilities: { tools: {} },
|
|
281
|
-
serverInfo: { name: "verifystack-x402-mcp", version: "0.1.
|
|
343
|
+
serverInfo: { name: "verifystack-x402-mcp", version: "0.1.2" },
|
|
282
344
|
},
|
|
283
345
|
};
|
|
284
346
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verifystack-x402-mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "MCP server and x402 client for VerifyStack Crypto, Web-to-Markdown, and Verification Oracle (Base USDC)",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "MCP server and x402 client for VerifyStack Crypto, Prediction Markets, Web-to-Markdown, and Verification Oracle (Base USDC)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"verifystack-mcp": "
|
|
8
|
-
"verifystack-x402-mcp": "
|
|
7
|
+
"verifystack-mcp": "bin/verifystack-mcp.mjs",
|
|
8
|
+
"verifystack-x402-mcp": "bin/verifystack-mcp.mjs"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"bin/",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/verifystack-dev/verifystack-x402.git"
|
|
20
|
+
"url": "git+https://github.com/verifystack-dev/verifystack-x402.git"
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://x402-crypto-math-api.verifystack.workers.dev",
|
|
23
23
|
"bugs": {
|
|
@@ -36,8 +36,13 @@
|
|
|
36
36
|
"base",
|
|
37
37
|
"usdc",
|
|
38
38
|
"funding-rate",
|
|
39
|
+
"prediction-markets",
|
|
40
|
+
"polymarket",
|
|
41
|
+
"kalshi",
|
|
39
42
|
"arbitrage",
|
|
40
43
|
"token-security",
|
|
44
|
+
"wallet-profiler",
|
|
45
|
+
"gas-oracle",
|
|
41
46
|
"erc1271",
|
|
42
47
|
"ed25519"
|
|
43
48
|
],
|