Skip to content
VS Code

dns-cache for VS Code

io.github.weiseer/dns-cache

DNS/WHOIS/SSL/geo-IP cache MCP server for AI agents.

client:VS Code transport:stdio runtime:npm

Install dns-cache in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dns-cache-url",
      "description": "DNS_CACHE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dns-cache-local-only",
      "description": "DNS_CACHE_LOCAL_ONLY",
      "password": true
    }
  ],
  "servers": {
    "dns-cache": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@weiseer/dns-cache-mcp"
      ],
      "env": {
        "DNS_CACHE_URL": "${input:dns-cache-url}",
        "DNS_CACHE_LOCAL_ONLY": "${input:dns-cache-local-only}"
      }
    }
  }
}

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

dns-cache in other clients