loading…
Search for a command to run...
loading…
Enables AI assistants to query, filter, and analyze local HTTP capture records and REST API test data from the Reqable tool. It provides read-only access to ins
Enables AI assistants to query, filter, and analyze local HTTP capture records and REST API test data from the Reqable tool. It provides read-only access to inspect request/response details, headers, and statistics through natural language.
一个 MCP (Model Context Protocol) 服务端,用于读取 Reqable 抓包工具的本地数据,让 AI 助手能够直接查询、筛选和分析你的 HTTP 抓包记录。
通过自然语言与 AI 助手对话,即可完成以下操作:
无需手动翻找 Reqable 界面,AI 帮你直接从数据库中检索。
Reqable 使用 ObjectBox(基于 LMDB)存储抓包数据,本项目以只读模式直接读取该数据库,不会修改任何数据,且 Reqable 运行时也可安全读取。
Reqable 抓包 → LMDB 数据库 → reqable-mcp (只读) → MCP 协议 → AI 助手
git clone https://github.com/iambond50-svg/reqable-mcp.git
cd reqable-mcp
pip install -e .
在 Warp 的 MCP 设置中添加:
{
"mcpServers": {
"reqable": {
"command": "python",
"args": ["-m", "reqable_mcp"],
"cwd": "/path/to/reqable-mcp"
}
}
}
在 claude_desktop_config.json 中添加:
{
"mcpServers": {
"reqable": {
"command": "python",
"args": ["-m", "reqable_mcp"],
"cwd": "/path/to/reqable-mcp"
}
}
}
将
/path/to/reqable-mcp替换为实际项目路径。
| 工具 | 说明 |
|---|---|
list_captures |
列出抓包记录,支持按 host / method / status code / app / keyword 筛选,分页返回 |
get_capture_detail |
获取单条抓包的完整详情:请求头、响应头、TLS 握手信息、应用信息、时间戳 |
get_capture_body |
读取请求体或响应体内容,支持大小限制(默认 4KB,最大 64KB) |
get_capture_stats |
聚合统计:按域名、HTTP 方法、状态码、应用名称分组计数 |
| 工具 | 说明 |
|---|---|
list_api_tests |
列出 Reqable REST 客户端的 API 测试记录,支持关键词搜索 |
get_api_test_detail |
获取单条 API 测试的完整请求与响应详情 |
readonly=True, lock=False 模式打开 LMDB,不会写入或修改任何数据Reqable 默认数据目录:
%APPDATA%\\Reqable\\~/Library/Application Support/Reqable/本项目会自动检测默认路径,无需手动配置。
reqable-mcp/
├── pyproject.toml # 项目配置与依赖
├── README.md
├── .gitignore
└── src/reqable_mcp/
├── __init__.py
├── __main__.py # 入口点 (python -m reqable_mcp)
├── server.py # MCP 工具定义(6 个工具)
├── db.py # LMDB 只读访问层
└── models.py # 数据解析与格式化
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"reqable-capture-reader-mcp-server": {
"command": "npx",
"args": []
}
}
}