Skip to content
VEX-NXDocs

Assist and automation

MCP and AI agents

Let AI agents and scripts drive labs through the MCP-style tool catalogue on the VEX-NX REST API.

VEX-NX publishes an MCP-style tool catalogue over REST. It is available on both Student and Enterprise and needs a valid user token (JWT). Assist uses the same allowlisted tools when it plans lab actions.

MethodPathPurpose
GET/api/v1/mcp/toolsList tool names, descriptions, and input schemas
POST/api/v1/mcp/callRun one allowlisted tool

Note

This is not a desktop stdio or SSE MCP server process. Point your agent at the appliance's HTTP API with a user token.

List the tools

bash
curl -fsS "http://<appliance-ip>/api/v1/mcp/tools" \
  -H "Authorization: Bearer <token>"

Call a tool

http
POST /api/v1/mcp/call
Authorization: Bearer <token>
Content-Type: application/json

{ "name": "list_labs", "arguments": {} }

Available tools

Names may grow with releases; always fetch /api/v1/mcp/tools from your appliance for the live schema.

ToolsRole
list_labs, get_lab, create_labLab inventory
add_node, patch_node, add_link, delete_linkTopology edits
validate_lab, assist_labValidation and Q&A
list_templates, list_presetsCatalogue
generate_lab_configs, apply_lab_configsConfig proposals
start_lab_nodesPower
preview_running_configs, create_lab_from_running_configsMap, Remap, Redesign import
node_exec, node_get_running_config, node_apply_config, node_save_configLive CLI
start_capture, list_capturesPacket capture
assist_agentAn orchestrated Assist run
export_lab_configsConfig pack export

Use with ChatGPT, Claude, or Cursor

  1. Point the agent at your appliance URL, reachable from where the agent runs.
  2. Give it a short-lived user token, or a script that signs in.
  3. Have it call GET /api/v1/mcp/tools, then POST /api/v1/mcp/call.

Example prompt:

text
Using the VEX-NX API at http://<appliance-ip>, list the MCP tools, create an empty lab
named demo-ospf, add three cisco-iosv nodes if the template exists, and do not start
any nodes until I confirm.

Caution

Never paste real bearer tokens into tickets or public repositories.