Add code-search-mcp module: JavaParser index, swappable embedder and three MCP tools on the 2026-07-28 stateless spec (MCP Java SDK 2.2.0)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6BHcz4muRH44T3br3
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
26e0a3875a
commit
e116c4d5a4
@@ -0,0 +1,13 @@
|
||||
# Tool failures are results with isError=true, not protocol errors
|
||||
|
||||
## get_source with a name that does not exist
|
||||
isError=true
|
||||
no class or method called 'PaymentService#chargeback'. Use search_code to find the exact name.
|
||||
|
||||
## search_code with a blank query
|
||||
isError=true
|
||||
'query' is required and must be a non-empty string
|
||||
|
||||
## search_code that matches nothing (not an error: an empty answer with advice)
|
||||
isError=false
|
||||
no matches for 'chargeback' (the hashing-512 embedder matches words, so try other words from the code's vocabulary)
|
||||
Reference in New Issue
Block a user