Serveur MCP
Utilisez les outils PixDNS depuis vos assistants IA via MCP
Qu'est-ce que 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.
Se connecter en HTTP
Le serveur MCP de PixDNS expose un point de terminaison JSON-RPC 2.0 pour un accès programmatique :
Point de terminaison
POST https://pixdns.info/mcp
Exemple de requête
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"}}}'Lister les outils disponibles
GET https://pixdns.info/mcp/tools
Outils disponibles
dns_lookup
Query DNS records for a domain. Returns A, AAAA, MX, TXT, NS, CNAME, SOA records.
Paramètres
domain | string | obligatoire | 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.
Paramètres
domain | string | obligatoire | Domain name to check |
types | string | Comma-separated record types |
reverse_ip
Find domains hosted on a specific IP address using reverse DNS lookup.
Paramètres
ip | string | obligatoire | IP address to reverse lookup |
dns_health_report
Get a health analysis of a domain's DNS configuration with scoring and issues.
Paramètres
domain | string | obligatoire | Domain name to analyze |
dns_record_types_info
Get information about DNS record types and their purposes.
Paramètres
record_type | string | Specific record type (A, MX, TXT, etc.) |
Exemple d'utilisation
# 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" })