Skip to main content
Glama
daedalus

io.github.daedalus/mcp-pcapy-ng

by daedalus

mcp-pcapy-ng

提供 pcapy-ng 数据包捕获功能的 MCP 服务器。

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-pcapy-ng

安装

pip install mcp-pcapy-ng

Related MCP server: mcp-wireshark

用法

该 MCP 服务器提供使用 pcapy-ng 进行网络数据包捕获的工具:

from mcp_pcapy_ng import mcp
mcp.run()

或者通过命令行:

mcp-pcapy-ng

可用工具

  • findalldevs - 列出所有可用的网络接口

  • lookupdev - 获取默认网络设备

  • open_live - 打开实时网络接口进行数据包捕获

  • open_offline - 打开 pcap 文件进行读取

  • create - 创建数据包捕获句柄

  • compile - 创建 BPF 过滤器程序

  • pcap_read - 从 pcap 句柄读取数据包

  • pcap_datalink - 获取数据链路类型

  • pcap_setfilter - 附加 BPF 过滤器

  • pcap_getnonblock - 获取非阻塞状态

  • pcap_setnonblock - 设置非阻塞模式

  • get_dlt_names - 获取 DLT 常量映射

  • get_pcap_directions - 获取方向常量映射

  • get_constants - 获取所有常量

开发

git clone https://github.com/daedalus/mcp-pcapy-ng.git
cd mcp-pcapy-ng
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/
A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Beefy - 10 tools for protocol data and tools

  • Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.

  • Interact with a global network measurement platform.Run network commands from any point in the world

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-pcapy-ng'

If you have feedback or need assistance with the MCP directory API, please join our Discord server