Skip to main content
Glama
Packet Tracer MCP — Node.js port

Packet Tracer MCP — Node.js port

pt_live_deploy

Deploys topology plan commands directly to a running Packet Tracer instance via HTTP or a file-based fallback.

Instructions

Sends commands directly to Packet Tracer in real time.

Requires PT open with the MCP Control Center extension installed. With the window open HTTP is used; if you close it, the file channel (Script Engine) takes over. The bridge starts by itself inside the MCP server.

Parameters:

  • plan_json: plan JSON (output of pt_plan_topology or pt_full_build)

  • plan_path: instead of plan_json, a .json file with the plan. Use it for large hand-written designs (dozens of sites); extra_cli in the plan carries per-device IOS lines (summaries, hardening, NAT...).

  • command_delay: delay between BATCHES in seconds (default 0.0). Commands are no longer sent one by one: they go in batches that PT runs in a single runCode, where each one carries its own try/catch. Measured against PT 9.0, creating 10 devices + links + configuring IOS in one go takes ~100 ms and the config is applied. Raise it only if your installation chokes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pt_live_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_jsonNo
plan_pathNo
command_delayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied the description carries the full burden, and it discloses non-obvious behavior: automatic bridge startup, HTTP vs file-channel fallback, batch execution inside a single runCode with per-command try/catch, and measured ~100 ms throughput. It still omits whether existing topology is modified or replaced and how failures are surfaced to the caller.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, followed by environment requirements and a clearly delimited Parameters section. Every sentence contributes, though the performance anecdote is slightly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a live-mutation tool with no annotations and no output schema, the description covers invocation and environment well but leaves gaps: no mention of what it returns, whether it is idempotent, or what happens to an existing partial topology on rerun.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: it explains what plan_json contains, positions plan_path as the alternative for large hand-written designs, notes that extra_cli in the plan carries per-device IOS lines, and defines command_delay as delay between batches with a default and calibration data. It does not state the precedence or behavior when both plan_json and plan_path are empty, which matters given no required parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Sends commands directly to Packet Tracer in real time') and ties the input to sibling producers ('output of pt_plan_topology or pt_full_build'). It does not, however, distinguish itself from the similarly named pt_deploy sibling, which an agent could easily confuse with this one.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives real prerequisites (PT must be open with the MCP Control Center extension) and explains which transport kicks in depending on window state, which guides the agent's operating context. It offers no explicit when-to-use versus pt_deploy or the granular pt_add_*/pt_apply_* tools, so the choice among deploy paths is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools