Logo vun Network and domain tools MCP server mcp-domaintools

Network and domain tools MCP server mcp-domaintools

Communautéit
patrickdappollonio

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

Editeurpatrickdappollonio
Repositorymcp-netutils
SproochGo
Forks
5
Stären
10
Disponibel Tools
0
Transporttypstdio, streamable-http
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Network and domain tools MCP server mcp-domaintools stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    10 Stären an 5 Forks aus dem verlinkte Repository.

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

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

Network and domain tools MCP server mcp-domaintools MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Network and domain tools MCP server mcp-domaintools verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dir kënnt MCP lokal op Ärem Apparat ausféieren oder Iech mat enger Remote-MCP-Server-URL verbannen.

Optioun 1: De lokale Connector benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Network and domain tools MCP server mcp-domaintools als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Network and domain tools MCP server mcp-domaintools an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "patrickdappollonio-mcp-domaintools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-domaintools"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Network and domain tools MCP server mcp-domaintools. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Network and domain tools MCP server mcp-domaintools.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Network and domain tools MCP server mcp-domaintools?
Network and domain tools MCP server mcp-domaintools
Jo. Ech hunn et gelies.
Dat hunn ech mat Network and domain tools MCP server mcp-domaintools fonnt.

Optioun 2: Eng MCP-Server-URL derbäisetzen

Benotzt dës Optioun, wann Network and domain tools MCP server mcp-domaintools scho remote gehost gëtt oder Är Ekipp ee gemeinsame Connector wëllt, op dee méi Benotzer kënnen zougräifen.

1

MCP-Connectoren opmaachen

Gitt an TypingMind op „Plugins“, maacht „MCP-Connectoren“ op a wielt dann „URL derbäisetzen“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Gitt op „Plugins“.
  3. Maacht „MCP-Connectoren“ op.
  4. Klickt op „URL derbäisetzen“.
TypingMind-Formulaire fir eng benotzerdefinéiert MCP-Server-URL derbäizesetzen
2

D'Server-URL apeschen

Gitt Är Server-URL am Feld „Server-URL“ an. Setzt e Verbindungsnumm, eng Beschreiwung, e Symbol, benotzerdefinéiert HTTP-Headeren oder OAuth-Clientastellungen derbäi, wann de Server se erfuerdert.

  1. Pescht Är Server-URL an d'Feld „Server-URL“.
  2. Gitt en Numm fir d'Verbindung mat Network and domain tools MCP server mcp-domaintools an.
  3. Setzt eng Beschreiwung an e Symbol derbäi, fir d'Verbindung méi einfach erëmzeerkennen.
  4. Setzt benotzerdefinéiert HTTP-Headeren oder OAuth-Clientdetailer derbäi, wann de Server eng Authentifizéierung erfuerdert.
3

D'Verbindung erstellen

Klickt op „Verbindung erstellen“, gitt dann zeréck op d'Plugin-Lëscht a kontrolléiert, ob déi nei MCP-Verbindung aktiv ass.

  1. Klickt op „Verbindung erstellen“.
  2. Gitt zeréck op d'Lëscht vun de MCP-Connectoren.
  3. Kontrolléiert, ob d'Verbindung mat Network and domain tools MCP server mcp-domaintools als aktiv ugewise gëtt.
  4. Aktualiséiert d'Plugin-Lëscht, wann d'Verbindung net direkt ugewise gëtt.
4

Modeller wiesselen ouni nei ze verbannen

Start e Chat mat Ärem bevorzugte Modell, aktivéiert d'Tools vu Network and domain tools MCP server mcp-domaintools ënner „Plugins“ a wiesselt bei Bedarf op en anere Modell. D'MCP-Verbindung bleift am TypingMind-Aarbechtsberäich disponibel.

  1. Start en neie Chat an TypingMind.
  2. Wielt de KI-Modell, deen Dir benotze wëllt.
  3. Aktivéiert d'Tools vu Network and domain tools MCP server mcp-domaintools ënner „Plugins“.
  4. Biet de Modell, den Tool ze benotzen, wann néideg.
  5. Wiesselt op en anere KI-Modell a benotzt déiselwecht MCP-Verbindung weider.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Network and domain tools MCP server mcp-domaintools?
Network and domain tools MCP server mcp-domaintools
Jo. Ech hunn et gelies.
Dat hunn ech mat Network and domain tools MCP server mcp-domaintools fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Network and domain tools MCP server mcp-domaintools benotzt?

Network and domain tools MCP server mcp-domaintools ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Network and domain tools MCP server mcp-domaintools MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Network and domain tools MCP server mcp-domaintools mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Network and domain tools MCP server mcp-domaintools MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Network and domain tools MCP server mcp-domaintools verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Network and domain tools MCP server mcp-domaintools MCP mat TypingMind?

Dir kënnt Network and domain tools MCP server mcp-domaintools iwwer de lokale MCP-Connector oder iwwer d'URL vun engem Remote-MCP-Server mat TypingMind verbannen. Benotzt de lokale Connector, wann de Server Zougrëff op Fichieren, Apps oder privat Ressourcen op Ärem Apparat brauch, an eng Server-URL, wann de MCP-Server op Distanz gehost gëtt.

Wéi eng Tools stellt Network and domain tools MCP server mcp-domaintools MCP an TypingMind zur Verfügung?

Network and domain tools MCP server mcp-domaintools stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Network and domain tools MCP server mcp-domaintools MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Network and domain tools MCP server mcp-domaintools eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇