Skip to content
VS Code

whois mcp server for VS Code

io.github.cyanheads/whois-mcp-server

Domain registry records and status, DNS records, and IP/ASN resolution over RDAP and DoH.

client:VS Code transport:stdio runtime:npm

Install whois mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-log-level",
      "description": "MCP_LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rdap-timeout-ms",
      "description": "RDAP_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "doh-timeout-ms",
      "description": "DOH_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rdap-max-retries",
      "description": "RDAP_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "doh-max-retries",
      "description": "DOH_MAX_RETRIES",
      "password": true
    }
  ],
  "servers": {
    "whois-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/whois-mcp-server"
      ],
      "env": {
        "MCP_LOG_LEVEL": "${input:mcp-log-level}",
        "RDAP_TIMEOUT_MS": "${input:rdap-timeout-ms}",
        "DOH_TIMEOUT_MS": "${input:doh-timeout-ms}",
        "RDAP_MAX_RETRIES": "${input:rdap-max-retries}",
        "DOH_MAX_RETRIES": "${input:doh-max-retries}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

whois mcp server in other clients