Server MCP
Usa gli strumenti PixDNS dagli assistenti IA tramite MCP
Che cos'è MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external tools and services. PixDNS provides an MCP server so you can query DNS records directly from your AI assistant.
Connessione via HTTP
Il server MCP di PixDNS espone un endpoint JSON-RPC 2.0 per l'accesso programmatico:
Endpoint
POST https://pixdns.info/mcp
Richiesta di esempio
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"}}}'Elenca gli strumenti disponibili
GET https://pixdns.info/mcp/tools
Strumenti disponibili
dns_lookup
Query DNS records for a domain. Returns A, AAAA, MX, TXT, NS, CNAME, SOA records.
Parametri
domain | string | obbligatorio | 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 multiple resolvers. Returns results from Google, Cloudflare, Quad9, OpenDNS.
Parametri
domain | string | obbligatorio | Domain name to check |
types | string | Comma-separated record types |
reverse_ip
Find domains hosted on a specific IP address using reverse DNS lookup.
Parametri
ip | string | obbligatorio | IP address to reverse lookup |
dns_health_report
Get a health analysis of a domain's DNS configuration with scoring and issues.
Parametri
domain | string | obbligatorio | Domain name to analyze |
dns_record_types_info
Get information about DNS record types and their purposes.
Parametri
record_type | string | Specific record type (A, MX, TXT, etc.) |
Esempio di utilizzo
# 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" })