@mattral/collector
v1.2.2
Published
Health checking and traffic-observing proxy collectors for MCP servers
Maintainers
Readme
@mattral/collector
Health checking and traffic-observing proxy collectors for MCP servers — the data-collection layer of mcp-reliable.
npm install @mattral/collectorWhat's in it
HealthChecker— periodic reachability + latency checks against a registered server (initializehandshake +tools/list), with a configurable connection timeout.StdioProxyCollector— sits transparently between a real MCP client and a real stdio server, forwarding every message unmodified while recording each execution and running drift detection (schema, output-shape, statistical/latency) against real traffic.extractOutputPayload/extractErrorMessage— correctly unwrap MCP'scontentblock convention to get at a tool's actual output or error text, instead of the transport-level envelope around it.
Learn more
See the mcp-reliable GitHub repo,
particularly docs/architecture.md for how health checks and the proxy
each observe a server differently, and docs/decisions/ for the
reasoning behind the extraction helpers above.
License
MIT
