Files
cloudpods/pkg
742297e4a6 fix(mcp-server): do not expose server-monitor as an MCP tool (#25511)
server-monitor sends arbitrary QMP/HMP commands (pmemsave, migrate,
etc.) to a running guest, which exceeds the semantics of monitoring.
As an MCP tool it could be triggered without human awareness through
LLM prompt injection or the tool-request endpoint.

Remove the mcp-desc registration tag from ServerMonitorOptions so
climcgen no longer registers the tool, drop its mention from the MCP
instructions, and add a regression test asserting it is not exposed.
The climc command and the permission-gated region API are unchanged.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 19:22:19 +08:00
..
2026-08-20 17:30:16 +08:00
2026-08-20 17:30:16 +08:00
2026-08-20 17:30:16 +08:00
2026-08-20 17:30:16 +08:00
2026-06-09 18:54:54 +08:00
2024-01-02 16:49:18 +08:00
2026-08-20 17:30:16 +08:00
2026-08-20 17:30:16 +08:00
2026-08-20 17:30:16 +08:00