mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 11:33:15 +08:00
docs(netx): document ume_ne_id exec and listCliTargets MCP tool
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
47813f6a94
commit
8781a200c9
2 changed files with 6 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ pip install -e D:/project/chatgpt/netx/packages/netx-mcp
|
|||
|
||||
Then run **Health** → **Sync Tools**.
|
||||
|
||||
### Expected MCP tools (12)
|
||||
### Expected MCP tools (13)
|
||||
|
||||
| MCP tool | oclaw namespaced | Legacy builtin (if enabled) |
|
||||
|----------|------------------|----------------------------|
|
||||
|
|
@ -105,6 +105,9 @@ Then run **Health** → **Sync Tools**.
|
|||
| `listManagedNe` | `mcp__netx__listManagedNe` | `netx_list_managed_ne` |
|
||||
| `getManagedNe` | `mcp__netx__getManagedNe` | `netx_get_managed_ne` |
|
||||
| `execManagedNe` | `mcp__netx__execManagedNe` | `netx_exec_managed_ne` |
|
||||
| `listCliTargets` | `mcp__netx__listCliTargets` | — |
|
||||
|
||||
`execManagedNe` accepts **`ne_id`** (managed NE) **or** `ume_ne_id` (UME inventory NE). For UME lazy exec, configure CLI profile at netx UI **UME → CLI 连接** (`/ume` tab) before running show commands.
|
||||
|
||||
**不暴露**(已废弃 Excel 导入批次链路):`netx_query_alarms`、`netx_list_import_batches`、`netx_sql_query`(带 `batch_id`)等。
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,9 @@ description: 面向 ops 专家的 netx 纳管网元(网元管理)作业手
|
|||
1. **定位设备**
|
||||
- `mcp__netx__listManagedNe`:`keyword`、`connect_status=pass`
|
||||
- `mcp__netx__getManagedNe`:单条详情、`connect_detail`
|
||||
- **UME 清单(无需逐台纳管)**:`mcp__netx__listCliTargets`(`source=ume`)或 `queryUmeNeInventory` 取 `ne_id`,再用 `ume_ne_id` 执行 CLI(需先在 netx **UME → CLI 连接** 配置统一凭据/跳板)
|
||||
2. **登录查信息**
|
||||
- `mcp__netx__execManagedNe`:`ne_id` + `commands`(最多 5 条只读命令)
|
||||
- `mcp__netx__execManagedNe`:`ne_id` **或** `ume_ne_id` + `commands`(最多 5 条只读命令)
|
||||
|
||||
## CLI 约束(服务端强制)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue