Logo
ChatTCP

🚀 ChatTCP MCP Server

Let AI assistants directly analyze PCAP files

ChatTCP MCP Server allows you to use ChatTCP to analyze pcap files through AI. Supports file management, search analysis, diagnostic tools, and protocol decoding.

🎥 Feature Demo Video

MCP Server Configuration

{
  "mcpServers": {
    "chattcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.chattcp.com/mcp",
        "--header",
        "X-API-Key: your-api-key"
      ]
    }
  }
}

API Key

Please sign in first

Sign In

Usage Guide

🚀 Main Features

📁 File Management Tools

  • Get PCAP file upload URL, use temporary URL to upload large files
  • Small files can be uploaded directly with base64 encoding
  • List uploaded PCAP files, returns fileId for other tools to use
  • Delete an uploaded PCAP file

🔍 Search Analysis Tools

  • Search packet content, support TCP flag search, application layer protocol search, fuzzy matching TCP Payload and application layer protocol Payload
  • Get all TCP connections, return connection statistics and status information
  • Get all packets for specific connection, for packet-level timing analysis

📊 Diagnostic Tools

  • Get diagnostic information for specific connection, including packet loss rate, latency and other performance metrics
  • Get global diagnostic information, overall network health assessment

🔓 Protocol Decoding Tools

  • Decode complete application layer protocols (HTTP, WebSocket, Redis, MySQL), handle TCP reassembly

🎯 Supported Protocols

✅ Fully Supported: HTTP, WebSocket, Redis, MySQL, TCP
⚠️ Limitations
TLS/SSL encrypted traffic - Cannot parse encrypted content
Other protocols - Basic packet analysis available

Use Cases

💡 Typical Usage Scenarios

Scenario 1: Server Port Connection Issue Diagnosis

You can ask AI like this:

"Help me analyze the connections to server port 8080 in xx.pcap file, why didn't the client receive a response after sending the request."

Scenario 2: HTTP Response Anomaly Analysis

You can ask AI like this:

"Help me analyze xx.pcap file, see why the http request response body is empty."

Scenario 3: Network Performance Assessment

You can ask AI like this:

"Analyze xx.pcap file, what is the latency from client to server. Are there any packet loss situations, what is the retransmission probability."

Scenario 4: Connection Status Statistics

You can ask AI like this:

"Analyze xx.pcap file, how many connections are there in total, how many connections are in half-open state, what is the percentage."

Scenario 5: WebSocket Data Analysis

You can ask AI like this:

"Analyze xx.pcap file, decode the application layer protocol as websocket protocol, see what the ws protocol payload transmitted."