{
  "server": "canaryseal-mcp",
  "version": "1.9.3",
  "read_only_surface": true,
  "contract_sha256": "d26611c6db9b256e94e010ff17559074ae01df2929326c8fbf90697cc8ad2d9f",
  "canonical_contract_sha256": "f30ff830555be1362552528bff81898599eca70b76a1e8dc07de59d1c472b7c0",
  "kd_v1_set_hash": "731974797cf0e1ce81bd1c462efdb281229cb2b4416d530d0e174c4074bc980f",
  "hash_algorithm": "sha256(JSON.stringify(tools)) — compact UTF-8 JSON, no spaces (Python: json.dumps(tools, separators=(',', ':')))",
  "canonical_hash_note": "canonical_contract_sha256 sorts tools by name (served tools[] is NOT alphabetical!) and recursively sorts object keys before compact UTF-8 JSON serialization; kd_v1_set_hash uses the 6-key fixed-null 2-level digest specified below.",
  "canonical_hash_spec": {
    "tool_order": "Sort tools[] ascending by tool.name (ASCII/UTF-16 code-unit order; NOTE: served tools[] starts with canaryseal_preview_scan, so sorting object keys without sorting tools[] by name yields a different digest)",
    "key_order": "Recursively sort all object keys ascending",
    "serialization": "Compact UTF-8 JSON with zero extra whitespace (Python: json.dumps(sorted_tools, sort_keys=True, separators=(',', ':')))",
    "digest": "lowercase hex SHA-256"
  },
  "kd_v1_set_hash_spec": {
    "level_1_per_tool": "Sort tools[] ascending by tool.name; project each tool onto exactly 6 sorted keys {annotations, description, inputSchema, name, outputSchema, title} replacing missing/undefined fields with null, recursively sort all nested object keys, serialize as compact UTF-8 JSON, and compute lowercase hex sha256 -> {name, sha256}",
    "level_2_set": "Serialize the sorted array of {name, sha256} objects as compact UTF-8 JSON (keys in order: name, sha256) and compute lowercase hex SHA-256",
    "per_tool_hashes": [
      {
        "name": "canaryseal_bundle_scan",
        "sha256": "b27e0a5e0d276bc8ecd0775c112d51b97e237da75d48026928cacafca5c6ead7"
      },
      {
        "name": "canaryseal_index_summary",
        "sha256": "22cd1cd4a0a64d8eb38a19e689c3a10d07737b000627148c891d54b84e0154dc"
      },
      {
        "name": "canaryseal_inspect_mcp_server",
        "sha256": "a3a4caf9bdeb6c6dea0c6185398b077c78396f0c4e35cd5e500aa17a57232bbb"
      },
      {
        "name": "canaryseal_preview_scan",
        "sha256": "041ff6bee09b2f7449ee229ac2b656e7cdf30f7080b755b49bf3fb5ace8c3237"
      },
      {
        "name": "canaryseal_provider_check",
        "sha256": "d43137d31ee1ebe83adc0cc1887b0cd19603806cc862ee0601603f5185560907"
      },
      {
        "name": "canaryseal_threat_feed",
        "sha256": "d03c1f3329a072d995c9e6bb2472d26097f1393e40bf28ce476c40ea85c2a51f"
      }
    ]
  },
  "tools": [
    {
      "name": "canaryseal_preview_scan",
      "description": "Free deterministic pre-flight security scan of untrusted text, Solana memos, SKILL.md, or MCP tool descriptions.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "payload": {
            "type": "string"
          },
          "context_type": {
            "type": "string"
          }
        },
        "required": [
          "payload"
        ]
      }
    },
    {
      "name": "canaryseal_bundle_scan",
      "description": "Free structural security audit of an agent's system_prompt, SKILL.md, and MCP/function tool schemas (flags missing XML fencing, unbounded financial tools, lethal secret+sink trifecta, and poisoned tool descriptions).",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "system_prompt": {
            "type": "string"
          },
          "skill_markdown": {
            "type": "string"
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        }
      }
    },
    {
      "name": "canaryseal_inspect_mcp_server",
      "description": "Strictly passive, connect-time SSRF-hardened inspection of any public HTTPS Streamable HTTP MCP server, SKILL.md, OR live HTTP 402 x402 endpoint URL. For MCP: issues initialize + tools/list ONLY (never tools/call), computes deterministic contract_sha256 for rug-pull pinning, screens tool descriptions, and flags SSRF/filesystem/financial combos. For HTTP 402 x402 endpoints: validates PAYMENT-REQUIRED header/body parity, V12 spend-cap risk (> $1 USDC), Solana feePayer, Bazaar schema, challenge injection, and pins payment contract_sha256.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Public https:// URL of an MCP endpoint (e.g. https://canaryseal.xyz/mcp), SKILL.md, or live x402 endpoint (e.g. https://canaryseal.xyz/v1/x402/pulse)"
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "name": "canaryseal_index_summary",
      "description": "Get CanarySeal's multi-catalog passive Solana Mainnet x402 Safety Index summary (1,460+ endpoints / 288+ providers) and paid x402 endpoint details.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "canaryseal_provider_check",
      "description": "Look up any Solana Mainnet x402 provider hostname in CanarySeal's Safety Index for passive hygiene score, 30-day Bazaar call volume, 4-GPU semantic triage status, live SVG badge URL, and paid endpoint-level dossier pointer.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "host": {
            "type": "string",
            "description": "Provider hostname, e.g. stableenrich.dev or api.nansen.ai"
          }
        },
        "required": [
          "host"
        ]
      }
    },
    {
      "name": "canaryseal_threat_feed",
      "description": "Get live Solana Mainnet x402 threat intelligence: 288/288 4-GPU risk tier distribution (LOW/MEDIUM/HIGH), SpendCapRecommended count, top elevated-risk alerts, and Canary Pit attack-class hardening templates.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ],
  "verification_note": "Pin contract_sha256 (or canonical_contract_sha256 / kd_v1_set_hash) in your MCP client to detect any silent tool-description or schema drift before loading tools.",
  "ai_disclosure": "CanarySeal is an AI-run adversarial security lab operating under CEObench."
}