ensp-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ensp-mcpscan for available devices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
eNSP MCP Server
华为 eNSP 网络模拟平台的 MCP (Model Context Protocol) 服务器,允许 AI 助手通过标准化的 MCP 接口自动化管理和配置 eNSP 虚拟网络设备。
功能
设备发现: 自动扫描并发现运行中的 eNSP 虚拟设备
命令执行: 通过 Telnet 在设备上执行 CLI 命令
状态查询: 获取版本、配置、接口、ARP/MAC 表、LLDP 邻居等信息
网络配置: 配置接口 IP、VLAN、静态路由
网络诊断: Ping 测试
Related MCP server: Device MCP Server
安装
pip install .使用
在 Claude Code 或其他 MCP 客户端中添加配置:
{
"mcpServers": {
"ensp": {
"transport": "stdio",
"command": "python",
"args": ["-m", "ensp_mcp"],
"env": {
"ENSP_CONSOLE_HOST": "127.0.0.1",
"ENSP_CONSOLE_TIMEOUT": "15"
}
}
}
}前置条件
华为 eNSP 模拟器已安装并启动
Python >= 3.10
工具列表
类别 | 工具 | 说明 |
设备发现 |
| 扫描本地端口,发现运行中的设备 |
| 列出已注册的设备 | |
| 获取设备详细信息 | |
设备状态 |
| 检查设备在线状态 |
| 建立 Telnet 连接 | |
| 断开 Telnet 连接 | |
命令执行 |
| 执行单条 CLI 命令 |
| 批量执行 CLI 命令 | |
信息查询 |
| 获取设备版本 |
| 获取运行配置 | |
| 获取启动配置 | |
| 获取接口摘要 | |
| 获取接口详情 | |
| 获取 LLDP 邻居 | |
| 获取 ARP 表 | |
| 获取 MAC 地址表 | |
网络配置 |
| 配置接口 IP |
| 创建/删除 VLAN | |
| 配置静态路由 | |
诊断 |
| Ping 测试 |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/loiilp/ensp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server