Skip to content
Cursor

tshark-mcp for Cursor

io.github.kx96xx/tshark-mcp

Read-only packet capture analysis with tshark: Diameter, GTP, SIP, RTP, SIGTRAN, DNS, TCP and TLS.

client:Cursor transport:stdio runtime:pypi

Install tshark-mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "tshark-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tshark-mcp-server"
      ],
      "env": {
        "TSHARK_MCP_ALLOW_DIRS": "<TSHARK_MCP_ALLOW_DIRS>",
        "TSHARK_MCP_TSHARK": "<TSHARK_MCP_TSHARK>",
        "TSHARK_MCP_REDACT": "<TSHARK_MCP_REDACT>",
        "TSHARK_MCP_EXPORT_DIR": "<TSHARK_MCP_EXPORT_DIR>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

tshark-mcp in other clients