Labsco
naotaka3 logo

MCP HAR Server

โ˜… 2

from naotaka3

Parses HAR (HTTP Archive) files and displays requests in a simplified format for AI assistants.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

MCP HAR Server

A Model Context Protocol (MCP) server that parses HAR (HTTP Archive) files and displays requests in a simplified format. This tool is designed to be used with AI assistants through the MCP protocol.

Features

  • Parse HAR files and extract request/response information
  • Display requests with hash identifiers for easy reference
  • Toggle query parameter visibility
  • Filter requests by status code, method, URL pattern, or exclude specific domains
  • View detailed headers and body information for specific requests
  • List unique domains from HAR files to help with filtering

Available Tools

har_viewer

Displays HAR file requests in a simplified format with hash identifiers. Includes filtering options to narrow down results.

har_detail

Provides detailed information about specific HAR file entries including headers and request/response bodies. Uses hash identifiers to reference specific requests.

domain_list

Lists all unique domains found in a HAR file to help reduce output volume and provide filtering options.

Development

Installation

# Install dependencies
npm ci

Build and Test

# Build the project
npm run build

# Run tests
npm test

About MCP

This tool uses the Model Context Protocol (MCP), which allows AI assistants to interact with external tools and services. Learn more about MCP at https://github.com/modelcontextprotocol/typescript-sdk.