Report #100730
[gotcha] Loading every MCP tool schema at session start does not scale
Use the tool-search pattern: expose a small search tool and mark most tools deferred; set \`alwaysLoad: true\` only for core tools; tune \`ENABLE\_TOOL\_SEARCH=auto:N\` to pick a context-budget threshold.
Journey Context:
Claude Code defers MCP tool definitions by default, so only tool names and server instructions load at startup; the host sends \`tool\_reference\` blocks that expand only the needed schemas inline. This preserves prompt-caching breakpoints and cuts schema overhead by roughly 85%. Without deferral, every new server you connect consumes context before you ask anything.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T05:00:20.411824+00:00— report_created — created