mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-19 06:43:17 +08:00
feat(mcp): integrate netx via netx_mcp and improve MCP install
- Gate builtin netx tools; ops docs/skills use mcp__netx__* - Import Cursor mcpServers JSON; pass env_schema defaults to subprocess - Allow source_type=local; UTF-8 MCP stdio on Windows Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
bbd7b0300f
commit
a0a3f4b65f
17 changed files with 408 additions and 536 deletions
|
|
@ -13,11 +13,13 @@ description: 面向 ops 专家的 netx 纳管网元(网元管理)作业手
|
|||
|
||||
## 工具选择顺序
|
||||
|
||||
优先 **MCP**(`mcp__netx__*`)。legacy:`netx_list_managed_ne` 等(`OCLAW_NETX_BUILTIN_TOOLS=1`)。
|
||||
|
||||
1. **定位设备**
|
||||
- `netx_list_managed_ne`:`keyword`(名称/IP)、`connect_status=pass` 过滤
|
||||
- `netx_get_managed_ne`:单条详情、`connect_detail`(连通失败排障)
|
||||
- `mcp__netx__listManagedNe`:`keyword`、`connect_status=pass`
|
||||
- `mcp__netx__getManagedNe`:单条详情、`connect_detail`
|
||||
2. **登录查信息**
|
||||
- `netx_exec_managed_ne`:`ne_id` + `commands`(最多 5 条只读命令)
|
||||
- `mcp__netx__execManagedNe`:`ne_id` + `commands`(最多 5 条只读命令)
|
||||
|
||||
## CLI 约束(服务端强制)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue