Packet Tracer MCP¶
Tell your AI "build a network with 3 routers, OSPF and DHCP" — and it plans, validates, generates and deploys the topology directly into Cisco Packet Tracer, in real time.
Packet Tracer MCP is a Model Context Protocol server that gives any LLM (Claude, GitHub Copilot, Codex, …) full programmatic control over Cisco Packet Tracer — from a single natural-language prompt to a fully cabled, configured and running topology.
- Get started — install the server and connect your MCP client in one command.
- Live deploy — stream commands straight into a running Packet Tracer.
- Tool reference — all 61 MCP tools, grouped and documented.
- Architecture — how the planner, generators and HTTP bridge fit together.
What it does¶
| Feature | Details | |
|---|---|---|
| Planning | Natural language → topology | A single prompt becomes a complete TopologyPlan |
| IP addressing | Automatic /24 LANs + /30 WAN links | Sequential assignment, gateway at .1 |
| DHCP | Auto pool generation | One pool per LAN, gateway excluded |
| Routing | Static · OSPF · EIGRP · RIP | Full IOS command generation |
| Switching | VLANs, trunks, inter-VLAN routing, STP, port-security | .1q subinterfaces + per-VLAN DHCP |
| IPv6 | Dual-stack addressing | Routers via CLI, hosts via SLAAC |
| Wireless | WiFi laptops + auto-associated Access Points | NIC swap → Wireless0 |
| Validation | Typed error codes + auto-fixer | Wrong cables, missing ports, model upgrades |
| ACL | Standard, extended & named | Apply, bind and remove on live routers |
| NAT / PAT | Static, dynamic, overload | Translate addresses on live routers via the bridge |
| Hardening | SSH, local users, enable-secret, banner | Device hardening on live routers/switches |
| Verification | Plan-vs-live diff + health check | Drift, down links, duplicate IPs |
| Security audit | Grades the live config, not the plan | Missing enable secret, reversible (type 7) credentials, config-register 0x2142 |
| Live inspection | Reads the device: ports, VLANs, power | Line/protocol status, duplex, NAT mode, applied ACLs |
| Packet tracing | Step the simulation and read why a packet did what it did | PT's own per-OSI-layer decision log |
| Telemetry & backup | NetFlow exporters, real startup-config, workspace behaviour | Collector address + version; serial and config-register; auto-cabling |
| Deploy | Real-time HTTP bridge to PT (auto-reconciles) | No copy-paste — commands stream directly |
| Export | Plans, JS scripts, CLI configs | Reusable project files on disk |
| Catalog | 74 devices · 151 modules · 15 cables | With aliases and validation |
43 MCP Tools
5 MCP Resources
74 Device models
151 Modules
The pipeline¶
Natural language prompt
│
LLM (Claude / Copilot / Codex)
│ MCP tools
Packet Tracer MCP Server (:39000)
│ HTTP bridge (:54321, window open) · file-bridge (window closed)
MCP Control Center ext.
│ Script Engine
Cisco Packet Tracer
── devices created
── cables connected
── IOS configs applied
New here?
Start with Installation, run the Quick Start example, then enable Live Deploy to see topologies appear in Packet Tracer as your AI builds them.
Live deploy uses our own extension
Live deploy uses this project's own Packet Tracer extension — the MCP Control Center (Releases). Its Script-Engine layer was originally inspired by PTBuilder; the two are separate projects — see Credits & Attribution.