Skip to main content
Glama

mcp-nettools

用于网络诊断的 MCP 服务器。提供 8 种工具,可供 Claude Code、Claude Desktop 或任何 MCP 客户端使用。

工具

工具

描述

ping

ICMP ping — 可达性和往返时间

dns_lookup

DNS 记录查询 (A, AAAA, MX, TXT, NS, CNAME)

port_check

TCP 端口开启/关闭检查

traceroute

网络路径追踪

speedtest

通过最近的服务器进行下载/上传速度测试

wake_on_lan

向 MAC 地址发送 WoL 魔术包

cert_check

SSL 证书过期时间、颁发者、剩余天数

mac_lookup

MAC 地址 OUI 厂商查询

Related MCP server: ProbeOps MCP Server

快速开始

uvx (无需安装)

uvx mcp-nettools

Docker

docker run -i ghcr.io/aaronckj/mcp-nettools:latest

Claude Code

claude mcp add nettools -- uvx mcp-nettools

Claude Desktop

添加到 ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "nettools": {
      "command": "uvx",
      "args": ["mcp-nettools"]
    }
  }
}

或者使用 Docker:

{
  "mcpServers": {
    "nettools": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/aaronckj/mcp-nettools:latest"]
    }
  }
}

要求

对于 ping 和 traceroute 工具,服务器需要系统二进制文件:

  • Linux: apt install iputils-ping traceroute

  • macOS: 两者均已预装

  • Docker: 镜像中已包含

许可证

MIT

Available Tools

8 tools
cert_checkA

Check the SSL certificate on a host — expiry, issuer, days remaining.

Inputs: host (required), port.

dns_lookupA

Look up DNS records for a hostname. record_type: A, AAAA, MX, TXT, NS, CNAME.

Inputs: host (required), record_type.

mac_lookupB

Look up the vendor/manufacturer for a MAC address (OUI database).

Inputs: mac (required).

pingC

Ping a host and return reachability and round-trip times.

Inputs: host (required), count, timeout.

port_checkA

Check if a TCP port is open on a host.

Inputs: host (required), port (required), timeout.

speedtestA

Run a network speed test using the nearest server.

Inputs: no named parameters.

tracerouteC

Trace the network path to a host.

Inputs: host (required), max_hops, timeout.

wake_on_lanB

Send a Wake-on-LAN magic packet to a MAC address.

Inputs: mac (required), broadcast.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: SSL cert checking, DNS lookups, MAC vendor lookup, ping, port checking, speedtest, traceroute, and Wake-on-LAN. No two tools overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern (e.g., cert_check, dns_lookup, mac_lookup). Even 'ping' fits as a concise verb in the network domain.

    Tool Count5/5

    With 8 tools, the server covers a practical range of network diagnostics without being bloated. Each tool addresses a common need, making the count well-scoped.

    Completeness4/5

    The set covers essential network tools (DNS, ping, traceroute, port check, speed test, SSL cert, MAC lookup, WoL). Minor gaps like a whois lookup or HTTP status check are not critical but could be included.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Network diagnostics — ping, traceroute, DNS lookup, port scanning, and connectivity testing via MCP.
      14
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for running infrastructure diagnostics from 6 global regions. It provides tools like SSL checks, DNS lookups, ping, whois, port checks, traceroute, latency tests, and more, with a free demo mode (10 calls/day) and no API key required.
      89 npm
      MIT