pcapport MCP Server
PCAP analysis: DNS, DHCP, ICMP, TCP flows, anomalies, and SIP from capture files.
pcapport scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 62 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-pcapport": { "command": "npx", "args": [ "-y", "@reneturcios/pcapport@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
pcapport
pcapport analyses PCAP capture files entirely on your own machine. Point it at a classic libpcap file and it summarises what is inside: DNS questions and response codes, DHCP message types and the servers and clients involved, ICMP traffic, TCP connections with state estimates, TCP anomalies and retransmissions, traffic flow to and from one server, SIP calls, and basic capture information such as packet count, duration, and encapsulation.
There is no network access, no API key, and no live capture: the tool only reads the capture file you name. The parser is an original minimal implementation covering Ethernet (including a single VLAN tag) and raw-IP captures carrying IPv4, with TCP, UDP, and ICMP decoded, and DNS, DHCP, and SIP payloads understood.
Install
npx @reneturcios/pcapport analyze_capinfos '{"pcap_file":"capture.pcap"}'
Or run the container image:
docker run -i ghcr.io/cloudcorprecords/pcapport
The container defaults to the MCP server. Pass CLI arguments to use it as a CLI instead.
CLI
The CLI mirrors the tools: one subcommand per tool, taking its arguments as a single JSON object.
pcapport analyze_capinfos '{"pcap_file":"capture.pcap"}'
pcapport analyze_dns_packets '{"pcap_file":"capture.pcap"}'
pcapport analyze_tcp_connections '{"pcap_file":"capture.pcap","detailed":true}'
pcapport analyze_tcp_retransmissions '{"pcap_file":"capture.pcap","threshold":0.05}'
pcapport analyze_traffic_flow '{"pcap_file":"capture.pcap","server_ip":"10.0.0.5","server_port":80}'
pcapport --version
Exit codes: 0 on success, 1 on an error (the error names the
problem, e.g. a bad PCAP magic or a truncated file), 2 for usage
errors. An empty capture is not an error: tools return zeroed
summaries for it.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/pcapport mcp
MCP client configuration:
{
"mcpServers": {
"pcapport": {
"command": "npx",
"args": ["-y", "@reneturcios/pcapport", "mcp"]
}
}
}
Tools
| Tool | Input | What it does |
|---|---|---|
analyze_dns_packets | pcap_file (required) | DNS query/response counts, top questions (aggregated, top 20), and a response-code summary. |
analyze_dhcp_packets | pcap_file (required) | DHCP packet count by message type (discover, offer, request, ack, ...), server IPs, and client MACs. |
analyze_icmp_packets | pcap_file (required) | ICMP counts by type, echo requests/replies, unreachable count, and top talkers. |
analyze_tcp_connections | pcap_file (required), server_ip, server_port, detailed | Connections keyed by the normalised 4-tuple with client/server, packets, bytes, SYN/FIN/RST counts, and a state estimate (established, closed, reset, half-open). With detailed, a per-connection timestamp summary is included. |
analyze_tcp_anomalies | pcap_file (required), server_ip, server_port | Counts of reset connections, half-open connections (SYN with no SYN-ACK), connections without data, and zero-window advertisements, computed from flags and window fields. |
analyze_tcp_retransmissions | pcap_file (required), server_ip, threshold (default 0.02) | A retransmission is a repeated (tuple, sequence, payload-length) data segment. Reports data segments, retransmissions, the rate, whether it exceeds the threshold, and the top offending connections. |
analyze_traffic_flow | pcap_file (required), server_ip (required), server_port | Packets and bytes to and from the server, the unique client count, and the top clients by bytes. |
analyze_sip_packets | pcap_file (required) | SIP requests by method, responses by status class, and calls (Call-ID, From, To). Payloads on port 5060 plus any payload starting with a SIP method or SIP/2.0 are considered. |
analyze_capinfos | pcap_file (required) | Packet count, duration, data bytes, average packet size, first/last packet times, encapsulation, and capture length. |
Scope and limits
The parser covers classic libpcap only (big/little endian, micro- and nanosecond timestamps) — no pcapng. Only IPv4 is decoded; IPv6 and other ethertypes are counted in packet totals but not analysed. There is no TCP stream reassembly, so SIP over TCP is matched per segment, and TLS payloads are opaque. Anomaly and state heuristics are deliberately simple approximations, not a substitute for a full tshark-grade analysis.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, synthetic captures only, no network
npm run dev # run the CLI from source via tsx
License
MIT — see LICENSE.
Frequently asked questions
What is pcapport MCP Server?
PCAP analysis: DNS, DHCP, ICMP, TCP flows, anomalies, and SIP from capture files.
How do I install pcapport MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. pcapport MCP Server runs locally from the npm package @reneturcios/pcapport with the command npx -y @reneturcios/pcapport@0.1.0.
Is pcapport MCP Server free and open source?
Yes. pcapport MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does pcapport MCP Server support remote (HTTP) connections?
No remote endpoint is listed for pcapport MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is pcapport MCP Server's trust score calculated?
pcapport MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.