{
  "status": "ok",
  "protocol": "Model Context Protocol (JSON-RPC 2.0)",
  "server": {
    "name": "888ip-network-tools",
    "version": "1.0.0",
    "description": "888IP Network & IP Diagnostics MCP Server"
  },
  "endpoint": "/mcp",
  "usage": "Send POST requests with JSON-RPC 2.0 payload (e.g. tools/list or tools/call)",
  "tools": [
    {
      "name": "get_client_ip",
      "description": "Get the caller's public IP address and connection details (location, user agent, timestamp).",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "lookup_ip_geo",
      "description": "Look up IP geolocation, ASN, ISP, country, city, coordinates and datacenter/proxy detection for an IPv4 or IPv6 address.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "ip": {
            "type": "string",
            "description": "The IPv4 or IPv6 address to look up. If omitted, looks up the caller's IP address."
          },
          "lang": {
            "type": "string",
            "description": "Language code for localized names (e.g. \"en\", \"zh-CN\", \"ja\", \"fr\", \"es\"). Default is \"en\"."
          }
        }
      }
    },
    {
      "name": "resolve_dns",
      "description": "Resolve domain names using DNS-over-HTTPS (DoH) across multiple global public DNS providers (Google, Cloudflare, AdGuard, AliDNS).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "hostname": {
            "type": "string",
            "description": "The domain name or hostname to resolve (e.g. \"google.com\", \"cloudflare.com\")."
          },
          "type": {
            "type": "string",
            "enum": [
              "A",
              "AAAA",
              "CNAME",
              "MX",
              "TXT",
              "NS",
              "PTR",
              "SOA"
            ],
            "description": "The DNS record type to query. Default is \"A\"."
          }
        },
        "required": [
          "hostname"
        ]
      }
    },
    {
      "name": "whois_lookup",
      "description": "Query WHOIS and RDAP registration data for a domain name or IP address.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Domain name (e.g. \"github.com\") or IP address (e.g. \"1.1.1.1\") to inspect."
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "mac_lookup",
      "description": "Look up vendor, company, and OUI hardware manufacturer details for a network MAC address.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mac": {
            "type": "string",
            "description": "MAC address or OUI prefix (e.g. \"00:1A:2B:3C:4D:5E\" or \"001A2B\")."
          }
        },
        "required": [
          "mac"
        ]
      }
    },
    {
      "name": "cf_radar_lookup",
      "description": "Query Cloudflare Radar global intelligence statistics for an Autonomous System Number (ASN), including traffic distribution, bot percentage, device types, and IPv6 adoption.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "asn": {
            "type": "string",
            "description": "Autonomous System Number (e.g. \"AS13335\" or \"15169\")."
          }
        },
        "required": [
          "asn"
        ]
      }
    }
  ]
}