{
  "name": "thrunode",
  "version": "4.0.0",
  "description": "Institutional-grade BTC market data intelligence — cross-venue trades, order books, liquidations, regime classification, and structural event detection across Bybit, Binance, Hyperliquid, and Coinbase.",
  "endpoint": "https://thru.capital/mcp",
  "human_telemetry": {
    "documentation": "https://thru.capital/docs",
    "status": "active"
  },
  "mcp_protocol": {
    "current_version": "2025-11-25",
    "supported_versions": ["2024-11-05", "2025-11-25"],
    "deprecation_policy": "N-2_support_guaranteed"
  },
  "cryptography": {
    "primary_signature_scheme": "ed25519",
    "post_quantum_migration_target": "ml-dsa-44",
    "key_rotation_cadence": "annual"
  },
  "enterprise_clearing_track": {
    "gateway": "https://thru.capital/api/v1/allocation/intent",
    "assets": ["USD-Wire", "EUR-SEPA"],
    "requires_agreement": "Out-of-band Cryptographic MSA via ops@thru.capital",
    "activation": "Manual registry activation upon bank clearing"
  },
  "transport": "streamable-http",
  "authentication": {
    "type": "bearer",
    "token_endpoint": "https://thru.capital/.well-known/oauth-authorization-server"
  },
  "capabilities": {
    "tools": true,
    "resources": false,
    "prompts": true
  },
  "tools": [
    {
      "name": "run_select_query",
      "description": "Execute read-only SQL SELECT queries against the Thrunode ClickHouse sandbox. Returns institutional-grade market data with Decimal128(8) precision.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "A valid ClickHouse SELECT query. INSERT/UPDATE/DELETE/DROP/ALTER/CREATE are rejected."
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows to return. Hard-capped at 10000.",
            "default": 500,
            "maximum": 10000
          },
          "time_range_hours": {
            "type": "integer",
            "description": "Maximum lookback window in hours from now(). Hard-capped at 168 (7 days).",
            "default": 24,
            "maximum": 168
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "get_schema",
      "description": "Retrieve the full column-level DDL for any table in the sandbox database.",
      "tables_available": [
        "trades", "liquidations", "book_snapshots", "market_metrics",
        "large_orders", "footprint_bars", "market_states",
        "structural_events", "interpretations_metadata"
      ]
    },
    {
      "name": "list_tables",
      "description": "List all available tables and views in the sandbox database with row counts."
    }
  ],
  "data_coverage": {
    "instruments": ["BTCUSDT", "BTC-USD"],
    "exchanges": ["Bybit Linear", "Bybit Spot", "Binance Futures", "Binance Spot", "Hyperliquid", "Coinbase Spot", "Coinbase Perps", "OKX", "Deribit"],
    "data_types": ["trades", "liquidations", "order_books", "funding_rates", "open_interest", "regime_states", "structural_events"],
    "precision": "Decimal128(8) — zero floating-point in critical paths",
    "sandbox_retention": "7 days rolling (live production: 730 days hot + 50-year cold Parquet)"
  },
  "compliance": {
    "read_only": true,
    "query_audit_trail": true,
    "rate_limit": "60 queries/minute",
    "max_result_rows": 10000,
    "max_query_time_range_hours": 168,
    "max_execution_time_seconds": 10
  }
}
