Skip to main content
Glama
Keel

Keel

by seayniclabs

Sounding

MCP-сервер для сетевой диагностики

License: MIT

Зондирование того, что скрыто под поверхностью — сетевая диагностика для инструментов ИИ.


Что он делает

Sounding — это сервер Model Context Protocol (MCP), предоставляющий ИИ-ассистентам 14 инструментов сетевой диагностики. Он выполняет задачи, для которых вы обычно используете ping, dig, nmap или openssl, но предоставляет их в виде структурированных и проверенных вызовов инструментов MCP.

Related MCP server: netops-mcp

Инструменты

Инструмент

Описание

Основные параметры

health

Проверка версии и статуса сервера

--

ping

TCP-пинг (порт 80) со статистикой задержки

host, count (1--100), timeout

traceroute

Трассировка сетевого маршрута до хоста

host, max_hops (1--64)

dns_lookup

Разрешение DNS-записей (A, AAAA, MX, CNAME, TXT, NS)

domain, record_type, nameserver

reverse_dns

Обратный DNS-запрос для IP-адреса

ip

port_check

Проверка открыт ли конкретный TCP-порт

host, port, timeout

port_scan

Сканирование распространенных TCP-портов (с ограничением частоты, макс. 100)

host, ports

check_ssl_cert

Проверка деталей и срока действия SSL/TLS-сертификата

host, port

whois_lookup

WHOIS-запрос регистрации домена

domain

http_check

HTTP-запрос со статусом, временем, заголовками и размером

url

subnet_scan

Обнаружение активных хостов в локальной подсети (только RFC 1918)

subnet (CIDR, макс. /20)

get_public_ip

Получение публичного IP-адреса машины

--

speed_test

Измерение скорости загрузки (Мбит/с) и задержки

--

dns_propagation

Проверка распространения DNS по публичным резолверам

domain, record_type

Установка

Из PyPI:

pip install sounding-mcp

Или изолированно с помощью pipx:

pipx install sounding-mcp

Использование

Запустите сервер напрямую (транспорт stdio):

sounding

Claude Code

Зарегистрируйте как локальный MCP-сервер:

claude mcp add sounding -- sounding

Claude Desktop

Добавьте в ваш claude_desktop_config.json:

{
  "mcpServers": {
    "sounding": {
      "command": "sounding",
      "args": []
    }
  }
}

Если сервер установлен в виртуальном окружении, используйте полный путь к бинарному файлу:

{
  "mcpServers": {
    "sounding": {
      "command": "/path/to/.venv/bin/sounding",
      "args": []
    }
  }
}

Безопасность

Sounding разработан с учетом безопасности для использования в ИИ:

  • Защита от SSRF — http_check разрешает имена хостов и блокирует запросы к внутренним, частным, loopback и link-local IP-адресам (включая IPv4-mapped IPv6). Конечные точки облачных метаданных (169.254.x.x) заблокированы.

  • Валидация входных данных — все входные данные проходят через валидаторы, которые отклоняют метасимволы оболочки, некорректные имена хостов и недопустимые порты до того, как они попадут в сетевой вызов или подпроцесс.

  • Ограничение частоты запросов (Rate limiting) — port_scan принудительно устанавливает минимальный интервал в 1 секунду между сканированиями для предотвращения злоупотреблений.

  • Ограничение подсети — subnet_scan разрешает только частные подсети RFC 1918 и ограничивает их размером /20 (4096 адресов) с ограничением параллелизма.

  • Отсутствие инъекций в оболочку — вызовы подпроцессов (traceroute, whois) используют вызов в стиле exec, без интерполяции оболочки.

Разработка

git clone https://github.com/seayniclabs/sounding.git
cd sounding
python -m venv .venv
source .venv/bin/activate
pip install -e ".[test]"
python -m pytest tests/ -q

Лицензия

MIT

Available Tools

14 tools
check_ssl_certA

Inspect the SSL/TLS certificate on a host.

Returns issuer, subject, expiry, SANs, and days until expiry.

Inputs: host (required), port.

dns_lookupC

Resolve DNS records for a domain using dnspython.

Supported record types: A, AAAA, MX, CNAME, TXT, NS.

Inputs: domain (required), record_type, nameserver.

dns_propagationA

Check DNS propagation across multiple public resolvers.

Queries Google (8.8.8.8), Cloudflare (1.1.1.1), OpenDNS (208.67.222.222), Quad9 (9.9.9.9), and the system default resolver in parallel, then highlights any inconsistencies between them.

Supported record types: A, AAAA, CNAME, MX, TXT.

Inputs: domain (required), record_type.

get_public_ipB

Get the public IP address of this machine.

Inputs: no named parameters.

healthA

Return server version and status.

Inputs: no named parameters.

http_checkB

Perform an HTTP request and return timing breakdown.

Returns status code, timing (DNS, connect, TLS, TTFB, total), response size, and headers.

Inputs: url (required).

pingA

Ping a host using TCP connect (port 80) as a non-root ICMP alternative.

Returns min/avg/max/jitter latency in milliseconds.

Inputs: host (required), count, timeout.

port_checkC

Check whether a single TCP port is open on a host.

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

port_scanC

Scan common TCP ports on a host.

Safety limits: max 100 ports, rate-limited to one scan per second.

Inputs: host (required), ports.

reverse_dnsC

Perform a reverse DNS lookup for an IP address.

Inputs: ip (required).

speed_testA

Measure network download speed and latency.

Downloads a 10 MB test payload from Cloudflare and measures throughput. Also measures latency with multiple TCP connect pings. Returns download speed in Mbps and latency stats in milliseconds.

Inputs: no named parameters.

subnet_scanA

Discover live hosts on a local subnet by probing common ports.

Only allows RFC 1918 private subnets for safety. Probes TCP ports 22, 80, and 443 on each host.

Inputs: subnet (required).

tracerouteC

Trace the network route to a host.

Wraps the system traceroute command and parses output.

Inputs: host (required), max_hops.

whois_lookupB

WHOIS lookup for a domain using the system whois command.

Inputs: domain (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 14 tools

    Disambiguation5/5

    All 14 tools have clearly distinct purposes, from SSL certificate checks to DNS lookups, WHOIS, and network diagnostics. There is no overlap or ambiguity between tool descriptions.

    Naming Consistency4/5

    Most tools follow a verb_noun snake_case pattern (e.g., dns_lookup, port_scan), though 'ping', 'traceroute', and 'health' break the pattern. Overall consistent and readable.

    Tool Count5/5

    14 tools is well-scoped for a network diagnostics server, covering essential functionalities without being excessive or sparse.

    Completeness4/5

    The tool set covers a wide range of network diagnostic tasks (DNS, SSL, HTTP, ports, traceroute, WHOIS, speed test, subnet scan). Minor gaps (e.g., HTTP method selection, ICMP ping) exist but do not hinder core workflows.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    Appeared in Searches