Reverse Engineering Claude Code: Unveiling the ENABLE_TOOL_SEARCH=1 Behavior
Analysis
This article delves into the internal workings of Claude Code, specifically focusing on the `ENABLE_TOOL_SEARCH=1` flag and its impact on the Model Context Protocol (MCP). The analysis highlights the importance of understanding MCP not just as an external API bridge, but as a broader standard encompassing internally defined tools. The speculative nature of the findings, due to the feature's potential unreleased status, adds a layer of uncertainty.
Key Takeaways
Reference
“この MCP は、AI Agent とサードパーティーのサービスを繋ぐ仕組みと理解されている方が多いように思います。しかし、これは半分間違いで AI Agent が利用する API 呼び出しを定義する広義的な標準フォーマットであり、その適用範囲は内部的に定義された Tool 等も含まれます。”