Andrew Hundt
ff833362f6
mcp: Phase 9 API consolidation — 15 tools to 3 streamlined + config-based visibility
STREAMLINED_TOOLS[]: search_code_graph (merges search_graph + query_graph via cypher param),
trace_call_path (unchanged), get_code (alias for get_code_snippet)
cbm_mcp_tools_list(srv): filters by tool_mode config (streamlined=3, classic=all 15)
Per-tool re-enable via config set tool_<name> true
Dispatch: search_code_graph routes to handle_query_graph when cypher param present,
otherwise handle_search_graph. get_code routes to handle_get_code_snippet.
expand_project_param Rule 0: detects paths (/, ~, ./) and converts via
cbm_project_name_from_path(). Enables project="/path/to/repo".
Server struct: add context_injected field for Phase 9 auto-context (future).
mcp.h: forward-declare cbm_mcp_server_t at top, cbm_mcp_tools_list takes srv param.
Tests: updated for streamlined mode (3 tools default, old names hidden).
Total: 2126 tests passing
Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-03-22 03:26:13 -04:00
..
2026-03-15 22:37:34 +01:00
2026-03-18 01:52:05 +01:00
2026-03-15 22:37:34 +01:00
2026-03-19 20:13:17 +01:00
2026-03-18 19:19:42 +01:00
2026-03-17 22:05:57 +01:00
2026-03-22 03:26:13 -04:00
2026-03-19 03:19:06 +01:00
2026-03-15 22:37:34 +01:00
2026-03-17 22:05:57 +01:00
2026-03-17 22:05:57 +01:00
2026-03-19 02:58:03 +01:00
2026-03-15 22:37:34 +01:00
2026-03-15 22:37:34 +01:00
2026-03-15 22:37:34 +01:00
2026-03-19 02:38:02 +01:00
2026-03-15 19:26:12 +01:00
2026-03-18 19:19:42 +01:00
2026-03-19 02:58:03 +01:00
2026-03-18 19:19:42 +01:00
2026-03-15 22:37:34 +01:00
2026-03-21 23:29:31 -04:00
2026-03-22 03:26:13 -04:00
2026-03-18 19:19:42 +01:00
2026-03-22 03:09:11 -04:00
2026-03-18 19:19:42 +01:00
2026-03-19 02:38:02 +01:00
2026-03-15 19:26:12 +01:00
2026-03-17 22:05:57 +01:00
2026-03-19 02:58:03 +01:00
2026-03-15 22:37:34 +01:00
2026-03-15 22:37:34 +01:00
2026-03-18 16:28:27 +01:00
2026-03-19 03:34:36 +01:00
2026-03-15 22:37:34 +01:00
2026-03-15 22:37:34 +01:00
2026-03-20 00:02:43 -04:00
2026-03-15 22:37:34 +01:00
2026-03-19 03:48:10 +01:00
2026-03-18 18:47:43 +01:00
2026-03-19 02:38:02 +01:00
2026-03-19 03:34:36 +01:00