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.
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
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 serverdisconnect_eveng_server- Disconnect from servertest_connection- Test server connectivityget_server_info- Get server information and status
Lab Management
list_labs- List available labscreate_lab- Create a new labget_lab_details- Get detailed lab informationdelete_lab- Delete a lab
Node Management
list_node_templates- List available node templatesadd_node- Add nodes to labs with comprehensive configurationlist_nodes- List lab nodes with status and detailsget_node_details- Get detailed node informationstart_node/stop_node- Control individual node power statestart_all_nodes/stop_all_nodes- Bulk node operationswipe_node/wipe_all_nodes- Reset nodes to factory statedelete_node- Remove nodes from labs
Network Management
list_network_types- List available network typeslist_lab_networks- List all networks in a labcreate_lab_network- Create networks with positioningdelete_lab_network- Remove networks from labsconnect_node_to_network- Connect nodes to networksconnect_node_to_node- Create point-to-point connectionsget_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
- 📖 API Reference - Complete documentation for all 25 tools, 4 resources, and 6 prompts
- 🚀 Deployment Guide - Production deployment with Docker, Kubernetes, and systemd
- 🔧 Troubleshooting Guide - Common issues and solutions
- 🧪 Testing Guide - Comprehensive testing procedures
Integration Guides
- 🤖 Claude Desktop Integration - Natural language network management
- 💻 VS Code Integration - Enhanced development workflows
- 🔗 All Integrations - Complete integration documentation
Examples
- 📁 Configuration Examples - Ready-to-use configurations
- 🧪 Test Scripts - Comprehensive test suite with examples
- 📊 Sample Labs - Example network topologies
🎯 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
- Install:
git clone <repo> && cd eveng-mcp-server && uv sync - Configure: Copy
.env.exampleto.envand set your EVE-NG credentials - Test:
uv run eveng-mcp-server test-connection - Integrate: Follow our Claude Desktop or VS Code guides
- 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
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Complete Documentation
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。