View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009610 | Kali Linux | Kali Package Bug | public | 2026-03-28 00:15 | 2026-08-11 16:37 |
| Reporter | surya4682 | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Summary | 0009610: mcp-kali-server: health check incorrectly reports tools as missing due to wrong argument type passed to execute_command() | ||||
| Description | Package: mcp-kali-server The /health endpoint in /usr/share/mcp-kali-server/server.py passes a list Affected code in server.py (health check section): Fix: Steps to reproduce:
Expected result: Actual result: Workaround: manually edit /usr/share/mcp-kali-server/server.py and change Note: This bug was discovered and documented while setting up Claude Desktop | ||||
|
Reproducing the issue |
|
|
Looks like a third party tool: https://github.com/Wh0am123/MCP-Kali-Server so report that to dev instead probably. |
|
|
This appears to be caused by the patch Kali adds to server.py: https://gitlab.com/kalilinux/packages/mcp-kali-server/-/blob/kali/master/debian/patches/0001-remove-shell-true.patch?ref_type=heads#L21 Line 21 breaks all invocations of execute_command() using lists of strings. Line 533 is where the health endpoint checks tool availability. the ValueError being raised results in the tool being wrongly reported as missing. I believe this would have also resulted in all other tool invocations (if the user were to ignore the missing tool warning) resulting in a visible error as execute_command() is almost(?) exclusively called with lists of strings. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-03-28 00:15 | surya4682 | New Issue | |
| 2026-03-28 01:15 | surya4682 | Note Added: 0021497 | |
| 2026-03-28 01:15 | surya4682 | File Added: image.png | |
| 2026-03-28 09:57 | kali-bugreport | Note Added: 0021498 | |
| 2026-08-11 16:37 | Sylonin | Note Added: 0021928 |