Skip to main content

cisco-pt-mcp

Let AI clients control a running Cisco Packet Tracer instance. Open source.

Demo


Install

Two components. Five minutes.

1. MCP Server

Install uv if you don't have it, then register with your client:

Claude Code

claude mcp add cisco-pt-mcp --scope user -- uvx cisco-pt-mcp

Cursor (~/.cursor/mcp.json or .cursor/mcp.json per project)

{
  "mcpServers": {
    "cisco-pt-mcp": { "command": "uvx", "args": ["cisco-pt-mcp"] }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "cisco-pt-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["cisco-pt-mcp"]
    }
  }
}

Codex CLI (~/.codex/config.toml)

[mcp_servers.cisco-pt-mcp]
command = "uvx"
args = ["cisco-pt-mcp"]

2. Packet Tracer Extension

  1. Open Packet Tracer.
  2. Go to Extensions → Scripting → Configure PT Script Modules…
  3. Click Add and select cisco-pt-mcp.pts.
  4. Restart Packet Tracer.

3. Run

Click Extensions → Packet Tracer MCP to open the bridge window, then start your MCP client. The status pill flips to connected within a second. Start prompting.


Tools

Tool Description
addDevice Drop a router, switch, or PC onto the canvas
addModule Install an interface module into a device slot
addLink Connect two devices with a cable
removeDevice Delete one or more devices
removeLink Delete one or more cables
renameDevice Rename an existing device
moveDevice Reposition a device on the canvas
setPower Power a device on or off
configurePcIp Set IP, subnet, gateway, DNS, or enable DHCP on a PC
configureIosDevice Run IOS CLI commands on a router or switch and return each command's output (config, show, ping, traceroute)
getNetwork Snapshot of all devices, interfaces, and cables
getDeviceInfo Detailed view of a single device
setSimulationMode Switch between simulation and realtime mode
getSimulationStatus Query simulation state and frame count
stepSimulation Step the simulation forward, backward, or reset
sendPdu Add an ICMP ping PDU between two devices
getPduResults Read PDU outcomes after stepping the simulation
getCommandLog Read the IOS command history logged by Packet Tracer
runPcCommand Run a command in a PC's Command Prompt (ping, ipconfig, …) and return its output. Requires an extension build that includes startPcCommand/readPcOutput
buildTopology Add devices, links, and PC IP configs in one call

License

MIT

Metadata

Release files for cisco-pt-mcp 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cisco-pt-mcp 0.1.7
File Size Uploaded Provenance Actions
cisco_pt_mcp-0.1.7.tar.gz 22.3 kB With provenance Details for cisco_pt_mcp-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cisco-pt-mcp 0.1.7
File Interpreter ABI Platform Actions
cisco_pt_mcp-0.1.7-py3-none-any.whl Python 3 none any Details for cisco_pt_mcp-0.1.7-py3-none-any.whl

Total release size: 44.1 kB

Release files / cisco_pt_mcp-0.1.7.tar.gz

Download URL cisco_pt_mcp-0.1.7.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
23226da67a9a9371c12bb2896ba7e53d46aff0bc4b4574eca6e69402c5c885ab
BLAKE2b-256 checksum
How to use checksums
57ef318c317f79111c630167752710fe1b74eb9f1007ab931f8cdb6abc1e318d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / cisco_pt_mcp-0.1.7-py3-none-any.whl

Download URL cisco_pt_mcp-0.1.7-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae343d4a61603edbf5366639f7785c43d8beed8ed25cb4c65fffb85a39736eda
BLAKE2b-256 checksum
How to use checksums
7dea57018971457e67ba0cde8b203d3c044d812848c43873f65ea86d1222da61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for cisco-pt-mcp 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cisco_pt_mcp-0.1.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page