tech-risk
x402 MCP for agents: crypto prices, funding, DeFi yields, Polymarket, Base RPC + MCP security.
我该使用它吗
质量与安全性
发现(5)
- LOW在 crypto_prices_preview 中
- LOW在 crypto_funding_preview 中
- LOW在 defi_yields_preview 中
- LOW在 pm_markets_preview 中
- LOW在 chain_gas_price_preview 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"tech-risk": {
"url": "https://x402-data-api.sigrunner.workers.dev/mcp"
}
}
}远程端点
https://x402-data-api.sigrunner.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(22)
⚪enrich_tech_risk(domain, techstack)
Security enrichment: tech-stack fingerprint + CVE mapping + EPSS + CISA KEV + verdict (clear/review/block) for a domain. Cost: $0.005 USDC per call (x402 micropayment).
输入模式
{
"type": "object",
"properties": {
"domain": {
"type": "string"
},
"techstack": {
"type": "array",
"items": {
"type": "string"
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢enrich_domain(domain)
Firmographic + tech-stack enrichment: RDAP registrant/registrar, DNS records, full subdomain enumeration + certificate-transparency history, tech-stack fingerprint, verdict (clear/review/block, based on domain age) for a domain. Cost: $0.005 USDC per call via the shared MCP payment gate (the direct HTTP endpoint GET /enrich/domain is $0.01 — MCP tools/call is gated at a flat $0.005 per request).
输入模式
{
"type": "object",
"properties": {
"domain": {
"type": "string"
}
},
"required": [
"domain"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪scan_mcp_server(url)
Security-audit a target MCP server for prompt-injection / tool-poisoning. Fetches the server's advertised tools and statically analyzes each for hidden instructions, data-exfiltration hints, dangerous capabilities, cross-tool shadowing, and invisible-unicode payloads (OWASP LLM01/LLM08). Returns findings + a 0-100 risk score + verdict (clear/review/block). Cost: $0.005 USDC per scan via x402 (GET /scan/mcp HTTP variant is $0.10).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Target MCP server endpoint URL to audit"
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢scan_mcp_preview(url)
FREE preview scan of a target MCP server for tool-poisoning / prompt-injection. Returns issue count, severity breakdown, risk score, and verdict (clear/review/block) — but NOT which tools or the evidence. Use this to check any MCP server (including your own) at no cost; if issues are found, call the paid scan_mcp_server for the itemized findings + remediation. No payment required.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Target MCP server endpoint URL to preview-scan (free)"
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡crypto_prices(coins)
Live spot token prices (price, change_24h, symbol, confidence, timestamp) for CoinGecko ids, sourced from DefiLlama. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"coins": {
"description": "Comma-separated CoinGecko ids, e.g. \"bitcoin,ethereum,solana\" (default; max 25)",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢crypto_funding(limit)
Live cross-venue perpetual-futures funding rates from Hyperliquid+OKX+dYdX (per-venue rate, arb spread in bps, cheapest-long/richest-short venue, premium/basis, annualized_hl, annualized_okx, LONGS_PAY/SHORTS_PAY/NEUTRAL signal, next_funding_ts, mark/oracle price, open interest, day volume), ranked by volume. Venues that are unreachable or don't list a given coin are omitted per-coin — Hyperliquid is always present. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"limit": {
"description": "Number of results, default 20, max 100",
"type": "number"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪defi_yields(limit, project, chain, stable, sort)
Live DeFi lending/LP yield pools (project, chain, symbol, pool id, APY breakdown incl. 1d/7d/30d trend + apyBase7d/apyMean30d, IL risk incl. il7d, exposure, reward/underlying tokens, outlier flag, mu/sigma, DefiLlama stability forecast, TVL, stablecoin flag) from DefiLlama, ranked by TVL (or risk-adjusted APY = apy/sigma). Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"limit": {
"description": "Number of results, default 20, max 100",
"type": "number"
},
"project": {
"description": "Filter by DefiLlama project slug",
"type": "string"
},
"chain": {
"description": "Filter by chain name",
"type": "string"
},
"stable": {
"description": "Only stablecoin pools",
"type": "boolean"
},
"sort": {
"description": "Sort order: 'tvl' (default) or 'risk_adjusted' (apy/sigma)",
"type": "string",
"enum": [
"tvl",
"risk_adjusted"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪pm_markets(query, limit)
Live Polymarket prediction-market data — question, outcomes, outcome prices, bestBid/bestAsk/spread, volume24hr/volume1wk, oneDayPriceChange, clobTokenIds, conditionId, category tags, liquidity, end date — ranked by volume24hr. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"query": {
"description": "Case-insensitive keyword filter on the market question",
"type": "string"
},
"limit": {
"description": "Number of results, default 20, max 100",
"type": "number"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪crypto_prices_preview
FREE 1-item sample of live token prices. No payment required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪crypto_funding_preview
FREE 1-item sample of live cross-venue funding rates. No payment required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪defi_yields_preview
FREE 1-item sample of live DeFi yield pools. No payment required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪pm_markets_preview
FREE top-1 sample of live Polymarket prediction markets, ranked by volume24hr. No payment required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪chain_block_number
Current Base mainnet block number via multi-provider JSON-RPC (automatic failover across 4 providers, never fails on one provider's rate limit). Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪chain_gas_price
Current Base mainnet gas price (wei/gwei), EIP-1559 base_fee_gwei/priority_fee_gwei, and gas_price_usd (ETH price cross-call — no price oracle on ETH-only competitors) via multi-provider JSON-RPC. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪chain_balance(address)
Native ETH balance of a Base mainnet address, incl. balance_usd (ETH price cross-call — no price oracle on ETH-only competitors), via multi-provider JSON-RPC. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed 20-byte Base address"
}
},
"required": [
"address"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪chain_token_balance(address, token)
ERC-20 token balance of a Base mainnet address via multi-provider JSON-RPC, incl. symbol/decimals/balance_formatted (per-token-contract cached in-isolate). Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed 20-byte holder address"
},
"token": {
"type": "string",
"description": "0x-prefixed 20-byte ERC-20 contract address"
}
},
"required": [
"address",
"token"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪chain_tx(hash)
Transaction details by hash on Base mainnet via multi-provider JSON-RPC. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "0x-prefixed 32-byte transaction hash"
}
},
"required": [
"hash"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢chain_wallet(address)
Wallet bundle: ETH balance + balance_usd (ETH price cross-call) + tx count + contract-code check (EIP-7702 delegated-EOA aware) for a Base mainnet address, in one call. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed 20-byte Base address"
}
},
"required": [
"address"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢chain_token_security(token)
Token security / honeypot detector for a Base mainnet ERC-20: EIP-1967/1822 proxy + upgradeability detection, bytecode dispatcher scan for mint/pause/blacklist/fee-setter/ownership selectors, owner() renouncement check, and a live eth_call state-override simulation testing whether a synthetic wallet can actually transfer() the token. Returns risk_score (0-100) + verdict (clear/review/block) + human-readable flags. Real compute an agent can't trivially self-serve. Cost: $0.005 USDC per call via x402.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "0x-prefixed 20-byte ERC-20 contract address on Base mainnet"
}
},
"required": [
"token"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪chain_block_number_preview
FREE live sample of the current Base mainnet block number — identical data to the paid chain_block_number tool. No payment required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪chain_gas_price_preview
FREE live sample of the current Base mainnet gas price — identical data to the paid chain_gas_price tool. No payment required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢chain_token_security_preview
FREE full real analysis of a fixed well-known token (Base WETH) via the token security / honeypot detector — same depth as the paid chain_token_security tool, so you can see the real product before paying. To analyze an arbitrary token, use the paid chain_token_security tool. No payment required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据