powhttp
MCP server enabling agents to debug HTTP requests better (using powhttp)
claude mcp add --transport stdio usestring-powhttp-mcp powhttp-mcp \ --env LOG_FILE="""" \ --env LOG_LEVEL="info" \ --env POWHTTP_BASE_URL="http://localhost:7777" \ --env POWHTTP_PROXY_URL="http://localhost:8888"
How to use
powhttp-mcp is an MCP server that exposes a suite of tooling for analyzing HTTP traffic captured by powhttp. Once running, clients can connect to the MCP server using the mcp.json configuration or Claude/CLI integrations described in the README, and leverage tools to list sessions, inspect individual HTTP entries, generate fingerprints, cluster endpoints, and build scrapers from captured traffic. The server relies on POWHTTP_BASE_URL to reach the powhttp API and POWHTTP_PROXY_URL for proxy-enabled workflows, allowing you to compare browser vs program traffic, inspect TLS/JA3 fingerprints, and create API maps from real traffic. The included prompts guide workflows for base usage, API discovery, and scraper generation, making it straightforward to explore captured data and extract reusable artifacts such as PoC scrapers or GraphQL operation catalogs.
How to install
Prerequisites:
- Go installed (1.20+ is recommended) to build powhttp-mcp from source if a prebuilt binary is not available.
- Access to a running powhttp instance and its Data API as described in the README.
Installation steps (via Go):
- Install the MCP server binary:
go install github.com/usestring/powhttp-mcp/cmd/powhttp-mcp@latest
- Verify the binary is on your PATH:
powhttp-mcp --version
- Run the MCP server with the required environment variables. Example (in a shell):
POWHTTP_BASE_URL=http://localhost:7777 \
POWHTTP_PROXY_URL=http://localhost:8888 \
LOG_LEVEL=info \
LOG_FILE="" \
powhttp-mcp
- Optionally pin a specific version by replacing latest with a tag, e.g. v1.x.y:
go install github.com/usestring/powhttp-mcp/cmd/powhttp-mcp@v1.0.0
If you prefer a containerized deployment, build a container image with the binary and run it with the same environment variables mapped into the container.
Additional notes
Tips and notes:
- Ensure POWHTTP_BASE_URL points to the running powhttp Data API and POWHTTP_PROXY_URL is reachable by prompts that generate scrapers or debug workflows.
- The MCP server reads configuration from environment variables; you can override LOG_LEVEL and LOG_FILE to control logging output.
- If you see command not found: powhttp-mcp, ensure your PATH includes the directory where the binary was installed (commonly $GOPATH/bin or $HOME/go/bin).
- When integrating with Claude Desktop/Code, supply the same POWHTTP_BASE_URL and POWHTTP_PROXY_URL values in your mcp configuration to enable seamless data flow.
- If you update powhttp-mcp or powhttp, re-validate that the base URL and proxy URL remain accessible from your MCP host to avoid connectivity issues.
- Security: restrict access to the MCP endpoint in production and avoid exposing POWHTTP_BASE_URL/PROXY_URL to untrusted networks.
Related MCP Servers
mcp-proxy
A bridge between Streamable HTTP and stdio MCP transports
web-eval-agent
An MCP server that autonomously evaluates web applications.
VibeShift
[MCP Server] The Security Agent for AI assisted coding
MDB
Multi Debugger MCP server that enables LLMs to interact with GDB and LLDB for binary debugging and analysis.
mcpcat-python-sdk
MCPcat is an analytics platform for MCP server owners 🐱.
whistle
A Whistle proxy management tool based on Model Context Protocol that allows AI assistants to directly control local Whistle proxy servers, simplifying network debugging, API testing, and proxy rule configuration through natural language interaction.