tjamet/har-mcp
If you are the rightful owner of har-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The HAR MCP Server is designed to parse and analyze HAR (HTTP Archive) files, allowing AI assistants to inspect network traffic with built-in support for redacting sensitive authentication headers.
The HAR MCP Server is a specialized tool for handling HAR files, which are commonly used to capture and analyze HTTP network traffic. This server is built on the Model Context Protocol (MCP) framework, enabling seamless integration with AI systems that require detailed insights into web requests and responses. By supporting the standard HAR format, the server can process files generated by browser developer tools, making it a versatile choice for developers and analysts. The server's ability to load HAR files from both local and remote sources, coupled with its robust parsing capabilities, ensures that it can handle a wide range of real-world scenarios. Additionally, the server automatically redacts sensitive information such as authentication headers, enhancing security and privacy during analysis. Whether used for debugging, performance monitoring, or security assessments, the HAR MCP Server provides a comprehensive solution for understanding web traffic.
Features
- Load HAR files from local filesystem or HTTP URLs
- List all URLs and HTTP methods accessed in the HAR file
- Query request IDs for specific URL and method combinations
- Retrieve full request details with automatic redaction of authentication headers
- Flexible HAR parsing that handles real-world HAR files
Usages
docker
{ "mcp": { "servers": { "har": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/tjamet/har-mcp" ] } } } }
go run
{ "mcpServers": { "github": { "command": "go", "args": [ "run", "github.com/tjamet/har-mcp/cmd/har-mcp@main" ] } } }
build from source
{ "mcp": { "servers": { "github": { "command": "/path/to/har-mcp-server" } } } }
claude desktop
{ "mcpServers": { "har-mcp": { "command": "/path/to/har-mcp" } } }
Tools
load_har
Load a HAR file from a file path or HTTP URL.
list_urls_methods
List all accessed URLs and their HTTP methods from the loaded HAR file.
get_request_ids
Get all request IDs for a specific URL and HTTP method.
get_request_details
Get full request details by request ID with redacted authentication headers.