Skip to content

Commit a0bbc53

Browse files
Remove old tool names
1 parent 3f76bfd commit a0bbc53

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ Architecture, testing, contribution guide
114114
## 🛠 Available Tools (8 tools)
115115

116116
### Windows Debugging Tools
117-
- **Crash Dump Analysis**: `nexus_open_dump`, `nexus_close_dump`
117+
- **Crash Dump Analysis**: `nexus_open_dump_analyze_session`, `nexus_close_dump_analyze_session`
118118
- **Remote Debugging**: `nexus_start_remote_debug`, `nexus_stop_remote_debug`
119-
- **Async Command Queue**: `nexus_exec_debugger_command_async`, `nexus_debugger_command_status`, `nexus_debugger_command_cancel`, `nexus_list_debugger_commands`
119+
- **Async Command Queue**: `nexus_dump_analyze_session_async_command`, `nexus_dump_analyze_session_async_command_status`, `nexus_debugger_command_cancel`, `nexus_list_debugger_commands`
120120

121121
**🔄 Async Workflow with Notifications:**
122122
```bash
123-
1. nexus_exec_debugger_command_async → Returns commandId
123+
1. nexus_dump_analyze_session_async_command → Returns commandId
124124
2. Listen for notifications/commandStatus → Real-time progress
125-
3. OR poll nexus_debugger_command_status → Get results
125+
3. OR poll nexus_dump_analyze_session_async_command_status → Get results
126126
```
127127

128128
> 📖 **Complete tool reference with examples:** **[📋 TOOLS.md](docs/TOOLS.md)**

TEST_NOTIFICATIONS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The test output above shows **exactly** what you'll see in your MCP server logs
3232
id = 1
3333
method = "tools/call"
3434
params = @{
35-
name = "nexus_open_dump"
35+
name = "nexus_open_dump_analyze_session"
3636
arguments = @{
3737
dumpPath = "/mnt/c/inetpub/wwwroot/uploads/test_dump.dmp"
3838
symbolsPath = "/mnt/d/symbols"
@@ -54,7 +54,7 @@ The test output above shows **exactly** what you'll see in your MCP server logs
5454
"Please analyze the crash dump at /mnt/c/inetpub/wwwroot/uploads/dump_20250925_112751.dmp using symbols from /mnt/d/symbols"
5555
```
5656

57-
3. **Watch your MCP server console** - you'll see the conversion notifications when the AI calls `nexus_open_dump`
57+
3. **Watch your MCP server console** - you'll see the conversion notifications when the AI calls `nexus_open_dump_analyze_session`
5858

5959
### Method 3: Direct Stdio Testing
6060

@@ -65,7 +65,7 @@ The test output above shows **exactly** what you'll see in your MCP server logs
6565

6666
2. **Send JSON-RPC directly** (paste this and press Enter):
6767
```json
68-
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nexus_open_dump","arguments":{"dumpPath":"/mnt/c/inetpub/wwwroot/uploads/test_dump.dmp","symbolsPath":"/mnt/d/symbols"}}}
68+
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nexus_open_dump_analyze_session","arguments":{"dumpPath":"/mnt/c/inetpub/wwwroot/uploads/test_dump.dmp","symbolsPath":"/mnt/d/symbols"}}}
6969
```
7070

7171
3. **See the logs in real-time** on the console

docs/TOOLS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,32 @@
77
Windows debugging capabilities through WinDBG/CDB integration:
88

99
### Core Debugging Commands
10-
- **Crash Dump Analysis**: `nexus_open_dump`, `nexus_close_dump`
10+
- **Crash Dump Analysis**: `nexus_open_dump_analyze_session`, `nexus_close_dump_analyze_session`
1111
- **Remote Debugging**: `nexus_start_remote_debug`, `nexus_stop_remote_debug`
12-
- **Command Execution**: `nexus_exec_debugger_command_async` (🔄 ASYNC QUEUE: Always returns commandId, use `nexus_debugger_command_status` for results)
13-
- **Queue Management**: `nexus_debugger_command_status`, `nexus_debugger_command_cancel`, `nexus_list_debugger_commands`
12+
- **Command Execution**: `nexus_dump_analyze_session_async_command` (🔄 ASYNC QUEUE: Always returns commandId, use `nexus_dump_analyze_session_async_command_status` for results)
13+
- **Queue Management**: `nexus_dump_analyze_session_async_command_status`, `nexus_debugger_command_cancel`, `nexus_list_debugger_commands`
1414

1515
### 🔄 Async Command Execution Workflow
1616

1717
**IMPORTANT**: All WinDBG commands use an async queue system with real-time notifications:
1818

1919
```bash
20-
1. Call nexus_exec_debugger_command_async {"command": "!analyze -v"}
20+
1. Call nexus_dump_analyze_session_async_command {"command": "!analyze -v"}
2121
→ Returns: {"commandId": "abc-123", "status": "queued", ...}
2222

2323
2. Listen for real-time notifications:
2424
→ notifications/commandStatus: {"status": "executing", "progress": 25, ...}
2525
→ notifications/commandHeartbeat: {"elapsed": "30s", ...} (for long commands)
2626
→ notifications/commandStatus: {"status": "completed", "result": "ACTUAL_OUTPUT"}
2727

28-
3. OR poll nexus_debugger_command_status {"commandId": "abc-123"}
28+
3. OR poll nexus_dump_analyze_session_async_command_status {"commandId": "abc-123"}
2929
→ Returns: {"status": "executing", ...} (keep polling)
3030
→ Returns: {"status": "completed", "result": "ACTUAL_OUTPUT"}
3131

3232
4. Extract the "result" field for your WinDBG command output
3333
```
3434

35-
**⚠️ CRITICAL**: `nexus_exec_debugger_command_async` NEVER returns command results directly. You MUST use `nexus_debugger_command_status` to get results or listen for notifications!
35+
**⚠️ CRITICAL**: `nexus_dump_analyze_session_async_command` NEVER returns command results directly. You MUST use `nexus_dump_analyze_session_async_command_status` to get results or listen for notifications!
3636

3737
## 📡 Real-Time Notifications
3838

mcp_nexus/Models/McpModels.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public class McpServerDetails
123123
"Provides asynchronous debugging commands with live status updates via server-initiated notifications. " +
124124
"Supports notifications/commandStatus (execution progress), notifications/commandHeartbeat (long-running command updates), " +
125125
"notifications/sessionRecovery (debugging session recovery), notifications/serverHealth (server status), " +
126-
"and standard MCP notifications/tools/list_changed. All commands execute asynchronously - use nexus_debugger_command_status() " +
126+
"and standard MCP notifications/tools/list_changed. All commands execute asynchronously - use nexus_dump_analyze_session_async_command_status() " +
127127
"to get results and monitor for real-time notifications about execution progress.";
128128
}
129129

mcp_nexus/Session/ThreadSafeSessionManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ private List<string> GenerateUsageHints(SessionInfo session, List<(string Id, st
463463
hints.Add("⏰ Session has been inactive - will auto-expire if no activity");
464464
}
465465

466-
hints.Add($"📊 Use nexus_debugger_command_status to check command results");
466+
hints.Add($"📊 Use nexus_dump_analyze_session_async_command_status to check command results");
467467
hints.Add($"🎯 Always include sessionId='{session.SessionId}' in your requests");
468468

469469
return hints;

mcp_nexus_tests/Manual/PathConversionDemo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void DemonstratePathConversion()
5858

5959
output.WriteLine("=== How to see this in real MCP server usage ===");
6060
output.WriteLine("1. Start MCP server: dotnet run --project mcp_nexus -- --http");
61-
output.WriteLine("2. Call nexus_open_dump with WSL paths");
61+
output.WriteLine("2. Call nexus_open_dump_analyze_session with WSL paths");
6262
output.WriteLine("3. Check server console output for conversion log messages");
6363
output.WriteLine("4. Look for lines containing 'Converted WSL path'");
6464
}
@@ -73,7 +73,7 @@ public void SimulateActualMcpServerLogging()
7373
var originalDumpPath = "/mnt/c/inetpub/wwwroot/uploads/dump_20250925_112751.dmp";
7474
var dumpPath = PathHandler.NormalizeForWindows(originalDumpPath);
7575

76-
output.WriteLine($"AI calls nexus_open_dump with:");
76+
output.WriteLine($"AI calls nexus_open_dump_analyze_session with:");
7777
output.WriteLine($" dumpPath: \"{originalDumpPath}\"");
7878
output.WriteLine("");
7979

mcp_nexus_web/crash-analyze-command.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ The following steps must be performed sequentially. Ensure all mandatory rules a
2626

2727
1. **Confirm MCP servers:** Confirm MCP servers are available
2828
2. **List available MCP Tools:** List all the available MCP servers and there tools
29-
3. **Verify MCP Tools:** Verify that `nexus_open_dump`, `nexus_close_dump` and `nexus_exec_debugger_command_async` is available in your tool list
29+
3. **Verify MCP Tools:** Verify that `nexus_open_dump_analyze_session`, `nexus_close_dump_analyze_session` and `nexus_dump_analyze_session_async_command` is available in your tool list
3030
4. **Analyze issue** In case the verification fails elaborate what the issue might be as the server is set in the global mcp.json of the user account `droller`. Check the configuration file and test the connection.
3131

3232
### 🔧 **REQUIRED ACTIONS & WORKFLOW**
3333

3434
The following steps must be performed sequentially. Ensure all mandatory rules are followed at each stage.
3535

36-
1. **Initialize Analysis:** Open the dump file with the tool from Nexus MCP server `mcp_nexus_open_dump`
36+
1. **Initialize Analysis:** Open the dump file with the tool from Nexus MCP server `nexus_open_dump_analyze_session`
3737
2. **Source Code Retrieval:**
3838
* Set the source server path: `.srcpath srv\*[workingdir]\source`
3939
* Enable source verbosity: `.srcnoisy 3`

0 commit comments

Comments
 (0)