Commit caca8aa
Switch MCP server from BinlogInsights.Mcp to AITools.BinlogMcp (v0.10.19) (#9)
Replace BinlogInsights.Mcp (nuget.org) with AITools.BinlogMcp from the
dotnet-eng Azure DevOps feed as the underlying MCP server.
Package & executable:
- Package: BinlogInsights.Mcp → AITools.BinlogMcp
- Executable: binlog-insights-mcp → binlog-mcp
- Feed: nuget.org → pkgs.dev.azure.com/dnceng/public/.../dotnet-eng
- Install commands now use --prerelease --add-source flags
Format compatibility (AITools.BinlogMcp uses different response formats):
- binlog_overview: text instead of JSON → parse both formats
- binlog_search: text instead of JSON → parseSearchResults() helper
- binlog_projects: projectFile instead of fullPath → handle both
- binlog_evaluations: text format → parse [id=N] lines
- binlog_tasks_in_target: parameter 'target' not 'target_name'
- binlog_task_details: uses task_id (int) not task_name
Smooth customer transition:
- findMcpTool() detects both binlog-mcp and binlog-insights-mcp
- Auto-migrates: installs new tool when old one is detected
- Shows migration prompt with command to uninstall old tool
- Version detection checks both tool store paths
- serverMatchesBinlogMcp() recognizes old and new server configs
- Graceful 'not available' message for unregistered tools
Other improvements:
- Always inject binlog_file in tree MCP calls (fixes stale state after
binlog removal)
- Consistent unique project count in overview (dedup via binlog_projects)
- Store taskId on tree items for task detail lookups
All 208 tests pass. Version bumped to 0.10.19.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5dc2078 commit caca8aa
3 files changed
Lines changed: 69 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
3 | 17 | | |
4 | 18 | | |
5 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2100 | 2100 | | |
2101 | 2101 | | |
2102 | 2102 | | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
2103 | 2126 | | |
2104 | 2127 | | |
2105 | 2128 | | |
| |||
2280 | 2303 | | |
2281 | 2304 | | |
2282 | 2305 | | |
2283 | | - | |
2284 | | - | |
2285 | | - | |
2286 | | - | |
2287 | | - | |
2288 | | - | |
2289 | | - | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
2290 | 2314 | | |
2291 | 2315 | | |
2292 | 2316 | | |
| |||
2420 | 2444 | | |
2421 | 2445 | | |
2422 | 2446 | | |
2423 | | - | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
2424 | 2454 | | |
2425 | 2455 | | |
2426 | | - | |
2427 | | - | |
2428 | | - | |
2429 | | - | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
2430 | 2462 | | |
2431 | 2463 | | |
2432 | 2464 | | |
2433 | 2465 | | |
2434 | | - | |
2435 | | - | |
2436 | | - | |
2437 | | - | |
2438 | | - | |
2439 | | - | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
2440 | 2476 | | |
2441 | | - | |
2442 | | - | |
2443 | 2477 | | |
2444 | 2478 | | |
2445 | 2479 | | |
| |||
0 commit comments