
llz-2002/ensptomcpfortrae
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
ENSP connects to TRAE via the MCP interface to enable fully automated AI planning and configuration of ENSP equipment
Overview
eNSP (Enterprise Network Simulation Platform) device management MCP server, providing both Web UI interface and MCP interface for managing eNSP virtual devices. v2.0 video address: https://b23.tv/hDhtM7j GitHub address: https://github.com/llz-2002/ensp-managerr - : Scans eNSP virtual devices within specified port ranges - : Connects devices via Telnet protocol - : Each connected device has an independent CLI terminal, supports tab switching - : Renaming devices, disconnecting - : Uploading and saving network topology files - : Supports AI assistants calling all functions via MCP protocol - : Web UI synchronizes with MCP data in real time 1. Set port range (default 2000-2050) 2. Click the "Scan" button 3. The scan results will be displayed in the device list on the left 1. Click the "Connect" button corresponding to the device in the device list. 2. After successful connection, a green border will appear on the left, and the CLI terminal of the device will be shown on the right. 3. Enter the command in the terminal input box and press Enter to send - Each connected device has its own tab tab in the right area - click Tab to switch between different device terminals - Click the × button on Tab to disconnect the device - Click "Connected" in the sidebar to quickly switch to that device's terminal 1. Hover your mouse over the device name and click the [✎] icon. 2. Enter a new name in the pop-up window. 3. Click 'OK' to save - :Flask + Flask-SocketIO + eventlet - :Native JavaScript + Socket.IO client -:Telnet (device communication), Socket.IO (real-time communication), MCP (AI interface) - :Catppuccin Mocha theme 1. Ensure the eNSP virtual device is running locally 2. Default port range 2000-2050 corresponds to the eNSP device port 3. The MCP server requires the master server to start first 4. After the page refreshes, connected device terminals will be automatically restored
Overview (machine translated)
eNSP (Enterprise Network Simulation Platform) device management MCP server, providing both Web UI interface and MCP interface for managing eNSP virtual devices. v2.0 video link: https://b23.tv/hDhtM7j GitHub address: https://github.com/llz-2002/ensp-managerr
Functional Features
- Device Scanning: Scan eNSP virtual devices within a specified port range
- Device Connection: Connect devices via the Telnet protocol
- Multi-Terminal CLI: Each connected device has its own independent CLI terminal, supporting tab switching
- Device Management: Rename devices and disconnect
- Topology Management: Upload and save network topology files
- MCP Interface: Supports AI assistants in calling all functions via the MCP protocol
- Real-Time Synchronization: Web UI synchronizes with MCP data in real time
Project Structure
Get Started Quickly
1. Installation dependency
To start two servers using two terminals, start the main server first, then the MCP server
2. Start the master server
Access after the server starts
- Start the MCP server
3. Configure MCP (optional)
To use the MCP interface, configure mcp.json to your MCP client:
Web UI User Guide
Scanning Equipment
- Set port range (default 2000-2050)
- Click the “Scan” button
- The scan results are displayed in the device list on the left
Connect the device
- Click the “Connect” button corresponding to the device in the device list
- After successful connection, a green border will appear on the left and the CLI terminal on the right will be displayed
- Enter the command in the terminal input box and press Enter to send
Multi-terminal management
- Each connected device has an independent tab tab in the right area
- Tap Tab to switch between different device terminals
- Click the × button on the tab to disconnect the device
- Click “Connected” in the sidebar to quickly switch to the device terminal
Device Renaming
- Hover your mouse over the device name and click the [✎] icon
- Enter a new name in the pop-up window
- Click “OK” to save
Topology Management
Click the “Upload Topology” button to upload topology files in JSON or TXT format.
List of MCP tools
| Tool Name | Description | Parameter |
|---|---|---|
scan_devices |
Scanning device | start, end (port range) |
connect_device |
Connected device | port(port number) |
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"ensp": {
"command": "python",
"args": ["E:\\Trae CN\\code\\code\\mcpensp1\\mcp_server.py"],
"env": {},
"description": "eNSP Device MCP Server"
}
}
}