verifystack-x402-mcp 0.1.0 → 0.1.1
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 +39 -1
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ 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). |
|
|
22
23
|
| `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
24
|
| `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). |
|
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:
|
|
@@ -174,6 +200,18 @@ function buildRequestSpec(toolName, args = {}, baseUrl = DEFAULT_BASE_URL) {
|
|
|
174
200
|
init: { method: "GET" },
|
|
175
201
|
};
|
|
176
202
|
}
|
|
203
|
+
if (toolName === "verifystack_prediction_markets") {
|
|
204
|
+
const params = new URLSearchParams();
|
|
205
|
+
if (args.q) params.set("q", String(args.q));
|
|
206
|
+
if (args.platform) params.set("platform", String(args.platform));
|
|
207
|
+
if (args.minLiquidity !== undefined) params.set("minLiquidity", String(args.minLiquidity));
|
|
208
|
+
if (args.limit !== undefined) params.set("limit", String(args.limit));
|
|
209
|
+
const qs = params.toString();
|
|
210
|
+
return {
|
|
211
|
+
url: `${baseUrl}/api/prediction-markets${qs ? `?${qs}` : ""}`,
|
|
212
|
+
init: { method: "GET" },
|
|
213
|
+
};
|
|
214
|
+
}
|
|
177
215
|
|
|
178
216
|
const postRoutes = {
|
|
179
217
|
verifystack_clean_url: "/api/clean-url",
|
|
@@ -278,7 +316,7 @@ export async function handleRpcMessage(msg, deps = {}) {
|
|
|
278
316
|
result: {
|
|
279
317
|
protocolVersion: "2024-11-05",
|
|
280
318
|
capabilities: { tools: {} },
|
|
281
|
-
serverInfo: { name: "verifystack-x402-mcp", version: "0.1.
|
|
319
|
+
serverInfo: { name: "verifystack-x402-mcp", version: "0.1.1" },
|
|
282
320
|
},
|
|
283
321
|
};
|
|
284
322
|
}
|
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.1",
|
|
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,6 +36,9 @@
|
|
|
36
36
|
"base",
|
|
37
37
|
"usdc",
|
|
38
38
|
"funding-rate",
|
|
39
|
+
"prediction-markets",
|
|
40
|
+
"polymarket",
|
|
41
|
+
"kalshi",
|
|
39
42
|
"arbitrage",
|
|
40
43
|
"token-security",
|
|
41
44
|
"erc1271",
|