UP

usestring/powhttp-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

90 stars 7 forks 质量 77 趋势 9AGPL-3.0

useString/PowHttp-MCP 是从 https://github.com/usestring/powhttp-mcp. 导入的 MCP 服务器候选

概览

useString/PowHttp-MCP 是从 https://github.com/usestring/powhttp-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

这是一个MCP服务器,为AI助手提供对powhttp捕获的HTTP流量的X射线视野。


看它实际行动

使用 /generate_scraper 构建宝马汽车列表显示器:

https://github.com/user-attachments/assets/be098e9d-d700-491c-ae7f-5afb12732728


特色

  • HTTP 流量分析 - 搜索、检查和分析捕获的 HTTP 请求/响应
  • 反机器人检测 - 比较浏览器与程序流量以识别检测向量
  • 指纹识别 - 生成TLS(JA3/JA4)和HTTP/2指纹
  • API 映射 - 从捕获流量中生成集群和目录 API 端点
  • GraphQL 分析 - 集群操作、检查模式并从 GraphQL API 中提取错误
  • 模式推理 - 从多个响应体中推断合并后的模式,并带有字段统计
  • 流跟踪 - 跟踪相关请求(重定向、依赖调用)
  • 模式验证 - 验证响应体与 Go 结构、Zod 或 JSON 模式
  • 抓取器生成 - 从捕获的流量生成PoC Go抓取器

模式验证的实际操作——针对边缘情况修正数据结构:

https://github.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

powhttp-mcp

An MCP server that gives AI assistants X-ray vision into HTTP traffic captured by powhttp.


See it in action

Using /generate_scraper to build a BMW car listing monitor:

https://github.com/user-attachments/assets/be098e9d-d700-491c-ae7f-5afb12732728


Features

  • HTTP Traffic Analysis - Search, inspect, and analyze captured HTTP requests/responses
  • Anti-Bot Detection - Compare browser vs program traffic to identify detection vectors
  • Fingerprinting - Generate TLS (JA3/JA4) and HTTP/2 fingerprints
  • API Mapping - Cluster and catalog API endpoints from captured traffic
  • GraphQL Analysis - Cluster operations, inspect schemas, and extract errors from GraphQL APIs
  • Schema Inference - Infer merged schemas from multiple response bodies with field statistics
  • Flow Tracing - Trace related requests (redirects, dependent calls)
  • Schema Validation - Validate response bodies against Go structs, Zod, or JSON Schema
  • Scraper Generation - Generate PoC Go scrapers from captured traffic

Schema validation in action - correcting data structures for edge cases:

https://github.com/user-attachments/assets/1156c537-70ab-4179-ad4a-c148988ac503


Installation

Install via go install:

go install github.com/usestring/powhttp-mcp/cmd/powhttp-mcp@latest

Or install a specific version:

go install github.com/usestring/powhttp-mcp/cmd/[email protected]

If you get command not found: powhttp-mcp after installation, you need to add Go’s bin directory to your PATH.

Find your Go bin directory:

go env GOPATH

This returns your Go workspace directory, typically ~/go (macOS/Linux) or C:\Users\yourname\go (Windows). The binaries are installed in the bin subdirectory.

macOS / Linux

For bash (~/.bashrc or ~/.bash_profile):

export PATH="$PATH:$(go env GOPATH)/bin"

For zsh (~/.zshrc):

export PATH="$PATH:$(go env GOPATH)/bin"

For fish (~/.config/fish/config.fish):

fish_add_path (go env GOPATH)/bin

Then reload your shell:

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "powhttp": { "command": "powhttp-mcp", "env": { "POWHTTP_BASE_URL": "http://localhost:7777", "POWHTTP_PROXY_URL": "http://localhost:8888" } } } }