mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
b4529d2c71
Workaround for clients (e.g. Claude Code's HTTP-MCP bridge in stateless mode) that don't expose `resources/list` reliably. Verified with a paired in-memory client that the server itself advertises `capabilities.resources` and answers `resources/list` correctly — the breakage is on the client side. Tools work everywhere, so a tool-call gateway is the pragmatic fix. Resources now share a single source-of-truth (`resource-catalog.ts`) used by both the MCP-protocol resource handlers and the new `get_resource(name)` tool. Tool descriptions previously said "see the device_properties resource" — updated to "call get_resource(name=...)" so the hint actually leads somewhere usable. Also tightens get_rule_stats description: the default window × number of rules × per-day trend can easily exceed the response cap, so the doc now recommends passing a tighter date range or ruleType filter for routine queries. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>