ER

elonjask/reqable-mcp

开发工具

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

237 stars 18 forks 质量 78 趋势 22MIT

elonjask/reqable-mcp 是从 https://github.com/elonjask/reqable-mcp. 导入的 MCP 服务器候选

概览

elonjask/reqable-mcp 是从 https://github.com/elonjask/reqable-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

可调用MCP服务器向MCP客户端(Windsurf/Cursor/Claude/Codex)暴露本地可调用采集流量。

默认架构仅本地化:

  1. 可请求的帖子 HAR(JSON) 到 http://127.0.0.1:18765/report。
  2. 可选的增量WebSocket事件可以发布到http://127.0.0.1:18765/ws/events。
  3. reqable-mcp 规范化并存储本地SQLite中的请求/消息。
  4. MCP工具仅查询本地数据(默认无云中继)。

文档:英文 |中文

特色

  • 本地优先,隐私优先的导入路径。
  • 通过可获取报告服务器实现实时导入。
  • HAR文件导入以应对错过的会话。
  • HTTP 请求查询/搜索/域统计/API 分析。
  • 对携带消息帧扩展的HAR条目的WebSocket会话/消息解析。
  • 跨平台运行时(macOS / Linux / Windows with Python 3.10+)。

先修条件

  1. 安装并打开Reqable。
  2. 配置可请求报告服务器发布至 http://127.0.0.1:18765/report。
  3. 确保Node.js(针对npx)和uv(针对uvx)可用。

安装

通过NPX运行(推荐)

地方发展

MCP 客户端配置

可资质报告服务器设置

在可请求的“添加报告服务器”中使用以下数值:

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

README

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

Reqable MCP Server

Reqable MCP Server exposes local Reqable capture traffic to MCP clients (Windsurf/Cursor/Claude/Codex).

Default architecture is local-only:

  1. Reqable posts HAR(JSON) to http://127.0.0.1:18765/report.
  2. Optional incremental WebSocket events can be posted to http://127.0.0.1:18765/ws/events.
  3. reqable-mcp normalizes and stores requests/messages in local SQLite.
  4. MCP tools query local data only (no cloud relay by default).

Docs: English | 中文

Features

  • Local-first, privacy-first ingest path.
  • Real-time ingest via Reqable Report Server.
  • HAR file import fallback for missed sessions.
  • HTTP request query/search/domain stats/API analysis.
  • WebSocket session/message parsing for HAR entries carrying message-frame extensions.
  • Cross-platform runtime (macOS / Linux / Windows with Python 3.10+).

Prerequisites

  1. Install and open Reqable.
  2. Configure Reqable Report Server to post to http://127.0.0.1:18765/report.
  3. Ensure Node.js (for npx) and uv (for uvx) are available.

Installation

npx -y reqable-mcp@latest

Local development

uv run reqable-mcp

MCP Client Configuration

{
  "mcpServers": {
    "reqable": {
      "command": "npx",
      "args": ["-y", "reqable-mcp@latest"]
    }
  }
}

Reqable Report Server Setup

Use these values in Reqable “Add Report Server”:

  1. Name: reqable-mcp-local
  2. Match rule: * (or your target domains)
  3. Server URL: http://127.0.0.1:18765/report
  4. Compression: None (or keep consistent with your receiver)

After saving, generate traffic and call ingest_status to verify incoming payload count.

Important note: reqable-mcp still uses HTTP-only ingest transport (no native ws:// listener), but now supports two HTTP ingest paths: /report for HAR/session payload and /ws/events for incremental WebSocket events. WebSocket capture works when Reqable payload includes frame data (for example _webSocketMessages or event frame objects). Raw entry JSON and raw message JSON are preserved and exposed by WebSocket tools. HAR export/import remains the fallback when live pushes miss frames.

Available Tools

  • ingest_status: ingest server state and counters
  • import_har: import HAR from file path
  • list_requests: list recent HTTP/WebSocket handshake requests with filters
  • get_request: fetch request details by ID (full includes raw_entry)
  • search_requests: keyword search in HTTP URL/body/raw uploaded entry (raw / raw_entry)
  • list_websocket_sessions: list captured WebSocket sessions
  • list_active_websocket_sessions: list recently active WebSocket sessions by latest captured frames
在 GitHub 查看完整 README

安装

npx -y reqable-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "reqable": { "command": "npx", "args": ["-y", "reqable-mcp@latest"] } } }