tshark_read_pcap

Read and analyze a pcap file from the remote Kali machine. Returns packets in JSON format.

Server Wireshark MCP Server schwarztim/sec-wireshark-mcp
Category Read
Risk class Low
Parameters 00 required

What tshark_read_pcap does on Wireshark MCP Server

AI agents call tshark_read_pcap to retrieve information from Wireshark MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why tshark_read_pcap needs a policy

This tool performs read-only operations on captured network traffic data. While it retrieves sensitive information (packet contents, which may contain credentials, PII, or proprietary protocols), it does not modify, execute code, delete data, or move financial resources. The 'medium' severity reflects that misuse could expose sensitive network traffic details, but the core operation is non-destructive data retrieval.

From the tool's definition Tool name 'tshark_read_pcap' and description 'Read and analyze a pcap file from the remote Kali machine. Returns packets in JSON format.' indicate retrieval and analysis of existing packet capture data without modification or deletion.

Questions about tshark_read_pcap

What does the tshark_read_pcap tool do? +

Read and analyze a pcap file from the remote Kali machine. Returns packets in JSON format. It is categorised as a Read tool in the Wireshark MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on tshark_read_pcap? +

Register the Wireshark MCP Server MCP server in PolicyLayer and add a rule for tshark_read_pcap: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Wireshark MCP Server. Nothing to install.

What risk level is tshark_read_pcap? +

tshark_read_pcap is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit tshark_read_pcap? +

Yes. Add a rate_limit block to the tshark_read_pcap rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block tshark_read_pcap completely? +

Set action: deny in the PolicyLayer policy for tshark_read_pcap. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides tshark_read_pcap? +

tshark_read_pcap is provided by the Wireshark MCP Server MCP server (schwarztim/sec-wireshark-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.