EVE-NG MCP Server

EVE-NG MCP Server

A Model Context Protocol server that enables LLMs to manage network topologies, labs, nodes, and configurations in the EVE-NG network emulation platform through a standardized interface.

Category
访问服务器

README

EVE-NG MCP Server

A comprehensive Model Context Protocol (MCP) server for EVE-NG network emulation platform integration. This server exposes EVE-NG's full API capabilities through MCP's standardized interface, enabling LLMs to manage network topologies, labs, nodes, and configurations.

Features

🔌 Connection Management

  • Secure authentication with EVE-NG servers
  • Connection testing and health monitoring
  • Session management with automatic reconnection
  • Support for both HTTP and HTTPS protocols

🧪 Lab Management

  • Create, list, and delete labs
  • Comprehensive lab information retrieval
  • Lab metadata management (description, author, version)
  • Import/export capabilities (planned)

🖥️ Node Management

  • Add and configure nodes with various templates
  • Start, stop, and manage node lifecycle
  • Bulk operations for multiple nodes
  • Node configuration and status monitoring
  • Comprehensive template and image support

🌐 Network Management

  • Create and manage networks (clouds, bridges, NAT)
  • Connect nodes to networks and each other
  • Topology visualization and management
  • Network configuration and monitoring

📊 MCP Resources & Prompts

  • Dynamic resources for real-time lab status
  • Static resources for documentation and examples
  • Guided prompts for common workflows
  • Educational content generation

🔗 Client Integrations

The EVE-NG MCP Server integrates seamlessly with popular MCP-compatible clients:

🤖 Claude Desktop

Use EVE-NG directly in conversations with Claude Desktop for natural language network management:

{
  "mcpServers": {
    "eveng-mcp-server": {
      "command": "uv",
      "args": ["run", "eveng-mcp-server", "run", "--transport", "stdio"],
      "env": {
        "EVENG_HOST": "eve.local",
        "EVENG_USERNAME": "admin",
        "EVENG_PASSWORD": "eve"
      }
    }
  }
}

📖 Complete Claude Desktop Integration Guide →

💻 VS Code

Integrate with VS Code for enhanced network development workflows:

  • Lab deployment from configuration files
  • Automated testing and validation
  • Topology visualization and documentation
  • Custom tasks and debugging support

💻 Complete VS Code Integration Guide →

🔍 MCP Inspector

Test and debug the server using the MCP Inspector:

# Start server in SSE mode
uv run eveng-mcp-server run --transport sse --host 0.0.0.0 --port 8000

# Start MCP Inspector
npx @modelcontextprotocol/inspector

🔗 All Integration Guides →

Installation

Prerequisites

  • Python 3.11 or higher
  • UV package manager
  • Access to an EVE-NG server

Using UV (Recommended)

# Clone the repository
git clone <repository-url>
cd eveng-mcp-server

# Install dependencies
uv sync

# Copy example configuration
cp .env.example .env

# Edit configuration as needed
nano .env

Configuration

The server can be configured using environment variables or a .env file:

# EVE-NG Server Settings
EVENG_HOST=eve.local
EVENG_PORT=80
EVENG_PROTOCOL=http
EVENG_USERNAME=admin
EVENG_PASSWORD=eve

# MCP Server Settings
MCP_TRANSPORT=stdio
MCP_LOG_LEVEL=INFO

See .env.example for all available configuration options.

Usage

Command Line Interface

# Run with stdio transport (default)
uv run eveng-mcp-server run

# Run with SSE transport
uv run eveng-mcp-server run --transport sse --host localhost --port 8000

# Test EVE-NG connection
uv run eveng-mcp-server test-connection --host eve.local --username admin --password eve

# Show configuration
uv run eveng-mcp-server config-info

# Show version
uv run eveng-mcp-server version

Available MCP Tools

Connection Management

  • connect_eveng_server - Connect to EVE-NG server
  • disconnect_eveng_server - Disconnect from server
  • test_connection - Test server connectivity
  • get_server_info - Get server information and status

Lab Management

  • list_labs - List available labs
  • create_lab - Create a new lab
  • get_lab_details - Get detailed lab information
  • delete_lab - Delete a lab

Node Management

  • list_node_templates - List available node templates
  • add_node - Add nodes to labs with comprehensive configuration
  • list_nodes - List lab nodes with status and details
  • get_node_details - Get detailed node information
  • start_node / stop_node - Control individual node power state
  • start_all_nodes / stop_all_nodes - Bulk node operations
  • wipe_node / wipe_all_nodes - Reset nodes to factory state
  • delete_node - Remove nodes from labs

Network Management

  • list_network_types - List available network types
  • list_lab_networks - List all networks in a lab
  • create_lab_network - Create networks with positioning
  • delete_lab_network - Remove networks from labs
  • connect_node_to_network - Connect nodes to networks
  • connect_node_to_node - Create point-to-point connections
  • get_lab_topology - Retrieve complete topology information

Testing

# Test EVE-NG connection
uv run eveng-mcp-server test-connection

# Run the server
uv run eveng-mcp-server run

📚 Documentation

Complete Guides

Integration Guides

Examples

🎯 Development Status

  • Production Ready - Complete MCP server implementation
  • EVE-NG Integration - Full API coverage with 25 tools
  • Client Integrations - Claude Desktop and VS Code support
  • Comprehensive Testing - Unit, integration, and E2E tests
  • Production Deployment - Docker, Kubernetes, systemd ready
  • Complete Documentation - API reference, guides, and examples
  • MCP Resources - 4 dynamic and static resources
  • MCP Prompts - 6 guided workflow prompts

🚀 Quick Start

  1. Install: git clone <repo> && cd eveng-mcp-server && uv sync
  2. Configure: Copy .env.example to .env and set your EVE-NG credentials
  3. Test: uv run eveng-mcp-server test-connection
  4. Integrate: Follow our Claude Desktop or VS Code guides
  5. Deploy: Use our production deployment guide for production use

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details on:

  • Code style and standards
  • Testing requirements
  • Documentation guidelines
  • Pull request process

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选