A safe, user-friendly MCP and web control plane for Huawei eNSP
Project description
eNSP Nexus
eNSP Nexus 是一个面向 AI 时代网络工程师培养的 Huawei eNSP 实验控制平面。 它把 eNSP 模拟器、Web 终端与 MCP(Model Context Protocol)工具统一在一个 工作区中,让人工智能助手能够直接参与网络实验的配置、验证与排障流程, 让学习者把精力集中在协议理解与架构思考,而不是重复的命令录入。
设计理念
- AI 协同学习:通过 MCP 协议向 AI 助手暴露结构化的拓扑、配置与会话状态, 使其能够辅助配置下发、错误诊断和实验复盘。
- 安全优先:内置危险命令拦截、操作审计、配置快照与防抖刷新机制, 避免误操作破坏实验环境。
- 原生级终端体验:基于 WebSocket 透明转发的字符级 Web 终端,键入体验 对标专业终端工具(Tab 补全、密码不回显、分页交互等)。
主要功能
- 导入 eNSP 实验文件夹,自动解析拓扑与设备 Console 端口
- 多设备共享会话的 Web 原生终端
- 配置快照管理(imported / live / stale 三态)
- MCP 工具集:设备发现、配置采集、命令执行、排障辅助
- 危险命令拦截与操作审计日志
部署方法
环境要求
- Python 3.11 或更高版本
- Windows 操作系统(需运行 eNSP 模拟器)
- 已安装并运行 Huawei eNSP
安装
pip install ensp-nexus
启动 Web 控制台
ensp-nexus-api
启动后访问控制台地址(默认 http://127.0.0.1:8000),导入 eNSP 实验文件夹 即可开始使用。
作为 MCP Server 接入 AI 助手
在支持 MCP 的客户端(如 Claude Desktop、Cursor 等)配置文件中添加:
{
"mcpServers": {
"ensp-nexus": {
"command": "ensp-nexus-mcp"
}
}
}
健康检查
ensp-nexus-doctor
License
Business Source License 1.1(个人与教育用途免费,2029-01-01 起转为 Apache 2.0)。
相关链接
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ensp_nexus-0.2.2-py3-none-any.whl.
File metadata
- Download URL: ensp_nexus-0.2.2-py3-none-any.whl
- Upload date:
- Size: 207.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d980dad7c158c7c072f7b7280c4f32aae8cd645f666e2d0fd117e0a4135994b
|
|
| MD5 |
ccdbd24218cac55859880ccd928998c2
|
|
| BLAKE2b-256 |
f35d707752e4d06fddd7fb47d89994bf22cec6285c090083437d8bb7403a82a4
|