经 AI Skill Hub 精选评估,MCP Wireshark 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
集成Wireshark和AI工具的MCP服务器
MCP Wireshark 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
集成Wireshark和AI工具的MCP服务器
MCP Wireshark 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/khuynh22/mcp-wireshark
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp-wireshark": {
"command": "npx",
"args": ["-y", "mcp-wireshark"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP Wireshark 执行以下任务... Claude: [自动调用 MCP Wireshark MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp_wireshark": {
"command": "npx",
"args": ["-y", "mcp-wireshark"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
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.

---
tshark reachable on PATHInstall with pip or uv:
```bash pip install mcp-wireshark
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.
---
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.
Drop these into Claude Code as-is:
List my network interfaces.
Summarize ./traffic.pcap.
From ./traffic.pcap, show me only HTTP requests.
Follow TCP stream 0 in ./traffic.pcap and tell me what protocol is in it.
Capture 30 seconds of traffic on Wi-Fi filtered to tcp.port == 443.
Export every DNS packet from ./traffic.pcap to ./dns.json.
Decode the GOOSE messages in ./substation.pcapng — only stNum >= 1.
Run expert analysis on ./traffic.pcap and group findings by severity.
Show me the IP conversations in ./traffic.pcap.
<details> <summary><b>tshark not found on Windows</b></summary>
Add Wireshark to your system PATH:
Win+R → run sysdm.cpl → Advanced → Environment VariablesPath → add C:\Program Files\Wiresharkcheck_installation(Avoid passing PATH through claude mcp add --env — values are taken literally, no %PATH% expansion.)
</details>
<details> <summary><b>Permission denied capturing on Linux</b></summary>
Add yourself to the wireshark group, then log out and back in:
sudo usermod -aG wireshark $USER
</details>
<details> <summary><b>"No packets captured" from live_capture</b></summary>
- Confirm the interface name from list_interfaces (Wireshark uses different names than ifconfig/ip) - On macOS, you may need to install ChmodBPF (ships with the Wireshark .dmg) - Check that no display filter is excluding everything </details>
---
高质量的MCP服务器,集成Wireshark和AI工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:MCP Wireshark 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | mcp-wireshark |
| 原始描述 | 开源MCP工具:An MCP server that integrates Wireshark/tshark with AI tools and IDEs. Capture l。⭐39 · Python |
| Topics | claude-aimcpnetwork-analysis |
| GitHub | https://github.com/khuynh22/mcp-wireshark |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-27 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端