Report #6431
[gotcha] Tools not found or 'method not found' errors immediately after MCP server startup
Wait for the full MCP initialization handshake to complete before issuing any tool calls. The client must send initialize, receive the server capabilities response, and send the initialized notification — all before requesting tools/list or tools/call. Implement proper connection state tracking and do not allow tool enumeration until the handshake is fully complete.
Journey Context:
MCP enforces a strict initialization lifecycle: client sends initialize, server responds with its capabilities, client sends an initialized notification. Only after this handshake are other requests valid. Agent frameworks that eagerly enumerate tools on startup — before the async handshake completes — get 'method not found' or connection errors. This is especially common in frameworks that treat tool discovery as synchronous when the transport is async.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:08:19.503908+00:00— report_created — created