MCP.so
登录

Sharkmcp MCP Server

@kriztalz

基本信息

分类

其他

传输方式

stdio

作者

kriztalz

提交者

FS

关于 Sharkmcp MCP Server

A tshark MCP server for packet capture and analysis

Sharkmcp MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "sharkmcp": {
      "command": "node",
      "args": [
        "/path/to/SharkMCP/dist/index.js"
      ]
    }
  }
}

Sharkmcp MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is SharkMCP?

SharkMCP is a Model Context Protocol (MCP) server that provides network packet capture and analysis capabilities through Wireshark/tshark integration. It is designed for AI assistants to perform network security analysis, troubleshooting, and packet inspection, particularly for debugging applications by recording traffic during test runs.

How to use SharkMCP?

Install by cloning the repository, then run pnpm install and pnpm run build. Start the server with pnpm start and configure your MCP client with the server command pointing to the built index.js. Use the tools start_capture_session, stop_capture_session, analyze_pcap_file, and manage_config to capture, analyze, and manage packet traffic.

Key features of SharkMCP

  • Async background packet capture with filters and timeouts
  • Analyze existing PCAP files
  • Flexible output: JSON, custom fields, or text
  • SSL/TLS decryption via SSL keylog files
  • Reusable capture and analysis configurations

Use cases of SharkMCP

  • Debugging a program by recording and inspecting its network traffic
  • Network security analysis and intrusion detection
  • Troubleshooting connectivity and protocol issues
  • Monitoring HTTPS traffic with SSL keylog decryption

常见问题

1

What are the system prerequisites?

Node.js version 18+, pnpm, and a working installation of Wireshark/tshark that is accessible from the command line.

2

How do I fix "tshark not found"?

Ensure Wireshark is installed and that `tshark` is in your system PATH; verify with `tshark -v`.

3

What should I do if I get "permission denied" for packet capture?

On Linux, add your user to the `wireshark` group or run with `sudo`. On macOS, grant Terminal network access in System Preferences. On Windows, run the application as Administrator.

4

How can I decrypt HTTPS traffic?

Set the environment variable `SSLKEYLOGFILE` to a file path, configure your applications to log SSL keys there, then pass that file path to the `stop_capture_session` tool.

5

What output formats does SharkMCP support?

It supports JSON, custom fields, and traditional text output, selectable via the `outputFormat` parameter in capture tools.

评论

其他 分类下的更多 MCP 服务器