MCP Server
Use PixDNS tools directly from AI assistants via MCP
What is MCP?
The Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external tools and services. PixDNS runs an MCP server, so you can query DNS records straight from your AI assistant.
Connect via HTTP
The PixDNS MCP server exposes a JSON-RPC 2.0 endpoint for programmatic access:
Endpoint
POST https://pixdns.info/mcp
Example Request
curl -X POST https://pixdns.info/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "dns_lookup", "arguments": {"domain": "example.com"}}}'List Available Tools
GET https://pixdns.info/mcp/tools
Available Tools
dns_lookup
Query DNS records for a domain. Returns A, AAAA, MX, TXT, NS, CNAME and SOA records.
Parameters
domain | string | required | Domain name to query |
resolver | string | DNS resolver (default: 8.8.8.8) | |
types | string | Comma-separated record types |
dns_checker
Check DNS records across several resolvers. Returns the answers from Google, Cloudflare, Quad9 and OpenDNS.
Parameters
domain | string | required | Domain name to check |
types | string | Comma-separated record types |
reverse_ip
Find domains hosted on an IP address.
Parameters
ip | string | required | IP address to look up |
dns_health_report
DNS health analysis of a domain, with a score and the issues found.
Parameters
domain | string | required | Domain name to analyse |
dns_record_types_info
Information about DNS record types and what they are for.
Parameters
record_type | string | Record type (A, MX, TXT, …) |
Example Usage
# Query DNS records for a domain
dns_lookup({ domain: "example.com" })
# Check DNS across multiple resolvers
dns_checker({ domain: "example.com", types: "A,MX,TXT" })
# Reverse IP lookup
reverse_ip({ ip: "8.8.8.8" })
# Get health report
dns_health_report({ domain: "example.com" })
# Get DNS record type info
dns_record_types_info({ record_type: "MX" })