Skip to content

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 36 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
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
Deploy Real-time HTTP bridge to PT 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

36 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
   MCP Control Center ext.    (:54321)
        │  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.