DE

dawnight0x/ensp-mcp

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

10 stars 4 forks Quality 60 Trend 26

MCP service and Web UI for Huawei eNSP network operations

Overview

Allow AI to manage the eNSP simulation network device through the MCP protocol and to provide a visualization tool. - eNSP devices operating in natural languages (CLI execution, configuration, storage, running configuration view, web-diagnosis, health check, pop-up sync) - Browser expands visualization to support uploading.top /.xml /.json files, automatically generation of topology.json and synchronization of current pop-up to AI - AI by getting topology context or ensp://topology/current direct access to the current web page and expands it as a source of current conversation -- ensp ops playbook and ensp senior network engineer two MCP mpts, respectively, topology-first rules and roles for senior network engineers; if the client does not support MCP Prompts, direct use of the catalogues. - Windows 10 or more systems (eNSP only supports Windows) - China eNSP installed and started - Python 3.11-3.13 (.python-version default option 3.11.6) - uv for creating virtual environments and synchronous dependencies - an AI client (Claude Desktop / Claude Code / Cursor etc.) that supports MCP Current operations rely on lock-in of FastMCP. The Python requirement is 3.11-3.13 and the default version is 3.11.6; the Development Dependency Group records uv 0.12.23. Reliance statement at pyproject.toml, full version and download check information recorded at uv.lock. Requirements.txt provides the same direct operating dependencies and recommends the use of lock files to synchronize the environment. After downloading or cloning the repository, open PowerShell in the root directory containing pyproject.toml to execute: uv sync-locked projects are created or synchronized according to .venv. uv run using this virtual environment service without the need to activate the environment manually or install Python-dependent globally. Virtual environments are not published with source code。

Overview (machine translated)

Allow AI to manage the eNSP simulation network device through the MCP protocol and to provide a visualization tool.

Overview of functions

  • ** MCP Server**
    -Topo Viewer - Browser Pop-up Visualization to Support Upload [[T0] / .xml / [[T2] File, Automatically Generate topology.json and Sync Current Pop-up to AI
  • Current Topology Context - AI can directly read the current page and upload it as a source for the current session -Prompt Layer - Inline [(T6] and [(T7]] Two MCP Prompts, providing topology-first, respectively, and senior network engineer roles; if the client does not support MCP Prompts, then the root directory [[ [T8]] can be used as a custom message

Preconditions

  • Windows 10 or more (eNSP only supports Windows)
  • China eNSP installed and started
  • Python 3.11–3.13 ([T9] Default Option 3.11.6
  • uv for creating virtual environments and synchronous dependencies
  • An AI client (Claude Desktop/ Claude Code/ Cursor etc.) that supports MCP

Install

Current operations rely on lock-in of FastMCP. The Python requirement is 3.11-3.13 and the default version is 3.11.6; the Development Dependency Group records uv 0.12.23.

Relying on a statement in [(T10]], full version and downloading of authentication information recorded in uv.lock. [[T12] Provide the same direct operational dependencies and recommend the use of lock files to synchronize the environment.

Create environment and start

After downloading or cloning the warehouse, open PowerShell in the project root directory containing [(T13]], implementing:

[[T14] Create or synchronize projects .venv on the basis of [[T15], [[T16] and uv.lock]. [[T19] Operate using this virtual environment service without the need to activate the environment manually or install Python-dependently. Virtual environments are not published with source code.

protocol compatibility

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 →