基本能力
产品定位
MCP HTTP请求工具是一个全面的HTTP客户端MCP服务器,专为API测试、Web自动化和安全测试设计。
核心功能
- 完整的HTTP方法支持: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
- 高级安全测试: 原始请求工具,用于渗透测试、SQL注入、XSS测试
- 全参数支持: 所有方法支持Headers、Cookies、Body、超时设置
- 自动日志记录: 所有请求和响应自动记录到
~/mcp_requests_logs/ - 精确保证: 原始模式完全保留每个字符
- MCP兼容: 兼容Claude Code、Cursor和其他MCP客户端
适用场景
- API测试
- Web自动化
- 安全测试
- 渗透测试
- SQL注入测试
- XSS测试
工具列表
- http_get - 全功能GET请求
- http_post - 全功能POST请求
- http_put - 全功能PUT请求
- http_delete - 全功能DELETE请求
- http_patch - 全功能PATCH请求
- http_head - 全功能HEAD请求
- http_options - 全功能OPTIONS请求
- http_raw_request - 用于安全测试的原始HTTP请求
使用教程
使用依赖
- Python ≥ 3.13
- httpx ≥ 0.25.0
- mcp[cli] ≥ 1.9.4
安装教程
pip install mcp-request调试方式
查看日志:
tail -f ~/mcp_requests_logs/requests_*.log