Serwer MCP
Używaj narzędzi PixDNS bezpośrednio z asystentów AI przez MCP
Czym jest 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.
Połączenie przez HTTP
Serwer MCP PixDNS udostępnia endpoint JSON-RPC 2.0 do dostępu programowego:
Endpoint
POST https://pixdns.info/mcp
Przykładowe zapytanie
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"}}}'Lista dostępnych narzędzi
GET https://pixdns.info/mcp/tools
Dostępne narzędzia
dns_lookup
Query DNS records for a domain. Returns A, AAAA, MX, TXT, NS, CNAME, SOA records.
Parametry
domain | string | wymagane | 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.
Parametry
domain | string | wymagane | Domain name to check |
types | string | Comma-separated record types |
reverse_ip
Find domains hosted on a specific IP address using reverse DNS lookup.
Parametry
ip | string | wymagane | IP address to reverse lookup |
dns_health_report
Get a health analysis of a domain's DNS configuration with scoring and issues.
Parametry
domain | string | wymagane | Domain name to analyze |
dns_record_types_info
Get information about DNS record types and their purposes.
Parametry
record_type | string | Specific record type (A, MX, TXT, etc.) |
Przykład użycia
# 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" })