fix(ne-exec): allow only show/display CLI and harden agent injection

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-06-04 20:51:06 +08:00
parent 1784d996dd
commit 0361472ede
3 changed files with 74 additions and 10 deletions

View file

@ -391,7 +391,7 @@ HTTP_MCP_TOOLS: list[dict[str, Any]] = [
},
{
"name": "execManagedNe",
"description": "Run read-only CLI on a managed NE via netx (show/display/ping; max 5 commands).",
"description": "Run read-only CLI on a managed NE via netx (show/display only; max 5 commands).",
"inputSchema": {
"type": "object",
"properties": {