HTTPX_MCP
@zhefox
About HTTPX_MCP
An MCP tool for HTTP interface testing, built on the httpx library, designed for AI.
Overview
What is HTTPX_MCP?
HTTPX_MCP is an MCP (Model Context Protocol) tool for HTTP interface testing, built on the httpx library and designed for AI-driven interactions. It enables sending arbitrary HTTP requests and parsing raw request text (e.g., from Burp Suite) directly within MCP-compatible environments.
How to use HTTPX_MCP?
Install via pip (pip install httpx-mcp) or from source with pip install -e .. Add the server to your MCP configuration file as either "python -m httpx_mcp.server" (with optional cwd) or simply "httpx-mcp". Use the provided tools (http_request and http_raw) by passing parameters such as URL, method, headers, body, etc.
Key features of HTTPX_MCP
- Full HTTP method support: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
- Multiple request formats: JSON, form data, raw text
- Custom headers and SSL verification control
- Raw request parsing β paste Burp Suite captured requests directly
- Response details: status code, headers, body, and timing statistics
- Easy MCP server configuration with two alternative commands
Use cases of HTTPX_MCP
- API Testing: Quickly test REST API endpoints with various HTTP methods
- Security Testing: Send custom payloads for security assessments
- Interface Debugging: View detailed request/response information with timing
- Request Replay: Directly replay Burp Suite captured HTTP requests
FAQ from HTTPX_MCP
What HTTP methods are supported?
HTTPX_MCP supports GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS via the method parameter of the http_request tool.
How can I reuse Burp Suite captured requests?
Use the http_raw tool and paste the raw HTTP request text (including headers and body) into the raw_request parameter, optionally providing a base_url.
Is SSL verification configurable?
Yes. Both tools have a verify_ssl boolean parameter (default true) to enable or disable SSL certificate verification.
How do I install HTTPX_MCP?
You can install it via pip: pip install httpx-mcp, or by cloning the repository and running pip install -e . from the httpx-mcp directory.
What license is HTTPX_MCP released under?
The project is licensed under the MIT license.
Basic information
More Agent Frameworks MCP clients
MCP Agent Graph (MAG)
keta1930MCP Agent Graph (MAG) is an agent development framework for rapidly building agent systems. This project is based on graphs, nodes, and MCP to quickly construct complex Agent systems.
π MCPOmni Connect - Universal Gateway to MCP Servers
Abiorh001MCPOmni Connect is an agent execution runtime that connects to multiple MCP servers via stdio, SSE, or streamable HTTP. It supports chat, autonomous agents, and planner-based orchestration treating each MCP server as a tool agent to enable dynamic multi-agent workflows across LLM
Smolagents
huggingfaceπ€ smolagents: a barebones library for agents that think in code.
MCP CLI client
adhikaspA simple CLI to run LLM prompt and implement MCP client.
Comments