Repository avatar
AI Tools
v1.0.1
active

doh-dns-security-records-mcp

io.github.theluckystrike/doh-dns-security-records-mcp

Live DNS-over-HTTPS record lookup, SPF/DMARC email auth, DNSSEC status, MX, and TXT records.

Documentation

doh-dns-security-records-mcp

Live DNS-over-HTTPS (DoH) DNS record resolution and security inspection over Model Context Protocol (MCP). AppSec teams, SREs, email deliverability engineers, and domain compliance tools can query Google Public DNS and Cloudflare DoH for DNS records, SPF and DMARC posture, dual-resolver DNSSEC status, MX mail servers, and SaaS TXT verification records with zero API keys and zero sign-up. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://doh-dns-security-records-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
resolve_dns_recordResolve standard DNS record types (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, DS, DNSKEY) over DoH
check_spf_dmarc_email_authAudit SPF (v=spf1), DMARC (_dmarc), and optional DKIM selector email authentication policies
check_dnssec_statusCross-check DNSSEC Authenticated Data (AD) flags, DS records, and DNSKEY counts across Google and Cloudflare
lookup_mx_mail_serversList priority-sorted MX mail servers and infer hosted email providers such as Google Workspace or Microsoft 365
lookup_txt_verification_recordsInspect all TXT records for a domain and classify SaaS ownership verification strings

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "doh-dns-security-records": {
      "url": "https://doh-dns-security-records-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries dns.google/resolve and cloudflare-dns.com/dns-query with Accept: application/dns-json, a polite User-Agent header (mcpstamp-doh/1.0 (hello@mcpstamp.com)), and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version 2026-07-28 down to the SDK version cleanly.

More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.