v0.1 taps stdio servers only. Remote servers (Streamable HTTP) need a local reverse-proxy mode: mcptail init would rewrite the url to a local mcptail port that forwards to the origin and records the JSON-RPC bodies.
Design sketch welcome before code — the interesting questions are session correlation across POSTs and SSE response streams, and auth header passthrough. Core recording (SessionWriter, correlate) is transport-agnostic already.
v0.1 taps stdio servers only. Remote servers (Streamable HTTP) need a local reverse-proxy mode:
mcptail initwould rewrite theurlto a local mcptail port that forwards to the origin and records the JSON-RPC bodies.Design sketch welcome before code — the interesting questions are session correlation across POSTs and SSE response streams, and auth header passthrough. Core recording (
SessionWriter,correlate) is transport-agnostic already.