Skip to main content
Glama

Introduction

pktctl lets an AI agent build, configure and test networks in Cisco Packet Tracer the way a person would, but through a programmatic interface instead of the mouse. You describe the network you want; the agent places the devices, cables them, types the IOS configuration at each console, runs ping from the end hosts and reads the results back, all inside the Packet Tracer window you already have open.

It is a server for the Model Context Protocol (MCP), the open standard that AI clients such as Claude Code, Claude Desktop and Cursor use to call external tools. pktctl gives those clients 72 tools that cover Packet Tracer's logical and physical workspaces, simulation mode, end-device applications and activities, plus direct access to the complete IPC API for anything else.

pktctl talks to Packet Tracer through PTMP, the native protocol Packet Tracer offers to registered external applications. That choice shapes how it behaves:

  • Nothing to keep open inside Packet Tracer. There is no extension window and no polling bridge between the agent and the simulator; a single registration is enough.

  • Fast and precise. Calls round-trip in well under a millisecond, and call_ipc checks every argument against the official API before sending it.

  • Readable failures. Errors come back as typed messages the agent can act on (Device: IPC Cache entry), never as a modal dialog that freezes the application.

  • One self-contained binary. No runtime, interpreter or package manager is needed to run it. On Linux it uses the desktop's X11, Wayland and PipeWire libraries for window captures, which desktop distributions already ship.

pktctl is useful to students practicing CCNA labs, to instructors preparing and checking activities, and to anyone who wants to automate or document network scenarios in Packet Tracer.

An example

Asked for two sites joined by OSPF, with DHCP on each LAN and a web server at headquarters, an agent using pktctl placed and cabled the routers, switches and hosts, configured both routers, requested the DHCP leases and checked the result: OSPF adjacency in FULL state, the remote LAN in the routing table, and ping and traceroute from the branch to headquarters.

Related MCP server: ptlab

Contents

Requirements

Requirement

Notes

Cisco Packet Tracer 9.0.1

Available at no cost from Cisco Networking Academy.

Rust 1.88 or newer

Only to build from source. Install it with rustup.

An MCP client

Claude Code, Claude Desktop, Cursor or any client that runs stdio MCP servers.

pktctl builds on Linux, macOS and Windows. Every live validation so far ran on macOS; the registration paths for the other systems are described in ExApp registration.

Installation

Installation takes five steps. Only the fourth one happens inside Packet Tracer, and it is done once.

1. Install the binary

Prebuilt. Each release carries archives for macOS 11 or newer (Apple Silicon and Intel), Linux with glibc 2.39 or newer (Ubuntu 24.04, Debian 13; x86_64 and ARM64) and Windows. Unpack the one for your system and put pktctl somewhere permanent, such as ~/.local/bin. To check an archive before running it:

shasum -a 256 -c SHA256SUMS --ignore-missing
gh attestation verify pktctl-*.tar.gz --repo TantiE100/pktctl

The attestation proves the archive was built by this repository's release workflow. macOS quarantines binaries downloaded with a browser; clear the flag with xattr -d com.apple.quarantine pktctl, or download with curl, which does not set it. The binaries are not notarized by Apple.

With cargo-binstall, the same prebuilt archive is fetched and installed in one step:

cargo binstall pktctl

From source. With Rust 1.88 or newer, from crates.io:

cargo install pktctl --locked

The development version on main: cargo install --git https://github.com/TantiE100/pktctl pktctl --locked.

Cargo builds pktctl and places it in ~/.cargo/bin/pktctl (%USERPROFILE%\.cargo\bin\pktctl.exe on Windows). To build from a clone instead, run make release; the binary is written to target/release/pktctl.

Either way, check it with pktctl --version.

2. Choose an app id and a secret

Packet Tracer identifies external applications by an id and authenticates them with a shared secret. Pick any reverse-domain id, such as dev.pktctl, and generate a random secret:

openssl rand -hex 24

Keep the secret private: it grants full control of Packet Tracer.

3. Add pktctl to your MCP client

claude mcp add pktctl --scope user \
  -e PKTCTL_APP_ID=dev.pktctl \
  -e PKTCTL_SECRET=your-random-secret \
  -- "$HOME/.cargo/bin/pktctl"

Edit claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows) and restart Claude Desktop:

{
  "mcpServers": {
    "pktctl": {
      "command": "/Users/you/.cargo/bin/pktctl",
      "env": {
        "PKTCTL_APP_ID": "dev.pktctl",
        "PKTCTL_SECRET": "your-random-secret"
      }
    }
  }
}

Most clients accept the same mcpServers block shown for Claude Desktop; in Cursor it goes in ~/.cursor/mcp.json. Use the absolute path to the binary, because clients do not always inherit your shell's PATH.

4. Register pktctl in Packet Tracer

  1. Ask the agent: "Run setup_exapp." pktctl writes the registration file ~/.config/pktctl/pktctl.pta.

  2. In Packet Tracer, open Extensions → IPC → Configure Apps, choose Add, select that file and confirm with Ok.

  3. Quit Packet Tracer normally once (File → Exit). Packet Tracer only saves its list of registered apps when it closes cleanly.

The complete procedure, including a manual alternative, is in ExApp registration.

5. Verify the connection

Ask the agent: "Check the pktctl status." A reply with connected: true, the Packet Tracer version and the device count means everything works. If not, the reply explains what to fix; see Troubleshooting.

What you can do

The tools are grouped by the job they do. A few example requests for each group:

Area

What pktctl handles

Try asking

Topology

Adding, renaming, moving and cabling devices, installing modules, notes and drawings on the canvas

"Add a 2911 router and two 2960 switches and cable them."

IOS

Running any command at a router or switch console and applying configuration blocks, with confirmations answered

"Configure OSPF area 0 on both routers and show the neighbors."

End devices

IPv4 and IPv6 addressing, DHCP, firewalls, Command Prompt, web browser, email, VPN and files

"Give the PCs addresses by DHCP and ping the server from each one."

Servers

DHCP pools, DNS records, web pages, FTP and email accounts

"Publish intranet.lab.local on the server and browse to it from PC1."

Simulation

Simulation mode, PDUs, stepping and the per-hop event list with Packet Tracer's explanations

"Send a ping from PC1 to PC4 in simulation and explain each hop."

Physical workspace

Cities, buildings, closets, racks and where each device sits

"Put the switches in a rack in the wiring closet."

Wireless

Access point security and client association

"Secure the access point with WPA2 and connect the laptops."

Activities

.pka instructions, progress, score and connectivity checks

"How much of this activity is complete, and what is missing?"

Everything else

The full IPC API: 346 classes and 3111 methods, searchable and callable

"Find the IPC method that reads the ARP table of R1."

The complete list of the 72 tools is in docs/tools.md, and docs/coverage.md records how each area was validated.

How it works

AI client  ──MCP over stdio──▶  pktctl  ──PTMP over TCP 39000──▶  Packet Tracer

The MCP client starts pktctl as a child process. pktctl authenticates to Packet Tracer as a registered external application and translates each tool call into one or more IPC calls. When a tool needs something the IPC API does not offer, such as buildings or furniture in the physical workspace, pktctl edits the saved .pkt file and reopens it. The design is described in docs/architecture.md and the wire format in docs/reference/ptmp.md.

Configuration

pktctl reads its settings from environment variables:

Variable

Required

Default

Purpose

PKTCTL_APP_ID

yes

App id registered in Packet Tracer.

PKTCTL_SECRET

yes

Shared secret registered in Packet Tracer.

PKTCTL_ADDR

no

ports 39000 to 39009 on this computer

Address of Packet Tracer's IPC listener. Without it, pktctl finds Packet Tracer on the first of those ports where it accepts the credentials; with it, pktctl uses that address only.

PKTCTL_CALL_TIMEOUT_SECS

no

30

Time limit for a single IPC call.

PKTCTL_PT_HOME

no

usual install folders

Packet Tracer installation, used by setup_exapp.

PKTCTL_SETUP_DIR

no

~/.config/pktctl

Where setup_exapp writes the registration file.

PKTCTL_LOG

no

warn

Log level, written to stderr.

Troubleshooting

What status reports

Cause and fix

Packet Tracer is not reachable

Packet Tracer is closed, or it listens outside ports 39000 to 39009. When 39000 is still taken, for example right after a crash, Packet Tracer moves to 39001; pktctl follows it on its own, and status shows the port in addr. For any other port, check Extensions → IPC → Options and set PKTCTL_ADDR.

rejected app id ...

pktctl is not registered, or PKTCTL_SECRET differs from the registered key. Run setup_exapp, register the new file and quit Packet Tracer normally once.

does not have the necessary privilege

pktctl was registered with an older template. Register the file setup_exapp creates again.

Documentation

The docs/ folder holds the architecture, the feature references, the PTMP wire reference and the development guide. Releases are listed in CHANGELOG.md.

Contributing

Issues and pull requests are welcome. docs/development.md covers the commands, the test layers, the live test suite against a running Packet Tracer and the branch workflow. make check runs the same formatting, lint and test steps as CI.

License

pktctl is released under the MIT License.

Cisco, Packet Tracer and Cisco IOS are trademarks of Cisco Systems, Inc. This project is an independent client and is neither affiliated with nor endorsed by Cisco. It ships no Packet Tracer code, files or documentation: you need your own installation of Packet Tracer for it to talk to anything.

Available Tools

72 tools
activity_instructionsB
Read-only

Read a page of the open activity's instructions, as text and as HTML.

Inputs: page. Returns: html, page, text, pages

activity_statusA
Read-only

Progress of the open activity (.pka): percentage complete, score, assessment items and points, instruction pages, time elapsed or left. For a plain network it only says it is not an activity.

Inputs: no named parameters. Returns: file, items, points, is_activity, +6 more

add_deviceA

Add a device to the logical workspace by model name (see list_models), optionally naming it and placing it at x/y. Routers and switches boot immediately. Returns the device as Packet Tracer now shows it.

Inputs: model (required), x, y, name. Returns: x, y, kind, name, +1 more

add_locationA

Create a place in the physical workspace: a city, a building, a wiring_closet, or furniture to arrange devices on (rack, table, shelf, cable_pegboard, container), with an optional name and position. Cities and closets use Packet Tracer's own buttons; the rest are written into the network file and come back with the temporary copy Packet Tracer now has open, so save with save_network to keep them.

Inputs: kind (required), name, inside, x_percent, +1 more. Returns: file, location

add_moduleA
Destructive

Install a module (for example HWIC-2T for serial ports) in an empty slot. The device is powered off, the module inserted and the device powered back on, exactly like real hardware, so unsaved configuration is lost. Returns the ports the module added.

Inputs: slot (required), device (required), module (required). Returns: slot, device, module, cut_links, +2 more

add_noteA

Write a text note on the logical canvas, for example to label a subnet or a VLAN. Returns the note with its id.

Inputs: x (required), y (required), text (required). Returns: x, y, id, text

add_pduA

Send a simple PDU (ICMP echo) from one device to another, like the Add Simple PDU button. In Realtime mode it goes at once; in Simulation mode it waits for simulation_step.

Inputs: source (required), destination (required). Returns: mode, source, destination

add_server_userC

Add an FTP account (with permissions such as RWDNL) or an email account to a server.

Inputs: device (required), service (required), password (required), username (required), +2 more. Returns: device, service, username

arrange_devicesA

Lay devices out inside a room, building, rack or table of the physical workspace, moving in the ones that are somewhere else. Positions are percentages of the room, which is how Packet Tracer draws them: leave them out for an even grid, set columns and margin_percent to shape it, or give exact spots like [[20, 30], [60, 30]].

Inputs: location (required), spots, columns, devices, +1 more. Returns: file, devices, location

browse_webA
Read-only

Open a URL in the Web Browser of a PC, laptop or server, like typing it and pressing Go, and return the page Packet Tracer served: its status (ok, timeout, host_not_found, ...), the server's address, the HTML and the text. Names are resolved through the host's DNS server.

Inputs: url (required), device (required), timeout_secs. Returns: url, html, text, device, +2 more

call_ipcA
Destructive

Call any Packet Tracer IPC method: start at a root or an object uuid and chain steps, like network -> getDevice("R1") -> getPower(). Every step is checked against the official API before anything is sent, with exact argument types; objects come back as a class and uuid you can start the next call from. Prefer the dedicated tools when one fits; this reaches everything else, including changes, so read describe_ipc first.

Inputs: from (required), steps. Returns: call, value, returns

check_activityB

Run the open activity's connectivity tests and return them with the current completion and score, like Check Results.

Inputs: no named parameters. Returns: status, connectivity, connectivity_results

configure_access_pointA

Set the SSID, security (open, wep, wpa_psk, wpa2_psk), key and SSID broadcast of an access point or wireless router. Clients keep their current association until connect_wireless reconnects them.

Inputs: ssid (required), device (required), key, security, +1 more. Returns: ssid, device, security, broadcast_ssid

configure_dhcp_serverB

Configure the DHCP service of a server: switch it on and create or update pools (gateway, DNS, start address, mask, maximum users). Existing pools with the same name are updated.

Inputs: device (required), port, pools, enabled. Returns: port, pools, device, enabled

configure_dns_serverB

Switch a server's DNS service on and add A, CNAME or NS records.

Inputs: device (required), enabled, records. Returns: device, enabled, records

configure_emailB

Set up the Email app of a PC, laptop or server: display name, address, user name, password and the incoming (POP3) and outgoing (SMTP) servers. Returns the account as Packet Tracer now has it.

Inputs: name (required), email (required), device (required), password (required), +3 more. Returns: name, email, device, username, +2 more

configure_hostA

Set the IPv4 configuration of a PC, laptop or server: either DHCP, or a static ip and mask with optional gateway and DNS. Catches classic mistakes (invalid mask, host address equal to the network or broadcast, gateway outside the subnet) before touching Packet Tracer.

Inputs: device (required), ip, dns, dhcp, +3 more. Returns: ip, dns, dhcp, mask, +3 more

configure_host_ipv6A

Set the IPv6 configuration of a PC, laptop or server, like the IPv6 part of IP Configuration: static with an address such as 2001:db8:10::20/64, auto for SLAAC, or off; optional gateway (usually the router's link-local fe80::1) and DNS. Returns the addresses Packet Tracer now has on the port.

Inputs: device (required), dns, mode, port, +2 more. Returns: dns, mode, port, device, +2 more

configure_iosA
Destructive

Apply a block of IOS configuration commands to a router or switch, as if typed after configure terminal: the first command enters global configuration and the rest follow the prompt, so interface ... sub-modes work. Stops at the first command IOS rejects, always leaves configuration mode, and runs write memory when save is true.

Inputs: device (required), commands (required), save. Returns: saved, total, device, applied, +2 more

connectA

Cable two ports together. Both ports must exist and be free. With the default auto cable pktctl picks serial, straight or cross the way the CCNA rules do; pass cable to force fiber, rollover, console, etc.

Inputs: port_a (required), port_b (required), device_a (required), device_b (required), +1 more. Returns: a, b, cable

connect_wirelessA

Connect a laptop, PC or other client with a wireless card to a network: SSID, security and key, plus DHCP or a static address. Packet Tracer only associates when a network is loaded, so pktctl takes the network as bytes, sets the client's current profile, opens the result as a temporary copy (your own file is not written) and reports whether it associated and with which access point.

Inputs: ssid (required), device (required), ip, dns, +5 more. Returns: ip, file, ssid, device, +4 more

describe_ipcA
Read-only

Explore Packet Tracer's complete IPC API (every class, method, argument and enum of the official framework). Give search to find methods by keyword, class to list everything an object offers, enum to read accepted values, or nothing for the list of roots. Use it before call_ipc for anything the dedicated tools do not cover.

Inputs: enum, class, limit, events, +1 more. Returns: object

disconnectB
Destructive

Remove the cable plugged into a port.

Inputs: port (required), device (required). Returns: port, device, was_connected_to

drawA

Draw on the logical canvas: a circle (centre and radius) around a subnet or group, a rectangle (two corners) to frame an area, or a line to mark a boundary. color is the outline (red, blue, green, ... or #rrggbb); fill fills circles and rectangles. The drawing is written into the network file, which Packet Tracer reopens from a temporary copy; save with a path to keep it. Returns the id remove_drawing takes.

Inputs: x (required), y (required), fill, to_x, +4 more. Returns: id, file, fill, color, +1 more

fast_forwardA

Press Realtime mode's Fast Forward Time button: timers jump ahead so spanning tree converges, DHCP leases arrive and routing protocols settle at once instead of after 30 seconds or more. Call it after cabling or configuring, before testing connectivity.

Inputs: no named parameters. Returns: done

get_preferencesA
Read-only

Read Packet Tracer's preferences: port labels, link lights, device labels, auto cabling, animation, sound, device dialog tabs, toolbars and more.

Inputs: no named parameters. Returns: values

host_filesA
Destructive

Work with the text files of a PC, laptop or server, the ones its Text Editor opens and dir lists: list, read, write (creates or replaces) or delete a file in C:.

Inputs: device (required), name, text, action. Returns: text, files, action, device

list_devicesA
Read-only

List every device in the open network with its model, kind (router, switch, pc, ...) and canvas position. Use the names to target devices in other tools.

Inputs: no named parameters. Returns: devices

list_drawingsA
Read-only

List the circles, rectangles and lines drawn on the logical canvas with their ids and centres.

Inputs: no named parameters. Returns: drawings

list_locationsA
Read-only

List the physical workspace: Intercity, cities, buildings, wiring closets and racks, each with its path, position and the devices placed in it.

Inputs: no named parameters. Returns: locations

list_modelsA
Read-only

List the device models this Packet Tracer can create, straight from its hardware catalog, optionally filtered by kind (router, switch, pc, server, access_point, ...). Set include_modules to also list slot modules such as HWIC-2T or NIM-2T, or give a module kind (interface_card, pt_laptop_module, ...) to list only those modules.

Inputs: kind, include_modules. Returns: devices, modules

list_notesA
Read-only

List the text notes on the logical canvas with their ids and positions. Port labels drawn at cable ends are left out unless include_port_labels is true.

Inputs: include_port_labels. Returns: notes

list_portsA
Read-only

List a device's ports with their state, IPv4 address when they have one, and what each port is connected to. Use it to pick free ports before connect.

Inputs: device (required). Returns: ports, device

list_server_servicesA
Read-only

List the services of a server (DHCP, DNS, HTTP, HTTPS, FTP, SMTP, POP3, NTP, Syslog, TFTP) and whether each one is on.

Inputs: device (required), port. Returns: device, services

list_simulation_eventsB
Read-only

Read the simulation event list: where each PDU was, when, which protocol, and whether it was accepted or dropped. With include_decisions, also Packet Tracer's per-layer explanation of each step, the same text as the PDU Details window.

Inputs: limit, device, protocols, include_decisions. Returns: total, events, matching

list_slotsA
Read-only

List a device's module slots (path, the kind of module each accepts, what is installed) and the module models the device supports.

Inputs: device (required). Returns: slots, device, supported_modules

move_deviceB

Move a device to a new position on the logical canvas.

Inputs: x (required), y (required), name (required). Returns: x, y, kind, name, +1 more

move_to_locationA

Move a device, or a whole location such as a wiring closet, to another place in the physical workspace, for example a switch into Home City/Corporate Office/Main Wiring Closet. Devices moved into a wiring closet land on its rack or table.

Inputs: into (required), device, location, x_percent, +1 more. Returns: file, moved, now_in

network_descriptionA

Read the open file's description (the Description button in Packet Tracer), or replace it with text.

Inputs: text. Returns: html, text

new_networkA
Destructive

Start an empty network. Unsaved changes are discarded unless save_current_to gives a path to save them first.

Inputs: save_current_to. Returns: cleared, saved_previous

open_networkA
Destructive

Open a .pkt or .pka file. Unsaved changes in the current network are discarded unless save_current_to gives a path to save them first. Never shows a dialog.

Inputs: path (required), save_current_to. Returns: path, devices, saved_previous

power_cycle_allA
Destructive

Power cycle every device that is on, like the Power Cycle Devices button but without its confirmation dialog: every device reloads and unsaved configuration on every router and switch is lost. Returns the devices cycled.

Inputs: no named parameters. Returns: devices

receive_emailA

Press Receive in the Email app: download the account's new mail over POP3 and return it. Like a real POP3 client, the mail is removed from the server; Packet Tracer does not expose the app's inbox, so keep what this returns.

Inputs: device (required), timeout_secs. Returns: mails, device

remove_deviceA
Destructive

Delete a device and all of its links from the network.

Inputs: name (required). Returns: removed

remove_drawingA
Destructive

Remove a circle, rectangle or line from the logical canvas by id.

Inputs: id (required). Returns: removed

remove_locationA
Destructive

Delete a city, building, wiring closet or rack with everything inside it. Devices must be moved out first (move_to_location); the power units Packet Tracer puts in racks go with it. Packet Tracer has no call for this, so pktctl edits the network as bytes and opens the result as a temporary copy; save with save_network and a path to keep the change.

Inputs: path (required). Returns: file, removed, power_units_removed

remove_moduleA
Destructive

Remove the module in a slot, power cycling the device like add_module. Returns the ports that disappeared with it.

Inputs: slot (required), device (required). Returns: slot, device, module, cut_links, +2 more

remove_noteB
Destructive

Delete a note from the logical canvas by id.

Inputs: id (required). Returns: removed

rename_deviceB

Rename a device. The new name must not be taken by another device.

Inputs: name (required), new_name (required). Returns: x, y, kind, name, +1 more

rename_locationA

Rename a city, building, wiring closet or other location. Packet Tracer has no call for this, so pktctl takes the network as bytes, edits them and opens the result as a temporary copy; your own file is not written, save with save_network and a path to keep the change.

Inputs: name (required), path (required). Returns: file, location

reset_activityA
Destructive

Reset the open activity to its initial network, discarding the work done in it.

Inputs: no named parameters. Returns: file, items, points, is_activity, +6 more

run_cliA
Destructive

Type one IOS command at the console of a router or switch and return its output, including commands that take time such as ping or traceroute. status tells whether IOS accepted the command. A command still running after timeout_secs is stopped with Ctrl+Shift+6 and comes back with finished: false and the output so far. When IOS asks something ([confirm], [yes/no], Password:) the reply carries question and the console keeps waiting: answer with another run_cli in mode current, an empty command for Enter.

Inputs: device (required), command (required), mode, password, +2 more. Returns: output, status, finished, question

run_host_commandA

Run a command in the Command Prompt of a PC, laptop or server (ping, ipconfig, tracert, nslookup, arp -a) and return its output. Waits until the command finishes; a command still running after timeout_secs (ping -t) is stopped with Ctrl+C and comes back with finished: false and the output so far.

Inputs: device (required), command (required), timeout_secs. Returns: output, status, finished, question

save_networkA

Save the open network as a .pkt file, without any dialog. Give an absolute path, or omit it to save over the file already open.

Inputs: path. Returns: path, bytes

screenshotA
Read-only

Capture Packet Tracer as a PNG image: the logical workspace rendered by Packet Tracer (default), the physical workspace (view: physical, which switches views for a moment), or the window as it is with any dialog open (view: window). Optionally also write it to an absolute .png path.

Inputs: view, save_to.

send_emailA

Send an email from the account set up with configure_email and wait for the SMTP server's answer. A recipient the server does not know comes back later as a delivery failure in receive_email.

Inputs: to (required), body (required), device (required), subject (required), +1 more. Returns: to, from, device, subject

set_backgroundA

Paper a physical location (a city, building, room or rack) with a background image, or the logical workspace when no location is given. Takes one of Packet Tracer's own backgrounds (grid_10x10, grid_25x25, grid_50x50, grid_100x100, city, building, intercity, container) or the absolute path of an image; an empty image clears it.

Inputs: image (required), tiled, location. Returns: image, tiled, target

set_host_firewallA

Use the Firewall and IPv6 Firewall apps of a PC, laptop or server: switch each one on or off, add rules (permit or deny ip, icmp, tcp or udp, by remote address and port) and remove them. Returns both switches and the rules in the order the firewall evaluates them.

Inputs: device (required), ipv4, ipv6, port, +2 more. Returns: ipv4, ipv6, port, device, +2 more

set_powerA
Destructive

Switch a device on or off. Switching a router or switch off and on reloads it: configuration that was not saved with write memory is lost. IOS devices come back ready at the prompt.

Inputs: on (required), device (required). Returns: on, device

set_preferencesA

Change Packet Tracer preferences by name, for example { "values": { "show_port_labels": true } }. Returns every preference afterwards.

Inputs: values (required). Returns: values

set_server_serviceB

Switch one service of a server on or off, as in its Services tab.

Inputs: device (required), enabled (required), service (required), port. Returns: enabled, service

setup_exappA

Create the Packet Tracer app registration file (.pta) for pktctl's configured app id and secret, using Packet Tracer's own meta tool, and return the one-time steps to register it. Works while Packet Tracer still rejects pktctl.

Inputs: no named parameters. Returns: pta, steps, app_id, meta_tool

set_web_pageB

Write a page of a server's HTTP service, for example index.html.

Inputs: url (required), device (required), contents (required). Returns: url, bytes, device

show_workspaceA

Switch Packet Tracer's main window between the logical and the physical workspace, for example before a screenshot or a class demo.

Inputs: view (required). Returns: physical

simulation_modeB

Switch between Realtime and Simulation mode. Returns the mode, the simulation clock and how many events are recorded.

Inputs: on (required). Returns: time, events, simulation, current_event

simulation_stepA

Advance the simulation (forward, like Capture/Forward), go back, or reset the event list. Needs Simulation mode.

Inputs: times, action. Returns: time, events, simulation, current_event

statusA
Read-only

Check whether Packet Tracer is reachable and summarize the open network. When it is not reachable, problem explains what to fix.

Inputs: no named parameters. Returns: addr, links, devices, problem, +2 more

unlock_activityA

Give a password-protected activity its password (for its author or instructor) so Packet Tracer reports scores and runs checks. activity_status shows password_confirmed: false when this is needed.

Inputs: password (required). Returns: file, items, points, is_activity, +6 more

vpn_clientA

Use the VPN app of a PC, laptop or server against an Easy VPN server: connect with server, group, group_key, username and password and wait for the tunnel, disconnect, or status. Returns whether the tunnel is up and the address the server assigned.

Inputs: device (required), group, action, server, +4 more. Returns: group, device, server, username, +2 more

watch_eventsA
Read-only

Listen to Packet Tracer's live IPC events for a few seconds and return them: devices and links added or removed, console output, simulation steps, ARP and DHCP activity, and 200 more across 73 classes. Start something (for example with another tool call in parallel, or by hand in Packet Tracer) and see what it triggers. describe_ipc with events lists the classes and names.

Inputs: class (required), events, object, seconds, +1 more. Returns: events, truncated

wireless_statusB
Read-only

Read the wireless settings of an access point, wireless router or client, and for clients which access point they are associated with.

Inputs: device (required). Returns: role, ssid, device, security, +2 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 72 tools

    Disambiguation4/5

    Most tools target a clearly distinct resource and action, and descriptions often guide the agent toward the right tool. A few overlaps remain, such as set_server_service versus configure_dhcp_server/configure_dns_server, and add_device versus add_module, which could cause occasional misselection.

    Naming Consistency4/5

    The set is predominantly consistent snake_case with verb_noun naming (e.g., add_device, list_ports, configure_ios). Minor deviations like status, screenshot, draw, connect, and disconnect are still readable and predictable, so the pattern holds strongly.

    Tool Count1/5

    With 72 tools, the server far exceeds the recommended 3–15 range and lands in the rubric's extreme mismatch tier (50+ tools). Even though the domain is broad, this volume creates a heavy selection and maintenance burden for an agent.

    Completeness5/5

    The surface covers network creation, device and module lifecycle, cabling, logical and physical workspace, activities, simulation, server services, email, wireless, VPN, firewall, CLI and host commands, files, preferences, screenshots, and IPC escape hatches. Generic tools like call_ipc, run_cli, and run_host_command close remaining gaps, so no major dead ends are apparent.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to design Cisco Packet Tracer labs from a device/link spec — cables, IPs, VLANs, routing and DHCP — and generate ready-configured .pkt files, .pka activities and SVG previews without opening Packet Tracer. It also exposes primitives to add, edit and inspect devices, services, ACLs and NAT in existing lab files.
      1
      GPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to drive Cisco Packet Tracer 8.x in the background, building topologies, auto-selecting cables so links come up green, running device CLI commands, reading back configuration, and exporting .pkt files without dialogs or stealing window focus.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to build and troubleshoot Cisco Packet Tracer networks by adding devices, cabling them, pushing IOS configurations, addressing interfaces, configuring routing, running pings, and reading/writing .pkt files without Packet Tracer open.
      42
      36 PyPI
      MIT