Skip to main content
Glama

start_capture_session

Initiate a packet capture session with customizable parameters like filters, interfaces, and packet limits on SharkMCP. Use saved configurations to streamline network analysis.

Instructions

Start a background packet capture session. LLMs control all capture parameters including filters, interfaces, and packet limits. Can use saved configurations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
captureFilterNoOptional BPF capture filter to apply while capturing (e.g., "port 443")
configNameNoName of saved configuration to use (will override other parameters)
interfaceNoNetwork interface to capture from (e.g., eth0, en0, lo0)lo0
maxPacketsNoMaximum number of packets to capture (safety limit, default: 100,000)
sessionNameNoOptional session name for easier identification
timeoutNoTimeout in seconds before auto-stopping capture (default: 60s to prevent orphaned sessions)

Other Tools

Related Tools

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/tuliperis/SharkMCP'

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