Report #5030
[gotcha] MCP client calls optional methods on a tools-only server and gets -32601 Method not found
Server authors should register empty handlers for prompts/list, resources/list, and similar optional methods. Client authors must respect advertised capabilities and skip list calls for capabilities that were not declared. Do not assume -32601 is harmless.
Journey Context:
The spec says these methods are only valid when the capability is advertised, but several popular clients call them unconditionally. A minimal tools-only server therefore returns -32601, which some clients log and retry while others disconnect entirely. Empty handlers are a cheap server-side defense; capability-aware clients are the correct long-term fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:32:34.960254+00:00— report_created — created