dnsbin.ca MCP server

dnsbin exposes a streamable HTTP Model Context Protocol endpoint for agents at /mcp. It uses the same DNS and snapshot cores as the REST API, so tool results match the browser and JSON endpoints.

Endpoint

https://dnsbin.ca/mcp

Auth

OAuth or Bearer API keys from https://pastebin.ca

Scopes

dns:read dns:create dns:delete

Discovery

GET https://dnsbin.ca/.well-known/agent.json
GET https://dnsbin.ca/.well-known/oauth-protected-resource/mcp
GET https://dnsbin.ca/llms.txt
GET https://dnsbin.ca/api/v1/openapi.json

Tools

ToolScopePurpose
whoaminoneEcho account id, scopes, audience, and token kind.
dns_lookupdns:readResolve DNS records through a selected DoH resolver.
dns_propagationdns:readCompare answers across public resolvers.
dnssec_checkdns:readSummarize DNSSEC AD/DS/RRSIG status.
reverse_dnsdns:readResolve PTR records for an IP address.
rdap_lookupdns:readFetch RDAP data for a domain or IP.
mail_healthdns:readInspect MX, SPF, DMARC, and DKIM records.
discover_subdomainsdns:readProbe common subdomains for DNS records.
save_snapshotdns:createPersist a shareable read-only DNS result snapshot.

Example

curl -i https://dnsbin.ca/mcp \
  -H 'Authorization: Bearer pbca_live_…' \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

MCP access tokens are audience-bound to https://dnsbin.ca/mcp. REST API keys are audience-bound to https://dnsbin.ca.