Logo di Network and domain tools MCP server mcp-domaintools

Network and domain tools MCP server mcp-domaintools

Community
patrickdappollonio

Perform DNS lookups, WHOIS queries, connectivity testing, TLS certificate analysis, HTTP endpoint monitoring, and hostname resolution, all from your trusty AI.

Autorepatrickdappollonio
Repositorymcp-netutils
LinguaGo
Fork
5
Stelle
10
Strumenti disponibili
0
Tipo di trasportostdio, streamable-http
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Network and domain tools MCP server mcp-domaintools mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    10 stelle e 5 fork nel repository collegato.

Network and domain utils MCP server mcp-netutils

Github Downloads

[!IMPORTANT]

This project is now called mcp-netutils. If you're upgrading, please update your references:

  • Docker images: ghcr.io/patrickdappollonio/mcp-netutils:latest
  • Homebrew: patrickdappollonio/tap/mcp-netutils
  • Configuration key: Use "netutils" in your MCP server configuration

For more details about this change, see issue #52.

mcp-netutils is a Model Context Protocol (MCP) server providing comprehensive network and domain analysis capabilities for AI assistants. It enables AI models to perform DNS lookups, WHOIS queries, connectivity testing, TLS certificate analysis, HTTP endpoint monitoring, and hostname resolution.

For local DNS queries, it uses the system's configured DNS servers. For remote DNS queries, it uses Cloudflare DNS-over-HTTPS queries with a fallback to Google DNS-over-HTTPS. This is more than enough for most use cases.

For custom DNS-over-HTTPS servers, you can use the --remote-server-address flag. The server endpoint must implement the HTTP response format as defined by RFC 8484.

For custom WHOIS servers, you can use the --custom-whois-server flag. The server endpoint must implement the HTTP response format as defined by RFC 3912, although plain text responses are also supported.

Features

  • Local DNS Queries: Perform DNS lookups using the OS-configured DNS servers
  • Remote DNS-over-HTTPS: Perform secure DNS queries via Cloudflare and Google DNS-over-HTTPS services
  • WHOIS Lookups: Perform WHOIS queries to get domain registration information
  • Hostname Resolution: Convert hostnames to their corresponding IP addresses (IPv4, IPv6, or both)
  • Ping Operations: Test connectivity and measure response times to hosts using ICMP
  • HTTP Ping Operations: Test HTTP endpoints and measure detailed response times including DNS, connection, TLS, and TTFB timing
  • TLS Certificate Analysis: Check TLS certificate chains for validity, expiration, and detailed certificate information
  • Multiple Record Types: Support for A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, and TXT record types
  • Fallback Mechanism: Automatically tries multiple DNS servers for reliable results
  • SSE Support: Run as an HTTP server with Server-Sent Events (SSE) for web-based integrations

Installation

There are two ways to get this MCP server: you can use the Docker mode (which, if you have Docker installed, will automatically download and run the MCP server) or the binary options, both by getting one from the releases page or by installing it with Homebrew for macOS and Linux.

Editor Configuration

Add the following configuration to your editor's settings to use mcp-netutils via the binary option:

json5
{
  "mcpServers": {
    "netutils": {
      "command": "mcp-netutils",
      "args": [
        // Uncomment and modify as needed:
        // "--remote-server-address=https://your-custom-doh-server.com/dns-query",
        // "--custom-whois-server=whois.yourdomain.com",
        // "--timeout=5s",
        // "--ping-timeout=5s",
        // "--ping-count=4",
        // "--http-ping-timeout=10s",
        // "--http-ping-count=1",
        // "--tls-timeout=10s"
      ],
      "env": {}
    }
  }
}

You can use mcp-netutils directly from your $PATH as shown above, or provide the full path to the binary (e.g., /path/to/mcp-netutils).

Alternatively, you can run mcp-netutils directly with Docker without installing the binary:

json5
{
  "mcpServers": {
    "netutils": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/patrickdappollonio/mcp-netutils:latest",
        // Add custom options if needed:
        // "--remote-server-address=https://your-custom-doh-server.com/dns-query",
        // "--custom-whois-server=whois.yourdomain.com",
        // "--timeout=5s",
        // "--ping-timeout=5s",
        // "--ping-count=4",
        // "--http-ping-timeout=10s",
        // "--http-ping-count=1",
        // "--tls-timeout=10s"
      ],
      "env": {}
    }
  }
}

See "Available MCP Tools" for information on the tools exposed by mcp-netutils.

Homebrew (macOS and Linux)

bash
brew install patrickdappollonio/tap/mcp-netutils

Docker

The MCP server is available as a Docker image using stdio to communicate:

bash
docker pull ghcr.io/patrickdappollonio/mcp-netutils:latest
docker run --rm ghcr.io/patrickdappollonio/mcp-netutils:latest

For SSE mode with Docker, expose the SSE port (default 3000):

bash
docker run --rm -p 3000:3000 ghcr.io/patrickdappollonio/mcp-netutils:latest --sse --sse-port 3000

Check the implementation above on how to configure the MCP server to run as a container in your editor or tool.

GitHub Releases

Download the pre-built binaries for your platform from the GitHub Releases page.

Available MCP Tools

There are 7 tools available:

  • local_dns_query: Perform DNS queries against the local DNS resolver as configured by the OS
  • remote_dns_query: Perform DNS queries against a remote DNS-over-HTTPS server (Cloudflare/Google)
  • whois_query: Perform WHOIS lookups to get domain registration information
  • resolve_hostname: Convert a hostname to its corresponding IP addresses (IPv4, IPv6, or both)
  • ping: Perform ICMP ping operations to test connectivity and measure response times to hosts
  • http_ping: Perform HTTP ping operations to test HTTP endpoints and measure detailed response times
  • tls_certificate_check: Check TLS certificate chain for a domain to analyze certificate validity, expiration, and chain structure

Running Modes

Standard (stdio) Mode

By default, mcp-netutils runs in stdio mode, which is suitable for integration with editors and other tools that communicate via standard input/output.

bash
mcp-netutils

Server-Sent Events (SSE) Mode

Alternatively, you can run mcp-netutils as an HTTP server with SSE support for web-based integrations:

bash
mcp-netutils --sse --sse-port=3000

In SSE mode, the server will listen on the specified port (default: 3000) and provide the same MCP tools over HTTP using Server-Sent Events. This is useful for web applications or environments where stdio communication isn't practical.

Configuration Options

The following command-line flags are available to configure the MCP server:

General Options

  • --timeout=DURATION: Timeout for DNS queries (default: 5s)
  • --remote-server-address=URL: Custom DNS-over-HTTPS server address
  • --custom-whois-server=ADDRESS: Custom WHOIS server address

Ping Options

  • --ping-timeout=DURATION: Timeout for ping operations (default: 5s)
  • --ping-count=NUMBER: Default number of ping packets to send (default: 4)

HTTP Ping Options

  • --http-ping-timeout=DURATION: Timeout for HTTP ping operations (default: 10s)
  • --http-ping-count=NUMBER: Default number of HTTP ping requests to send (default: 1)

TLS Options

  • --tls-timeout=DURATION: Timeout for TLS certificate checks (default: 10s)

SSE Server Options

  • --sse: Enable SSE server mode
  • --sse-port=PORT: Specify the port to listen on (default: 3000)

Tool Usage Documentation

Local DNS Query

Performs DNS queries using local OS-defined DNS servers.

Arguments:

  • domain (required): The domain name to query (e.g., example.com)
  • record_type (required): Type of DNS record to query - defaults to A
    • Supported types: A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT

Example:

bash
# Query A record for example.com
{"domain": "example.com", "record_type": "A"}

# Query MX records for a domain
{"domain": "example.com", "record_type": "MX"}

Remote DNS Query

Performs DNS queries using remote DNS-over-HTTPS servers (Cloudflare as primary, Google as fallback).

Arguments:

  • domain (required): The domain name to query (e.g., example.com)
  • record_type (required): Type of DNS record to query - defaults to A
    • Supported types: A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT

Example:

bash
# Query A record using remote DNS-over-HTTPS
{"domain": "example.com", "record_type": "A"}

WHOIS Query

Performs WHOIS lookups to get domain registration information.

Arguments:

  • domain (required): The domain name to query (e.g., example.com)

Example:

bash
# Get WHOIS information for a domain
{"domain": "example.com"}

Hostname Resolution

Converts a hostname to its corresponding IP addresses using the system resolver.

Arguments:

  • hostname (required): The hostname to resolve (e.g., example.com)
  • ip_version (optional): IP version to resolve - defaults to ipv4
    • Options: ipv4, ipv6, both

Example:

bash
# Resolve to IPv4 addresses only
{"hostname": "example.com", "ip_version": "ipv4"}

# Resolve to both IPv4 and IPv6
{"hostname": "example.com", "ip_version": "both"}

Ping

Performs ICMP ping operations to test connectivity and measure response times to hosts.

Arguments:

  • target (required): The hostname or IP address to ping (e.g., example.com or 8.8.8.8)
  • count (optional): Number of ping packets to send - defaults to 4

Example:

bash
# Ping a host 4 times (default)
{"target": "example.com"}

# Ping a host 10 times
{"target": "8.8.8.8", "count": 10}

HTTP Ping

Performs HTTP ping operations to test HTTP endpoints and measure detailed response times.

Arguments:

  • url (required): The URL to ping (e.g., https://api.example.com/users)
  • method (optional): HTTP method to use - defaults to GET
    • Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH
  • count (optional): Number of HTTP requests to send - defaults to 1

Response Format: The tool returns detailed timing information in a one-liner format:

GET https://api.example.com/users 200 OK | dns=42ms conn=156ms tls=298ms ttfb=567ms total=623ms

Timing Measurements:

  • dns: DNS resolution time
  • conn: TCP connection establishment time
  • tls: TLS handshake time (only for HTTPS URLs)
  • ttfb: Time to first byte (server response time)
  • total: Total request time

Example:

bash
# Single GET request
{"url": "https://httpbin.org/get"}

# Multiple POST requests
{"url": "https://httpbin.org/post", "method": "POST", "count": 3}

# Test API endpoint
{"url": "https://api.github.com/users/octocat"}

TLS Certificate Check

Checks TLS certificate chain for a domain to analyze certificate validity, expiration, and chain structure.

Arguments:

  • domain (required): The domain name to check TLS certificate for (e.g., example.com)
  • port (optional): Port to connect to for TLS check - defaults to 443
  • include_chain (optional): Whether to include the full certificate chain in the response - defaults to true
  • check_expiry (optional): Whether to check certificate expiration and provide warnings - defaults to true
  • server_name (optional): Server name for SNI (Server Name Indication) - defaults to the domain name

Example:

bash
# Check TLS certificate for domain
{"domain": "example.com"}

# Check TLS certificate on custom port
{"domain": "example.com", "port": 8443}

# Check without certificate chain details
{"domain": "example.com", "include_chain": false}

Examples

Basic Usage Examples

bash
# Start the MCP server in stdio mode
mcp-netutils

# Start with custom DNS timeout
mcp-netutils --timeout=10s

# Start with custom HTTP ping settings
mcp-netutils --http-ping-timeout=15s --http-ping-count=3

# Start in SSE mode on port 8080
mcp-netutils --sse --sse-port=8080

Advanced Configuration Examples

bash
# Use custom DNS-over-HTTPS server
mcp-netutils --remote-server-address=https://dns.quad9.net/dns-query

# Use custom WHOIS server
mcp-netutils --custom-whois-server=whois.custom.com

# Combine multiple options
mcp-netutils \
  --timeout=10s \
  --ping-timeout=3s \
  --ping-count=3 \
  --http-ping-timeout=15s \
  --http-ping-count=2 \
  --tls-timeout=30s

Installazione

TypingMind
Prerequisiti:

Node.js 18+

{
  "mcpServers": {
    "patrickdappollonio-mcp-domaintools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-domaintools"
      ]
    }
  }
}

Usa MCP Network and domain tools MCP server mcp-domaintools con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Network and domain tools MCP server mcp-domaintools, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Puoi eseguire MCP localmente sul tuo dispositivo o connetterti all'URL di un server MCP remoto.

Opzione 1: usa il connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Network and domain tools MCP server mcp-domaintools come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Network and domain tools MCP server mcp-domaintools.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "patrickdappollonio-mcp-domaintools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-domaintools"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Network and domain tools MCP server mcp-domaintools, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Network and domain tools MCP server mcp-domaintools.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Network and domain tools MCP server mcp-domaintools per aiutarmi con questa attività?
Network and domain tools MCP server mcp-domaintools
Certo. Ho letto.
Ecco cosa ho trovato con Network and domain tools MCP server mcp-domaintools.

Opzione 2: aggiungi l'URL di un server MCP

Usa questo metodo se Network and domain tools MCP server mcp-domaintools è già ospitato in remoto o se il tuo team vuole un unico connettore condiviso accessibile a più utenti.

1

Apri Connettori MCP

In TypingMind, vai su Plugin, apri Connettori MCP e scegli Aggiungi URL.

  1. Apri TypingMind nel tuo browser.
  2. Vai a Plugin.
  3. Apri Connettori MCP.
  4. Fai clic su Aggiungi URL.
Modulo di TypingMind per aggiungere l'URL di un server MCP personalizzato
2

Incolla l'URL del server

Inserisci URL del tuo server nel campo URL del server. Aggiungi un nome per la connessione, una descrizione, un'icona, header HTTP personalizzati o le impostazioni del client OAuth se richiesti dal server.

  1. Incolla URL del tuo server nel campo URL del server.
  2. Inserisci un nome per la connessione a Network and domain tools MCP server mcp-domaintools.
  3. Aggiungi una descrizione e un'icona per riconoscere più facilmente la connessione.
  4. Aggiungi header HTTP personalizzati o i dati del client OAuth se il server richiede l'autenticazione.
3

Crea la connessione

Fai clic su Crea connessione, poi torna all'elenco dei plugin e verifica che la nuova connessione MCP sia attiva.

  1. Fai clic su Crea connessione.
  2. Torna all'elenco dei connettori MCP.
  3. Verifica che la connessione Network and domain tools MCP server mcp-domaintools risulti attiva.
  4. Aggiorna l'elenco dei plugin se la connessione non appare subito.
4

Cambia modello senza riconnetterti

Avvia una chat con il tuo modello preferito, abilita gli strumenti di Network and domain tools MCP server mcp-domaintools dalla sezione Plugin e passa a un altro modello quando serve. La connessione MCP rimane disponibile nell'area di lavoro di TypingMind.

  1. Avvia una nuova chat in TypingMind.
  2. Seleziona il modello IA che vuoi usare.
  3. Abilita gli strumenti di Network and domain tools MCP server mcp-domaintools dalla sezione Plugin.
  4. Chiedi al modello di usare lo strumento quando serve.
  5. Passa a un altro modello IA e riutilizza la stessa connessione MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Network and domain tools MCP server mcp-domaintools per aiutarmi con questa attività?
Network and domain tools MCP server mcp-domaintools
Certo. Ho letto.
Ecco cosa ho trovato con Network and domain tools MCP server mcp-domaintools.

Domande frequenti

A cosa serve il server MCP Network and domain tools MCP server mcp-domaintools?

Network and domain tools MCP server mcp-domaintools è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Network and domain tools MCP server mcp-domaintools MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Network and domain tools MCP server mcp-domaintools con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Network and domain tools MCP server mcp-domaintools con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Network and domain tools MCP server mcp-domaintools, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Network and domain tools MCP server mcp-domaintools MCP a TypingMind?

Puoi collegare Network and domain tools MCP server mcp-domaintools a TypingMind con il connettore MCP locale oppure aggiungendo l'URL di un server MCP remoto. Usa il connettore locale quando il server deve accedere a file, app o risorse private sul tuo dispositivo; usa invece l'URL del server quando il server MCP è ospitato in remoto.

Quali strumenti offre Network and domain tools MCP server mcp-domaintools MCP in TypingMind?

Network and domain tools MCP server mcp-domaintools mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Network and domain tools MCP server mcp-domaintools MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Network and domain tools MCP server mcp-domaintools richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇