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, including each interface's link light, port status, and line protocol
getWorkspaceImage Screenshot of the logical workspace (PNG or JPG) so the agent can see the topology and link lights
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.8

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.8
File Size Uploaded Provenance Actions
cisco_pt_mcp-0.1.8.tar.gz 23.5 kB With provenance Details for cisco_pt_mcp-0.1.8.tar.gz

Built distribution (wheel)

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

Total release size: 46.1 kB

Release files / cisco_pt_mcp-0.1.8.tar.gz

Download URL cisco_pt_mcp-0.1.8.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
874b87b49965f5f109f3386ca10deacf64fbb2fe28231b250b02651daf3e96ae
BLAKE2b-256 checksum
How to use checksums
16521e7fb130a4c836870ae84320c4913be2b4cb207a78382864d9d247a63b2c
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.8-py3-none-any.whl

Download URL cisco_pt_mcp-0.1.8-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3935da30e05e8c35316a51ab4c1ecea6de5d47c1414c6835bcb55dac5db3d1d9
BLAKE2b-256 checksum
How to use checksums
1c473b70c6dc27ce69c09fe2509f25b29cf9bb2bce692f322269be65996f18ff
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.8

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.8.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