mcp-eveng
One-line summary: mcp-eveng is an MCP server that lets an LLM client (Claude Desktop/Code, any MCP host) read and modify an EVE-NG network emulator through its REST API, over stdio, SSE, or streamable-HTTP.
Server & catalog discovery:
get_status(CPU/RAM/disk/version, and the-PROsuffix used for edition detection),list_node_templates/get_node_template(with best-effort vendor labels, optional hiding of templates lacking images),list_network_types, pluslist_toolsto see which tools are actually registered pertools.env.Folder management:
list_folder,add_folder,move_folder(move/rename), anddelete_folder(refuses non-empty folders, requires confirmation).Lab lifecycle:
list_labs(recursive walk with loop protection and substring search),get_lab,open_lab(read-only lock status + next steps),create_lab,edit_lab(partial metadata updates),move_lab,share_lab(PRO only, additive, search/select/confirm), anddelete_lab(confirm required).Lab topology & inspection:
get_lab_topology,get_lab_links(available ethernet/serial endpoints),list_lab_pictures.Networks:
list_lab_networks,add_lab_network(bridge/ovs/pnetX withcloud/cloud0–cloud9aliases, prompts for type if omitted),edit_lab_network(name, position, visibility, hideme, style, icon, color, label),delete_lab_network(bulk-capable, confirm required).Nodes:
list_lab_nodes(with vendor + console URL/status),add_lab_node(search-resolves template, inherits template defaults, auto-places on the canvas, asks for an image when several exist),edit_lab_node(all EVE-NG Edit Node fields incl. RAM/CPU/ethernet/QEMU/RDP, auto-stops the node first, duplicate-name guard),edit_lab_nodes_by_template(bulk interfaces/cpu/memory/icon/image across one template),change_node_delay(single or bulk ordering/incrementing),delete_lab_node(bulk, confirm required).Wiring:
get_node_interfacesandconnect_interface— node↔node (hidden bridge, GUI-style line) or node↔network, with interface names/indices or auto-pick; on Community it stops the involved nodes automatically, on PRO it wires running nodes.Power & lifecycle:
start_node,stop_node(single or whole lab, with PROstopmodehandling),wipe_node(rebuild from image; per README wiping everything needsnode_id="all"plusconfirm=true),export_node(PRO only — dumps running config into the lab file).Available but not exposed here (disabled by default or edition-gated): user administration,
list_user_roles,list_satellites, link-quality get/set,telnet_nodeCLI access, and the PRO capture-relay tools (list_captures/get_capturefor streaming Wireshark captures).Safety model: destructive operations (deletes, bulk edits, bulk delay changes, sharing) use a deterministic search → select → confirm flow with numbered matches and
confirm/selectionarguments; tool calls are logged with password-like arguments redacted.
Allows streaming packet captures from EVE-NG PRO nodes to a local Wireshark for live analysis, without requiring direct SSH access to the EVE-NG host.
Click on "Deploy 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., "@mcp-eveng create a lab with two routers and a switch"
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.

mcp-eveng
A Model Context Protocol server that lets LLM clients (Claude Desktop, Claude Code, or any other MCP host) drive an EVENG network emulator instance: create and edit labs, add/wire nodes and networks, start/stop/wipe devices, and browse templates, folders and users — all through the EVENG REST API.
Table of contents
Related MCP server: EVE-NG MCP Server
Features
All three MCP transports:
stdio,--sse,--httpFull coverage of the EVE-NG REST API
HTTP/HTTPS and API key support
47 tools to manage your EVE-NG labs
Bulk edits across many nodes at once
Stream Wireshark captures to a local Wireshark
Adjust link quality settings
Supports both Community and PRO editions
Installation
This project is not published on PyPI — install directly from a git clone:
git clone https://github.com/madmickstar/mcp_eveng.git
cd mcp_eveng
pip install -e .Upgrading
Upgrading guide — updating an existing
mcp-eveng and/or mcp-relay install.
Capture relay
Stream Wireshark capture to a local Wireshark without a personal SSH+sudo account on the EVE-NG host. Limited to EVE-NG PRO only.
Run App
python -m mcp_eveng # stdio mode (default)
python -m mcp_eveng --sse # sse mode
python -m mcp_eveng --http # streamable-http mode--sse and --http rely on variables configured in your .env file —
see .env.example.
Configuration
Copy .env.example to .env and fill in your EVENG server details:
cp .env.example .envEVENG connection (always used, regardless of transport)
Variable | Default | Description |
|
| EVENG server IP or hostname — no scheme or port, those are separate variables below |
|
| EVENG server port |
|
|
|
|
| Login username |
|
| Login password |
|
| EVENG |
|
| Verify TLS certs. Default is |
|
| HTTP request timeout |
Since EVENG_HOST is an IP/hostname only, always set EVENG_PORT and
EVENG_PROTOCOL explicitly to match your deployment rather than relying on
the https/443 defaults.
MCP network settings (only used with --sse or --http)
Variable | Default | Description |
|
| Bind host |
|
| Bind port |
|
| Mount path for the Streamable HTTP app ( |
|
| Mount path for the legacy SSE app ( |
|
|
|
|
| Comma-separated Host-header allowlist. Required when |
|
|
|
| unset | If set, every request needs |
| unset | TLS certificate file. Serves HTTPS instead of plain HTTP when set together with |
| unset | TLS certificate's private key file. Required together with |
| unset | Only needed if the private key above is itself password-protected |
|
| Also write logs to a rotating file under |
|
| Directory for rotating log files (created automatically). Only used when |
|
| Roll over to a new log file once the current one reaches this many megabytes |
|
| Number of rolled-over log files to keep before the oldest is deleted |
All variables can also be set as real environment variables, which take
precedence over .env.
MCP_TOOLS_CONFIG_PATH (default tools.env) and the four MCP_LOG_FILE_*
variables apply to every transport, including stdio — they aren't
scoped to --sse/--http like the rest of this table, since tool
registration and logging setup both happen before transport is even
dispatched on. See "Controlling which MCP tools are exposed" below and
"MCP_LOG_LEVEL: options and where logs go" just below that.
MCP_LOG_LEVEL: options and where logs go
Options are the standard Python logging levels — DEBUG, INFO, WARNING,
ERROR, CRITICAL (case-insensitive; an invalid value fails fast at
startup). Logs always go to stderr, never stdout, in every transport —
not just stdio — because stdout is reserved for the stdio JSON-RPC stream
and nothing else should ever print to it. Every log line's own leading
timestamp is ISO-8601 with milliseconds: Z for UTC, or a +HH:MM/
-HH:MM offset for the server process's local timezone otherwise — e.g.
2026-09-11T19:31:00.001Z INFO mcp_eveng: Starting mcp-eveng with transport=stdio.
Every tool call is logged at INFO as key=value fields — status
(call, finished, or error), the tool name, the connecting client's
address, and (on the initial call line) the JSON arguments the client
passed, with sensitive-looking values redacted (see below), or (on the
matching finished/error follow-up line) how long the call took and,
for error, the error message. This is on unconditionally; there's no
separate toggle for it, since it's the main thing worth logging in the
first place. Example:
2026-09-11T19:31:00.001Z INFO mcp_eveng.tool_calls: status=call tool=get_lab client=192.168.1.50:54321 arguments={"path": "/my-lab.unl"}
2026-09-11T19:31:00.043Z INFO mcp_eveng.tool_calls: status=finished tool=get_lab client=192.168.1.50:54321 duration_ms=42.1There's no separate timestamp= field in the message body — the line's
own leading timestamp above already covers it. client is
host:port of the connecting
client for --sse/--http (taken from the underlying HTTP connection),
or stdio when running over stdio — a local subprocess pipe genuinely has
no network client address to report.
Sensitive argument values are redacted before logging — any argument
whose name looks like a password, secret, token, API key, or credential
(matched case-insensitively, e.g. password, rdp_password, api_key)
is logged as ***REDACTED*** instead of its real value; the argument name
itself still appears, so you can see that a password was being changed,
just not what to. See _SENSITIVE_ARGUMENT_SUFFIXES in tool_logging.py
if you ever need to extend the list for a new argument.
Optional rotating log file: set MCP_LOG_FILE_ENABLED="true" to also
write everything to a rotating file (mcp-eveng.log inside MCP_LOG_DIR,
default log/ — created automatically), on top of stderr, which is always
used regardless of this setting. MCP_LOG_MAX_MB (default 10) controls
when it rolls over to mcp-eveng.log.1, .2, etc.; MCP_LOG_BACKUP_COUNT
(default 5) controls how many rolled-over files are kept before the
oldest is deleted. If you'd rather redirect stderr yourself instead
(e.g. mcp-eveng --http 2>> mcp-eveng.log), that still works too — the two
approaches aren't mutually exclusive, though most people will want one or
the other, not both.
MCP_ALLOWED_HOSTS: DNS-rebinding protection
The mcp SDK validates the HTTP Host header on --sse/--http requests to
guard against DNS-rebinding attacks (TransportSecuritySettings).
The default, localhost:*, matches the default loopback bind host
(MCP_HOST=127.0.0.1) for local use out of the box. When MCP_HOST is
anything else (e.g. 0.0.0.0 to bind all interfaces), update
MCP_ALLOWED_HOSTS to match — since it now has a non-empty default,
mcp-eveng no longer refuses to start if you forget; it starts, but then
rejects every request at runtime with a Host-header mismatch, which is a
more confusing failure to debug than a startup error. See
Troubleshooting if requests are being rejected
unexpectedly.
Format is a comma-separated list of host:port or host:* (any port)
entries, matching the SDK's native allowed_hosts syntax:
MCP_ALLOWED_HOSTS="localhost:*,192.168.10.100:*"MCP_STATEFUL: session persistence across restarts
Streamable HTTP is stateful by default (stateless_http=False in the SDK):
each client gets a session id tied to server-side state. If you restart the
server, clients that already negotiated a session can be left holding a
session id the server no longer recognizes. Set MCP_STATEFUL=false to run
with stateless_http=True instead, which drops session persistence so a
restart never confuses connected clients — useful for --http deployments
that get redeployed/restarted regularly. This is a real SDK feature
(FastMCP(..., stateless_http=...)), not a workaround.
MCP_API_KEY and MCP_TLS_*: optional extra security
Neither is required — MCP_ALLOWED_HOSTS above is the only thing this
server enforces by default. Both are opt-in for anyone who wants more than
that, e.g. a --http deployment reachable beyond localhost.
MCP_API_KEY, if set, requires every --sse/--http request to present
it via Authorization: Bearer <key>, or the request gets a 401 before
it ever reaches the MCP handler.
MCP_TLS_CERT_PATH/MCP_TLS_KEY_PATH (both required together, or leave
both unset) serve --sse/--http over HTTPS instead of plain HTTP.
MCP_TLS_KEY_PASSWORD is only needed if the private key file itself is
encrypted. Requires this server's own certificate to be one the client
trusts.
If MCP_TLS_CERT_PATH points at a certificate file inclusive of
certificate chain, the server certificate must come first, with the CA
certificate below it — this is a universal PEM chain-file convention
(the same order Apache/nginx/every OpenSSL-based server expects), not
specific to this project. See docs/tools-reference.md for the full
detail on both settings, including request/response examples.
For running the server and configuring it in Claude Desktop / Claude Code
(both stdio and streamable-http), see the
Linux/macOS or
Windows guide — the exact commands and
JSON differ enough between platforms (path syntax, shell env-var syntax,
and how each OS handles PATH for GUI-launched subprocesses) that they're
kept there rather than duplicated here.
EVE-NG Pro vs Community MCP tools
EVE-NG's REST API has no explicit "edition" field, but the version string
get_status returns carries a -PRO suffix on PRO servers (confirmed
live: 6.5.0-27-PRO); plain Community builds don't have it (confirmed
live: 6.2.0-4). This is the only reliable signal for which edition a
server is running, and it's what every edition-aware behavior below
derives from (edition.is_pro_edition). An unrecognized or missing
version string is treated as Community, the more conservative assumption.
Five tools genuinely behave differently by edition — confirmed against EVE-NG's own official features-compare page, live testing, or both:
connect_interface— Pro and Community versions both support this MCP tool. Community version requires nodes to be stopped; Pro does not.export_node— Pro only.share_lab— Pro only.set_link_quality/get_link_quality— Pro only.list_captures/get_capture— Pro only.
Available MCP tools
Tool names have no prefix (get_status, not eveng_get_status) — be aware
this means a name could collide with another MCP server's tool if you ever
connect more than one server with overlapping names to the same client.
Comm Eve/Pro Eve: which EVE-NG edition(s) support the tool — see "EVE-NG Pro vs Community MCP tools" above for how edition is detected and why these six specifically differ.
Area | Tool | Description | Comm Eve | Pro Eve |
System |
| Reports EVE-NG server status and version. | ✅ | ✅ |
| Lists available node templates. | ✅ | ✅ | |
| Gets details for a single node template, including its images. | ✅ | ✅ | |
| Lists valid network types (bridge, cloud/pnetX, etc.). | ✅ | ✅ | |
| Lists available user roles. Disabled by default. | ✅ | ✅ | |
| Lists the cluster's satellites (id, name, online); | ❌ | ✅ | |
Server introspection |
| Lists the tools published by the MCP server. | ✅ | ✅ |
Folders |
| Lists the contents of a folder. | ✅ | ✅ |
| Creates a new folder. | ✅ | ✅ | |
| Moves or renames a folder. | ✅ | ✅ | |
| Deletes a folder. Requires user confirmation before it does anything. | ✅ | ✅ | |
Users |
| Lists user accounts. Disabled by default. | ✅ | ✅ |
| Gets details for a single user. Disabled by default. | ✅ | ✅ | |
| Creates a new user account. Disabled by default. | ✅ | ✅ | |
| Edits an existing user account. Disabled by default. | ✅ | ✅ | |
| Deletes a user account. Requires user confirmation before it does anything. Disabled by default. | ✅ | ✅ | |
Labs |
| Gets metadata for a lab. | ✅ | ✅ |
| Looks up a lab and reports its lock status. | ✅ | ✅ | |
| Creates a new lab. | ✅ | ✅ | |
| Edits a lab's metadata. | ✅ | ✅ | |
| Shares a lab with one or more users. | ✅ | ||
| Moves a lab to a different folder. | ✅ | ✅ | |
| Deletes a lab. Requires user confirmation before it does anything. Disabled by default. | ✅ | ✅ | |
| Gets a lab's node/network topology. | ✅ | ✅ | |
| Gets a lab's link (interface) mappings. | ✅ | ✅ | |
| Lists background pictures placed in a lab. | ✅ | ✅ | |
| Recursively lists every lab under a folder. | ✅ | ✅ | |
Networks |
| Lists networks in a lab. | ✅ | ✅ |
| Adds a network to a lab. | ✅ | ✅ | |
| Edits an existing network. | ✅ | ✅ | |
| Deletes a network. Requires user confirmation before it does anything. | ✅ | ✅ | |
Nodes |
| Lists nodes in a lab. | ✅ | ✅ |
| Adds a node to a lab. | ✅ | ✅ | |
| Edits an existing node. | ✅ | ✅ | |
| Changes a node's startup delay, one node or in bulk. | ✅ | ✅ | |
| Bulk-edits interfaces/cpu/memory/icon/image across nodes sharing a template. | ✅ | ✅ | |
| Deletes a node. Requires user confirmation before it does anything. | ✅ | ✅ | |
| Gets a node's interfaces and what they're wired to. | ✅ | ✅ | |
| Wires a node's interface to another node or to a network. | ✅ | ✅ | |
| Starts a node, or every node in a lab. | ✅ | ✅ | |
| Stops a node, or every node in a lab. | ✅ | ✅ | |
| Wipes a node's saved configuration. Wiping every node needs | ✅ | ✅ | |
| Exports a node's running configuration. | ✅ | ||
| Sets per-connection delay/jitter/packet-loss/bandwidth. | ✅ | ||
| Gets current delay/jitter/packet-loss/bandwidth on both sides of a connection. | ✅ | ||
Live console access |
| Sends CLI commands to a running node's console over telnet. | ✅ | ✅ |
Capture relay |
| Lists running Wireshark capture containers. Disabled by default. | ✅ | |
| Mints a one-time URL to stream a capture to a local Wireshark. Disabled by default. | ✅ |
"Disabled by default" tools: see "Controlling which MCP tools are exposed"
below for how to turn them on. "Requires user confirmation" tools: see
docs/tools-reference.md for the search → select → confirm flow they
each go through before anything is deleted.
More detailed information about each tool — confirmed EVE-NG quirks, design reasoning, and non-obvious behavior — can be found in docs/tools-reference.md.
Controlling which MCP tools are exposed
Every tool can be individually enabled or disabled, via a dedicated
dotenv-syntax config file — kept separate from the main .env so tool
visibility is easy to review and diff independently of connection
settings. Copy tools.env.pro.example (PRO edition) or
tools.env.comm.example (Community edition) to tools.env (or point
MCP_TOOLS_CONFIG_PATH at wherever you keep it) and set any tool to
enabled or disabled:
get_status=enabled
list_users=disabledSee docs/tools-reference.md for the full detail — how the two example
files differ, what's enabled by default, and how list_tools reflects
tools.env exactly.
Project layout
mcp-eveng/
├── src/mcp_eveng/
│ ├── client.py # async EVENG REST API client (incl. list_all_labs recursion helper)
│ ├── config.py # pydantic-settings, reads .env
│ ├── confirmation.py # shared search/select/confirm state machine for deletes
│ ├── dependencies.py # shared client singleton
│ ├── edition.py # PRO vs Community detection, shared by all edition-gated tools
│ ├── exceptions.py
│ ├── search.py # case-insensitive record search (used by delete tools)
│ ├── telnet.py # raw asyncio telnet client (IAC handling) for telnet_node
│ ├── tool_config.py # per-tool enable/disable config loader (tools.env)
│ ├── vendor.py # best-effort vendor extraction + image-availability check
│ ├── server.py # FastMCP assembly + transport security/statefulness/API key/TLS
│ ├── __main__.py # CLI: --sse / --http flags
│ ├── tools/ # one module per API area
│ └── capture_relay/ # standalone mcp-relay service (own entrypoint, own config,
│ # shares this same venv and .env -- see docs/capture-relay.md)
├── systemd/
│ ├── mcp-eveng.service # ready-to-use unit for the main MCP server
│ └── mcp-relay.service # ready-to-use unit for the standalone capture-relay service
├── scripts/
│ ├── eve-capture.bat # Windows capture:// protocol handler companion
│ ├── eve-capture-manual.bat # list/pick a running capture, print its capture:// URL (cmd + curl only)
│ └── eve-capture-manual.ps1 # same, in PowerShell (see docs/capture-relay.md section 10)
├── tests/
│ ├── conftest.py
│ ├── test_*.py
│ ├── tools/
│ └── capture_relay/
├── docs/
│ ├── install-linux.md # Linux/macOS install, running, Claude Desktop JSON
│ ├── install-windows.md # Windows install, running, Claude Desktop JSON
│ ├── capture-relay.md # full capture-relay setup guide
│ ├── upgrading.md # updating an existing install
│ ├── manual-curl-commands.md # testing the server directly over HTTP
│ └── tools-reference.md # detailed per-tool design notes (see "Available MCP tools")
├── assets/
│ └── banner.png
├── .env.example # shared config for both mcp-eveng and mcp-relay -- copy to .env
├── tools.env.pro.example # per-tool enable/disable config, PRO -- copy to tools.env
├── tools.env.comm.example # same, Community edition (disables 2 PRO-only tools)
└── .github/workflows/ # CI + PyPI publishTroubleshooting
A tool call fails with 500 Internal Server Error and no useful
message — mcp-eveng itself now raises a more actionable error for
this (any 5xx response from EVE-NG with no JSON body, which is what an
unhandled server-side exception typically looks like). This is often
caused by a stale lock file left behind on the EVE-NG server by an
earlier interrupted request. On the EVE-NG server, check for one with:
find /opt/unetlab/labs/ -name '*.lock'and remove any found with:
find /opt/unetlab/labs/ -name '*.lock' -exec rm {} \;then retry. If that doesn't resolve it, check the EVE-NG server's own logs for the underlying exception.
IncompleteFieldDefinitionWarning: Field 'lifespan' has an incomplete definition... — this comes from inside the mcp SDK itself, not from
mcp-eveng. The SDK's internal FastMCP Settings model has a
self-referential lifespan field type that it never calls
model_rebuild() on, so pydantic-settings warns about it on every
FastMCP construction. It has no functional effect (nothing reads that
field from the environment) and mcp-eveng suppresses it by default — if
you still see it, you're likely on an mcp version where the warning text
changed slightly; it's safe to ignore either way.
Streaming capture via curl — if a Windows client connecting to this
server (curl.exe, or anything else using Windows' native Schannel TLS
stack) fails with schannel: next InitializeSecurityContext failed: SEC_E_INTERNAL_ERROR, check your certificate's key algorithm —
confirmed by directly comparing a cert that triggered this against one
that didn't: the failing one used ECDSA with the P-521 curve
(secp521r1). Windows Schannel has a documented incompatibility with
P-521 certificates specifically (P-256/P-384 ECDSA and RSA are
unaffected — this isn't "avoid ECDSA," just that one specific curve).
Regenerate the certificate with RSA (2048-bit or larger) or ECDSA
P-256/P-384 instead.
Manual curl commands
Test the server directly over HTTP without an MCP client — useful for quick troubleshooting. Manual curl commands guide.
A note on sessions and relogin
EVE-NG only allows one active session per user account — see
docs/tools-reference.md
for what that means in practice and how EvengClient handles it.
Known issues
EVE-NG PRO: single-node stop needs stopmode (fixed in 0.9.10). The
documented GET .../nodes/{id}/stop is refused on PRO with
"Request not valid (60027)." even on a healthy session, while start works.
The web UI sends .../nodes/{id}/stop/stopmode={N}, and so does this server
now (stopmode=3, the UI's default "Stop") when it detects PRO; Community
keeps the plain form, and if the first form is refused the other is tried
once and remembered. stop_node also takes an optional stopmode
(graceful=0, poweroff=1, hibernate=2, auto=3). This covers everything
that stops a node first (edit_lab_node, change_node_delay,
edit_lab_nodes_by_template, connect_interface on Community). A node that
is genuinely stuck can still be refused; a failed stop does not trigger a
relogin (since 0.9.9), so it fails fast and does not log the same account out
of the web GUI.
Development
pip install -e ".[dev]"
# run tests with coverage
pytest
# lint / type-check
ruff check .
mypy srcWhy mcp is pinned below 2.0
The official MCP Python SDK shipped a 2.0.0 release on 2026-07-28 alongside
the 2026-07-28 protocol revision. It is a deliberate breaking rework
(FastMCP renamed to MCPServer, new import paths, stateless transports)
and the SDK maintainers themselves recommend the 1.x line for production
use while 2.x stabilizes. This project pins mcp[cli]>=1.23.0,<2.0.0
intentionally — see pyproject.toml. Revisit this pin (and re-verify all
three transports, transport_security, and stateless_http) when migrating
to 2.x.
License
MIT — see LICENSE.
Tested versions
The EVE-NG server versions this project has actually been exercised
against live, confirmed via each server's own get_status response:
PRO:
6.5.0-27-PROCommunity:
6.2.0-4
Other versions of either edition likely work too — nothing in this project depends on a specific point release beyond the documented edition differences (see "EVE-NG Pro vs Community MCP tools") — but these are the two actually confirmed.
Available Tools
36 toolsadd_folderB
Create a new folder inside an existing EVENG folder.
Args: path: Parent folder path, e.g. "/User1". name: Name of the new folder to create.
Inputs: name (required), path (required). Returns: object
add_lab_networkA
Add a network (bridge/cloud/ovs/pnetX) to a lab's canvas.
If network_type isn't given, fetches the current list of
valid types and prompts for one instead of guessing or
erroring -- reply with the exact name, or its number from
that list. "cloud"/"cloud0" through "cloud9"
(case-insensitive) are also accepted, resolved to "pnet0"
through "pnet9" -- what EVE-NG's GUI calls Cloud0-Cloud9, a
fixed set of exactly 10 (confirmed against EVE-NG's own
documentation); the API itself only ever accepts the bare
pnetN form.
Args:
lab_path: Full path to the .unl lab file.
network_type: See list_network_types for valid values,
"cloud"/"cloud0"-"cloud9" for pnet0-pnet9, or omit to
be shown the list.
name: Network display name, default "NetX".
left: Canvas position from the left. Numeric string, e.g. "380".
top: Canvas position from the top. Numeric string, e.g. "153".
hideme: 0 (default) renders as its own icon; 1 hides it.
Note: not what makes a node-to-node connect_interface
bridge render as a direct line -- that's visibility,
set separately after wiring, not something you set here.
Inputs: lab_path (required), top, left, name, +2 more. Returns: object
add_lab_nodeA
Add a node to a lab's canvas, resolving the template by search and auto-placing it.
template is a case-insensitive substring search against every
template's id, name, and (best-effort) vendor -- not an exact id.
Empty matches everything (lists them all); no matches cancels;
exactly one match proceeds directly; more than one match lists
them and asks you to call again with selection set to the
number or exact id/name of the one you want.
Once resolved, fetches the template's own defaults (node type,
RAM, CPU, ethernet count, console type, icon, and every other
field it reports, e.g. QEMU-specific ones) and uses them for
anything you didn't specify -- this works the same way for every
vendor's templates. If the template has more than one image and
you didn't specify image, this returns the list of images
(status "selection_required") and asks you to pick one instead of
guessing; with exactly one image, it proceeds directly.
Canvas position auto-places when not given: left to right, 5 nodes per row, 100 units apart starting at (100, 100), wrapping to a new row 100 below; skips any grid slot within 50 units of an existing node on both axes.
Args:
lab_path: Full path to the .unl lab file.
template: Template id, name, or vendor to search for -- a
fragment is enough, e.g. "vios", "cisco", or "juniper".
Empty lists every available template.
selection: When multiple templates matched, the number or
exact id/name of the one to use.
node_type: "qemu", "dynamips", or "iol". Defaults to the template's own type.
name: Node display name. Defaults to the template's name/prefix.
image: Image filename from get_node_template. Required if the
template has more than one image; auto-filled if it has exactly one.
config: "Unconfigured" or "Saved".
left: Exact canvas position from the left, e.g. "100". Auto-placed if omitted.
top: Exact canvas position from the top, e.g. "100". Auto-placed if omitted.
ram: RAM in MB. Defaults to the template's default.
console: "telnet" or "vnc". Defaults to the template's default.
cpu: Number of vCPUs. Defaults to the template's default.
ethernet: Number of ethernet interfaces/portgroups. Defaults to
the template's default.
Inputs: lab_path (required), cpu, ram, top, +9 more. Returns: object
change_node_delayA
Change a node's startup delay (seconds before it auto-starts), one node or in bulk.
node_id always means single-node mode, regardless of bulk:
sets that one node's delay to delay (default 10).
Otherwise bulk=true is required, in one of two forms:
namesgiven (a name, or list of names -- case-insensitive substring match against every node's name): every match gets an incrementing delay (increment, default 10) -- the first matched node getsincrementseconds, the secondincrement*2, and so on, in the order the names were given.namesomitted: lists every node in the lab with its current delay (status "selection_required") and asks fororder-- the list numbers, in the sequence you want increasing delays applied (e.g. "3,1,2"); node 3 getsincrementseconds, node 1 getsincrement*2, node 2 getsincrement*3.
Every mode ends the same way: one more explicit confirmation
summarizing every node and its new delay, warning that each
will be stopped first (required regardless of PRO/Community,
same as edit_lab_node). Reply "accept" or "yes" (confirm)
to apply; anything else cancels. Nothing is stopped or
changed before that.
Args:
lab_path: Full path to the .unl lab file.
node_id: Id of a single node to change. Overrides bulk if given.
delay: New delay in seconds, for single-node mode. Default 10.
bulk: Required (with node_id omitted) for multi-node mode.
names: Node name or list of names to match (case-insensitive
substring), for bulk mode. Omit to be shown every node
and asked for order instead.
increment: Delay increment in seconds between successive
nodes, for bulk mode. Default 10.
order: When bulk mode listed every node, the numbers from
that list in the sequence you want increasing delays applied.
confirm: Set true on the final call to actually apply.
Inputs: lab_path (required), bulk, delay, names, +4 more. Returns: object
connect_interfaceA
Connect one node's interface to another node, or to an existing network.
Exactly one target is required: target_node_id (connects
directly to another node -- EVE-NG has no dedicated "connect
two nodes" API endpoint, so this creates a new bridge network
behind the scenes and wires both nodes' interfaces to it,
exactly what EVE-NG's own GUI does when you draw a line
directly between two node icons; it renders as a plain line,
not a separate network icon, because it ends up with exactly
two node endpoints) or network_id/network_name (connects
to a network you already created yourself, e.g. via
add_lab_network -- this one stays visible on the canvas as
its own icon, same as wiring a cloud/bridge manually in the GUI).
interface/target_interface accept an interface name (e.g.
"Gi0/0"), a 0-based index, or can be omitted to auto-pick that
node's first available (currently unconnected) ethernet
interface. Scoped to ethernet interfaces only.
EVE-NG PRO allows wiring interfaces on running nodes;
Community requires every node involved to be stopped first.
This checks the server's edition automatically and, on
Community only, stops any running node(s) involved before
wiring them -- same stop-if-needed behavior as edit_lab_node.
Args: lab_path: Full path to the .unl lab file. node_id: Id of the node whose interface is being connected. interface: Which interface on node_id -- name, index, or omit to auto-pick the first available one. target_node_id: For a node-to-node connection: id of the other node. target_interface: Which interface on target_node_id -- name, index, or omit to auto-pick the first available one. network_id: For a node-to-network connection: the network's id. network_name: For a node-to-network connection: the network's exact name (case-insensitive), if you don't already know its id.
Inputs: node_id (required), lab_path (required), interface, network_id, +3 more. Returns: object
create_labB
Create a new (empty) lab.
Args: path: Destination folder, e.g. "/User1". name: Lab name (the ".unl" extension is added automatically). version: Free-form version string. author: Lab author. description: One-line description. body: Free-form lab notes/usage guide.
Inputs: name (required), path (required), body, author, +2 more. Returns: object
delete_folderA
Delete a folder, matched by path substring (case-insensitive).
Search -> select -> confirm flow (see module docs). Only one folder can be deleted per call. Refuses to delete a folder that still has contents.
Args: path: Folder path or a fragment of one, e.g. "/User1/Folder 1" or "Folder 1". Required. search_path: Folder to search from, default "/" (the whole server). selection: When multiple folders matched, the number or exact path of the one to delete. confirm: Set true on the final call to actually delete.
Inputs: path, confirm, selection, search_path. Returns: object
delete_labA
Delete exactly one lab, matched by path OR name substring (case-insensitive).
Search -> select -> confirm flow (see module docs). Searches
recursively under search_path (EVE-NG's API has no server-side
search). Matching is a case-insensitive substring match against
path or file name -- "test" matches "test.unl", "testing.unl", and
"/User1/test.unl" alike. Only one lab can be deleted per call.
Args: name: Lab file name/path, or a fragment of one, to delete, e.g. "test", "test.unl", or "/User1/test.unl". Required. search_path: Folder to search from, default "/" (the whole server). selection: When multiple labs matched, the number or exact path/name of the one to delete. confirm: Set true on the final call to actually delete.
Inputs: name, confirm, selection, search_path. Returns: object
delete_lab_networkA
Delete network(s) from a lab, matched by name substring (case-insensitive).
Matches on name only, never id. Search -> select -> confirm flow (see module docs). More than one network can be selected/deleted per call here.
Args: lab_path: Full path to the .unl lab file. name: Network name or a fragment of one to delete. Required. selection: When multiple networks matched, the number(s) and/or exact name(s) of the one(s) to delete, space/comma separated. confirm: Set true on the final call to actually delete.
Inputs: lab_path (required), name, confirm, selection. Returns: object
delete_lab_nodeA
Delete node(s) from a lab, matched by name substring (case-insensitive).
Matches on name only, never id. Search -> select -> confirm flow (see module docs). More than one node can be selected/deleted per call here.
Args: lab_path: Full path to the .unl lab file. name: Node name or a fragment of one to delete. Required. selection: When multiple nodes matched, the number(s) and/or exact name(s) of the one(s) to delete, space/comma separated. confirm: Set true on the final call to actually delete.
Inputs: lab_path (required), name, confirm, selection. Returns: object
edit_labB
Edit an existing lab's metadata. Only supplied fields are changed.
Args: lab_path: Full path to the .unl lab file. name: New name, if changing. version: New version, if changing. author: New author, if changing. description: New description, if changing. body: New body/notes, if changing.
Inputs: lab_path (required), body, name, author, +2 more. Returns: object
edit_lab_networkA
Edit an existing network by id. Only supplied fields are changed.
Same partial-update pattern as edit_lab/edit_lab_node. This
is what connect_interface uses internally to set
visibility=0 on a node-to-node bridge after wiring it --
confirmed (against a working reference implementation) to be
a required separate step after creation and wiring, not
something set at creation time.
Args: lab_path: Full path to the .unl lab file. network_id: Id of the network to edit (see list_lab_networks). name: New name, if changing. left: New canvas position from the left, if changing. top: New canvas position from the top, if changing. visibility: 0/1, if changing. This is what actually makes a node-to-node bridge render as a direct line, but only when set after the network is created and wired -- not at creation time. hideme: 0/1, if changing -- whether the network shows its own icon at all. style: Line style, if changing (e.g. "Solid"). icon: Icon filename, if changing. color: Line color, if changing. label: Text label, if changing.
Inputs: lab_path (required), network_id (required), top, icon, +7 more. Returns: object
edit_lab_nodeA
Edit an existing node by id. Only supplied fields are changed.
Covers every node field EVE-NG's own "Edit Node" dialog
exposes (see get_node_template's options for the full
reference) -- name, icon, image, ram/cpu/cpulimit/ethernet,
console/config, canvas position, delay, the QEMU-specific
fields, disable_offload, sat, eth_format/eth_name, and
rdp_user/rdp_password (for rdp/rdp-tls console nodes).
Deliberately excludes uuid -- an identity field EVE-NG assigns
itself, not something meant to be user-edited.
Targets exactly one node -- for ram/cpu/ethernet/icon/image across every node sharing a template at once, see edit_lab_nodes_by_template. For delay specifically with bulk ordering/incrementing across many nodes, see change_node_delay.
EVE-NG requires a node to be stopped to edit it, on both PRO and Community (unlike connect_interface's wiring, which PRO allows on running nodes). This checks the node's current status first and stops it automatically if needed, before applying the edit -- you don't have to stop it yourself first.
If name is being changed and another node already has that
exact name (case-insensitive), this does NOT rename it --
EVE-NG allows duplicate node names, but silently creating one
seems worth avoiding by default. It returns status
"confirmation_required" naming the conflicting node; call
again with either a different name, or the same name plus
confirm_duplicate_name=true to use it anyway.
Args:
lab_path: Full path to the .unl lab file.
node_id: Id of the node to edit (see list_lab_nodes).
name: New name, if changing.
icon: New icon filename, if changing.
image: New image filename, if changing -- must be one of
the template's own valid images (see get_node_template).
ram: New RAM in MB, if changing.
cpu: New vCPU count, if changing.
cpulimit: New CPU limit toggle (0/1), if changing.
ethernet: New ethernet interface count, if changing.
console: New console type ("telnet"/"vnc"/"rdp"/"rdp-tls"), if changing.
config: New config state ("Unconfigured"/"Saved"), if changing.
left: New canvas position from the left, if changing.
top: New canvas position from the top, if changing.
delay: New startup delay in seconds, if changing.
disable_offload: New disable-offload toggle (0/1), if changing.
sat: New satellite setting, if changing.
eth_format: New interface name format string, if changing.
eth_name: New explicit interface names list, if changing.
firstmac: New first interface MAC address, if changing.
qemu_version: New QEMU version, if changing.
qemu_arch: New QEMU architecture, if changing.
qemu_nic: New QEMU NIC model, if changing.
qemu_options: New custom QEMU options string, if changing.
rdp_user: New RDP username (rdp/rdp-tls console nodes), if changing.
rdp_password: New RDP password (rdp/rdp-tls console nodes), if changing.
confirm_duplicate_name: Set true to use name even if
another node already has it.
Inputs: node_id (required), lab_path (required), cpu, ram, +22 more. Returns: object
edit_lab_nodes_by_templateA
Bulk-edit interfaces/cpu/memory/icon/image across nodes of exactly one template.
Search by vendor and/or template (case-insensitive
substring, at least one required). More than one template
matching: lists every match (numbered) and asks you to narrow
further -- a more specific vendor/template, or
template_selection (number or exact template id) -- repeat
until exactly one remains. Never targets more than one
template per call.
Once resolved, node_selection picks which of that template's
nodes to target: "all", or number(s)/exact name(s)
(space/comma separated).
Then component (interfaces/cpu/memory/icon/image) and
value say what to change. For component="icon", value is
unused -- icon_search narrows EVE-NG's icon catalog the same
way template matches do, via icon_selection. For
component="image", value is also unused -- image_search
narrows this resolved template's own valid images (not a
global catalog -- images are template-scoped), via
image_selection.
Whatever isn't supplied is prompted for one piece at a time -- each call re-derives everything fresh from what's currently given, there's no server-side session.
Final confirmation always summarizes every affected node, the
template, and the change, and warns that every affected node
will be stopped first (required regardless of PRO/Community).
Reply "accept" or "yes" (confirm) to apply; anything else
cancels -- same wording as every delete tool.
Args:
lab_path: Full path to the .unl lab file.
vendor: Vendor to search for, e.g. "cisco". At least this
or template is required.
template: Template id/name fragment to search for, e.g. "vios".
template_selection: When multiple templates matched, the
number or exact template id of the one you want.
node_selection: "all", or the number(s)/exact name(s)
(space/comma separated) of the nodes to target.
component: What to change: "interfaces", "cpu", "memory", "icon", or "image".
value: New numeric value, for interfaces/cpu/memory.
icon_search: Icon filename fragment to search for, for component="icon".
icon_selection: When multiple icons matched, the number or
exact filename of the one you want.
image_search: Image filename fragment to search for, for
component="image" -- searched within the resolved
template's own valid images only.
image_selection: When multiple images matched, the number
or exact filename of the one you want.
confirm: Set true on the final call to actually apply.
Inputs: lab_path (required), value, vendor, confirm, +8 more. Returns: object
export_nodeB
Export one node's (or all nodes') running config into the saved lab file.
Args: lab_path: Full path to the .unl lab file. node_id: Node id to export, or omit to export all nodes.
Inputs: lab_path (required), node_id. Returns: object
get_labA
Get metadata for a lab.
Args: lab_path: Full path to the .unl lab file, e.g. "/User1/Lab 1.unl".
Inputs: lab_path (required). Returns: object
get_lab_linksA
Get all ethernet/serial endpoints available in a lab (useful before wiring nodes).
Args: lab_path: Full path to the .unl lab file.
Inputs: lab_path (required). Returns: object
get_lab_topologyA
Get the full node/network connection topology of a lab.
Args: lab_path: Full path to the .unl lab file.
Inputs: lab_path (required). Returns: object
get_node_interfacesA
Get a node's ethernet/serial interfaces and what they're wired to.
Args: lab_path: Full path to the .unl lab file. node_id: Id of the node.
Inputs: node_id (required), lab_path (required). Returns: object
get_node_templateA
Get details (available images, default options) for one node template.
Includes a best-effort vendor label extracted from the
template's description -- EVE-NG's API has no explicit vendor field.
Args: template: Template id, e.g. "iol", "vios", "csr1000v".
Inputs: template (required). Returns: object
get_statusA
Get EVENG server status: CPU, RAM, disk usage and version info.
Inputs: no named parameters. Returns: object
list_folderB
List the folders and labs contained in an EVENG folder.
Args: path: Folder path, e.g. "/" or "/User1/Folder 1".
Inputs: path. Returns: object
list_lab_networksB
List all networks in a lab, or get a single network by id.
Args: lab_path: Full path to the .unl lab file. network_id: Specific network id, or omit to list all.
Inputs: lab_path (required), network_id. Returns: object
list_lab_nodesA
List all nodes in a lab, or get a single node by id (includes console URL/status).
Each node includes a best-effort vendor label extracted from its
template's description -- EVE-NG's API has no explicit vendor field.
Args: lab_path: Full path to the .unl lab file. node_id: Specific node id, or omit to list all nodes.
Inputs: lab_path (required), node_id. Returns: object
list_lab_picturesC
List background pictures/annotations placed in a lab, or get one by id.
Args: lab_path: Full path to the .unl lab file. picture_id: Specific picture id, or omit to list all.
Inputs: lab_path (required), picture_id. Returns: object
list_labsA
Recursively list every lab under path (default: the whole server).
Always recursive -- listing a specific folder walks the tree starting there, not just that one level. EVE-NG's API has no recursive-listing endpoint, so this walks every folder in the tree itself, with loop protection (skips every ".." entry, never revisits a folder, and hard max_depth/max_folders ceilings).
Args:
path: Folder to start from, default "/" (the whole server).
search: Case-insensitive substring to match against each
lab's path or file name -- same matching convention as
delete_lab/open_lab. Empty (the default) matches every
lab found under path.
Inputs: path, search. Returns: object
list_network_typesA
List available network/cloud types (bridge, ovs, pnetX, ...) for lab networks.
Inputs: no named parameters. Returns: object
list_node_templatesA
List node templates EVENG knows about, with vendor context.
By default only lists templates that have an image installed (so
you're only shown templates you could actually use). Pass
include_without_images=true to see the full catalog. Each result
includes a best-effort vendor label extracted from the
template's description -- EVE-NG's API has no explicit vendor field.
Args: include_without_images: Also list templates with no image installed (these can't be used to add a node yet).
Inputs: include_without_images. Returns: object
list_toolsA
List every tool this MCP server currently advertises.
Reflects tools.env -- a disabled tool never appears here, since it was never registered with the server at all, not just hidden behind an error if called. Useful as a single authoritative check of what's actually available right now.
Inputs: no named parameters. Returns: object
move_folderA
Move or rename an existing folder.
Args: path: Current full folder path, e.g. "/User1/Old Name". new_path: Destination full folder path, e.g. "/User1/New Name".
Inputs: path (required), new_path (required). Returns: object
move_labC
Move a lab to a different folder.
Args: lab_path: Full path to the .unl lab file. new_path: Destination folder path.
Inputs: lab_path (required), new_path (required). Returns: object
open_labA
Look up a lab by path or name substring, report its lock status, and suggest next steps.
Read-only -- there is no "open for editing" session in EVE-NG's
API the way there is in its web GUI; every change (add a node, add
a network, edit metadata) is its own direct call, no prior "open"
needed. This just looks the lab up and reports what's there first.
Searches recursively under search_path; matching is a
case-insensitive substring against path or file name, same as
delete_lab. If more than one lab matches, they're listed and you
pick one by number or full name/path (case-insensitive) via
selection.
Args: name: Lab file name/path, or a fragment of one. Required. search_path: Folder to search from, default "/" (the whole server). selection: When multiple labs matched, the number or full name/path of the one to open.
Inputs: name, selection, search_path. Returns: object
start_nodeA
Start one node, or every node in the lab if node_id is omitted.
Args: lab_path: Full path to the .unl lab file. node_id: Node id to start, or omit to start all nodes.
Inputs: lab_path (required), node_id. Returns: object
stop_nodeB
Stop one node, or every node in the lab if node_id is omitted.
Args: lab_path: Full path to the .unl lab file. node_id: Node id to stop, or omit to stop all nodes.
Inputs: lab_path (required), node_id. Returns: object
wipe_nodeB
Wipe one node (or all nodes), deleting saved config/VLANs so it rebuilds from image.
Args: lab_path: Full path to the .unl lab file. node_id: Node id to wipe, or omit to wipe all nodes.
Inputs: lab_path (required), node_id. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Most tools have clearly distinct purposes, with operations well-organized around labs, nodes, networks, and folders. A few tools like `edit_lab_node` and `edit_lab_nodes_by_template` have overlapping scope but are differentiated by bulk vs. single-node editing.
Tool names follow a consistent verb_noun pattern (e.g., `add_lab_node`, `delete_lab_network`, `start_node`). Minor inconsistencies exist like `change_node_delay` vs. `edit_lab_node`, but overall the pattern is predictable and readable.
With 36 tools, the surface is large but well-justified by the complexity of EVE-NG lab management (folders, labs, nodes, networks, wiring, lifecycle). Each tool covers a distinct operation, and the count feels appropriate for the domain.
The tool set covers the full lifecycle for EVE-NG: CRUD for folders, labs, nodes, and networks; node wiring; power operations; export; and status. No obvious gaps for common lab management tasks, including advanced features like bulk editing and sharing.
Maintenance
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server for AI dialogue using various LLM models via AceDataCloud
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- FlicenseAqualityDmaintenanceA 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.2615-
- AlicenseBqualityDmaintenanceAn MCP server that gives Claude and other LLM agents programmatic access to EVE-NG network labs, enabling creation, configuration, and management of virtual network topologies through natural language.142Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with NetBox API, enabling users to query and manage NetBox resources such as devices through natural language.MIT
- AlicenseAqualityCmaintenanceMCP server for controlling PNETLab v6 network labs via natural language, enabling topology creation, node management, config push, console interaction, and link fault injection.241Apache 2.0