Skip to main content

MCP server that drives Cisco Packet Tracer through a bridge extension.

Project description

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

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cisco_pt_mcp-0.1.3.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cisco_pt_mcp-0.1.3-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file cisco_pt_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: cisco_pt_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cisco_pt_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 77207425472be8300c16de58c5ec0cbc1d8f048d7679f0bb6d3b3effd4256908
MD5 7ea06dc3f101ccf1b2fbe5d5ddcfb21b
BLAKE2b-256 06a8a287e0503f11755f7c45ca65d0b78e9a179740d5181792ada9e9948732d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cisco_pt_mcp-0.1.3.tar.gz:

Publisher: publish.yml on muhammadbalawal/cisco-pt-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cisco_pt_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cisco_pt_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cisco_pt_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4566efa0811426e3fe168e49e519ed254f0cf1cd83f7140ea5453056e82ed135
MD5 d72092f77c18b3086c283d72b4232e46
BLAKE2b-256 741f88f655aa623ad01ecb3c2cb5eb4c035ecb900aceab5497c0e0e5215e604e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cisco_pt_mcp-0.1.3-py3-none-any.whl:

Publisher: publish.yml on muhammadbalawal/cisco-pt-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page