Industrial Platform Pretrade

Pre-trade wallet, allowance, gas, price and order-book context for autonomous execution.

我該用這個嗎

品質與安全性

A
說明品質
90%
結構描述完整度
85%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~911Token(工具定義)
~1.0 KB典型回應大小
中等的注意力影響(128k 上下文的 0.71%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "pretrade": {
      "url": "https://x402-mcp-gateway-production.up.railway.app/mcp/pretrade"
    }
  }
}

遠端端點

https://x402-mcp-gateway-production.up.railway.app/mcp/pretradestreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪pretrade_context(address, spender, token_contract, network, product_id, ...)

Refresh wallet, allowance, gas, price, 24h statistics and top-of-book context immediately before each automated trade or payment. Costs $0.01 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "spender": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "token_contract": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "network": {
      "type": "string",
      "enum": [
        "base",
        "ethereum"
      ]
    },
    "product_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$"
    },
    "balance_tokens": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "maxItems": 20
    }
  },
  "required": [
    "address",
    "spender",
    "token_contract",
    "product_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪crypto_price(product_id)

Recurring realtime crypto price lookup for autonomous trading and monitoring. Costs $0.001 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$",
      "description": "Coinbase Exchange product such as BTC-USD, ETH-USD, SOL-USD or ETH-USDC."
    }
  },
  "required": [
    "product_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪crypto_book(product_id)

Recurring best-bid/best-ask market data for autonomous execution and spread monitoring. Costs $0.001 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$",
      "description": "Coinbase Exchange product such as BTC-USD, ETH-USD, SOL-USD or ETH-USDC."
    }
  },
  "required": [
    "product_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪market_snapshot(product_id, candle_granularity, candle_limit, trade_limit)

Recurring bundled crypto market snapshot for autonomous trading and market-monitoring loops. Costs $0.008 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$"
    },
    "candle_granularity": {
      "type": "string",
      "enum": [
        "60",
        "300",
        "900",
        "3600",
        "21600",
        "86400"
      ]
    },
    "candle_limit": {
      "type": "integer",
      "minimum": 5,
      "maximum": 300
    },
    "trade_limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "product_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪wallet_balance(address, chain)

Canonical wallet balance for Base or Ethereum. Returns native ETH and USDC balances for one address and is suitable for recurring wallet and treasury polling. Costs $0.001 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "chain": {
      "type": "string",
      "enum": [
        "eip155:8453",
        "eip155:1"
      ]
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪gas_price(chain)

Canonical current EVM base fee in gwei for Base or Ethereum, for recurring transaction timing and execution checks. Costs $0.001 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "eip155:8453",
        "eip155:1"
      ]
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具