generate_code
generate sample client code from captured HTTP request
How to use it
generate_code is exposed by the Reqable MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the generate_code tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Reqable MCP
npx -y reqable-mcp@latestOther tools in Reqable MCP (16)
infer API shapes for a domain
summarize directions, message types, JSON shapes, and close events for a session
export the raw uploaded WebSocket entry and raw frame list
domain-level request statistics
fetch request details by ID (full includes rawentry)
fetch WebSocket session details and messages by ID (including rawentry and message raw)
ingest status + WebSocket data quality report
import HAR from file path
ingest server state and counters
list recently active WebSocket sessions by latest captured frames
list recent HTTP/WebSocket handshake requests with filters
list captured WebSocket sessions
backfill missing fields from raw frames (supports dry-run)
keyword search in HTTP URL/body/raw uploaded entry (raw / rawentry)
precise WebSocket message search by keyword, direction, type, opcode, close code, domain, and request ID
incremental fetch by requestid + afterseq cursor