KM

khuynh22/mcp-wireshark

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

70 stars 8 forks Качество 86 Тренд 14MIT

khuynh22/mcp-wireshark - кандидат на сервер MCP, импортированный из https://github.com/khuynh22/mcp-wireshark.

Обзор

khuynh22/mcp-wireshark - кандидат на сервер MCP, импортированный из https://github.com/khuynh22/mcp-wireshark.

Обзор (машинный перевод)

Поддерживаемый сообществом MCP-сервер для Wireshark / tshark. Не связан с Wireshark или Anthropic. Дайте своему помощнику ИИ прямой доступ к захватам пакетов. Попросите Клода обобщить .pcap, следовать потоку TCP, фильтровать для конкретного протокола или захватывать живой трафик — все это не выходя из чата.

Быстрый старт с кодом Клода

Вот так. Откройте код Клода и попробуйте:

Обобщите ./capture.pcap и скажите мне, какие IP-адреса говорили больше всего.

T2 делает сервер доступным для каждого проекта Claude Code. Опустите флаг, чтобы установить его только для текущего проекта. См. [3] ДОКС для большего.

###Проверить установку

Вы должны увидеть [4]. Внутри Клода Кода спросите:

«Run check installation».

Если [5] находится на вашем [6], он возвращает версию. Если нет, см. Устранение неполадок.

Инструменты

Сервер предоставляет 14 инструментов, четко разделенных между read tools (безопасный, без побочных эффектов) и write tools (захват трафика или запись файлов). Обе группы аннотированы стандартом MCP readOnlyHint, так что любой совместимый клиент может обнаружить различие.

###Прочитанные инструменты

Безопасно звонить свободно — они только осматривают государство.

Инструмент Что он делает

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

mcp-wireshark

Community-maintained MCP server for Wireshark / tshark. Not affiliated with Wireshark or Anthropic. Give your AI assistant direct access to packet captures. Ask Claude to summarize a .pcap, follow a TCP stream, filter for a specific protocol, or capture live traffic — all without leaving the chat.


Quick start with Claude Code

pip install mcp-wireshark
claude mcp add --transport stdio --scope user mcp-wireshark -- mcp-wireshark

That’s it. Open Claude Code and try:

“Summarize ./capture.pcap and tell me which IPs talked the most.”

--scope user makes the server available across every Claude Code project. Drop the flag to install it for the current project only. See claude mcp docs for more.

Verify the install

claude mcp list

You should see mcp-wireshark listed. Inside Claude Code, ask:

“Run check_installation.”

If tshark is on your PATH, it returns the version. If not, see troubleshooting.


Tools

The server exposes 14 tools, split cleanly between read tools (safe, no side effects) and write tools (capture traffic or write files). Both groups are annotated with the standard MCP readOnlyHint so any compliant client can surface the distinction.

Read tools

Safe to call freely — they only inspect state.

Tool What it does
check_installation Verify tshark is installed and show version
list_interfaces List network interfaces available to capture from
read_pcap Read packets from a .pcap / .pcapng file (preview + total count)
display_filter Apply a Wireshark display filter to a pcap
summarize_pcap High-level summary: I/O stats, protocol hierarchy, top talkers
stats_by_proto Protocol hierarchy statistics
Открыть полный README на GitHub

Установка

uvx mcp-wireshark
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "wireshark": { "command": "mcp-wireshark" } } }