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-26 13:14 |
| Reporter | surya4682 | Assigned To | sbrun | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Fixed in Version | 2026.3 | ||||
| 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. |
|
|
thank you for the report. Fixed in version 0.0~git20260317.00154c0-0kali2 |
|
| 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 | |
| 2026-08-20 10:46 | daniruiz | Assigned To | => sbrun |
| 2026-08-20 10:46 | daniruiz | Status | new => assigned |
| 2026-08-26 13:14 | sbrun | Status | assigned => resolved |
| 2026-08-26 13:14 | sbrun | Resolution | open => fixed |
| 2026-08-26 13:14 | sbrun | Fixed in Version | => 2026.3 |
| 2026-08-26 13:14 | sbrun | Note Added: 0021955 |