Skip to main content
Glama

SharkMCP

by kriztalz
MIT License
16
  • Apple
  • Linux

start_capture_session

Initiate a packet capture session on SharkMCP to analyze network traffic. Configure filters, interfaces, and packet limits, or use saved configurations. Auto-stops after a set timeout to manage session duration.

Instructions

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

Input 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)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "captureFilter": { "description": "Optional BPF capture filter to apply while capturing (e.g., \"port 443\")", "type": "string" }, "configName": { "description": "Name of saved configuration to use (will override other parameters)", "type": "string" }, "interface": { "default": "lo0", "description": "Network interface to capture from (e.g., eth0, en0, lo0)", "type": "string" }, "maxPackets": { "default": 100000, "description": "Maximum number of packets to capture (safety limit, default: 100,000)", "type": "number" }, "sessionName": { "description": "Optional session name for easier identification", "type": "string" }, "timeout": { "default": 60, "description": "Timeout in seconds before auto-stopping capture (default: 60s to prevent orphaned sessions)", "type": "number" } }, "type": "object" }
Install Server

Other Tools from SharkMCP

Related Tools

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

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