Let an autonomous AI agent diagnose and fix your Cisco Packet Tracer networks in real-time. Build labs, inject faults, and watch AI find the root cause — all through MCP.
npx -y @ankitrajput07/packet-tracer-mcp
From building topologies to diagnosing multi-fault scenarios — all through natural language.
AI inspects live topology, reads device configs, checks VLANs, pings endpoints, and identifies the exact root cause — all autonomously.
Add routers, switches, PCs. Create links. Configure IPs. All through natural language commands to AI.
AI makes the minimum necessary change. No rebuilding. No guesswork. Evidence-based repair with verification.
VLAN config, OSPF/EIGRP/BGP routing, ACLs, NAT, VoIP, QoS, IPv6, Wireless — everything Cisco, all via AI.
Introduce controlled faults (wrong gateway, VLAN mismatch) and test your AI agent's troubleshooting ability.
Three components connected through the Model Context Protocol (MCP).
Antigravity / Claude / ChatGPT
Thinks & Decides@ankitrajput07/packet-tracer-mcp
Translates & ExecutesLive Network Simulation
Simulates Hardware"PC1 cannot communicate with PC2" — just tell the AI in natural language what's wrong.
The AI calls MCP tools like pt_inspect_ports, pt_read_vlans, pt_ping to gather real evidence from Packet Tracer.
By analyzing the evidence (not guessing), AI determines the exact fault — wrong VLAN, bad gateway, missing route.
One precise configuration change. No rebuilding. AI uses pt_apply_switching, pt_set_pc, or pt_run_cli_bulk to repair.
Ping tests confirm connectivity. AI doesn't claim success without proof. 100% evidence-based.
Three prerequisites. One config line. That's it.
Download free from Cisco NetAcad. Enable the MCP Bridge extension inside PT.
Install from bun.sh. A fast JS runtime that runs the MCP server.
Antigravity IDE, Claude Desktop, Cursor, or any MCP-compatible AI agent.
Add this to your AI agent's mcp_config.json:
{
"mcpServers": {
"packet-tracer": {
"command": "bun",
"args": ["x", "-y",
"@ankitrajput07/packet-tracer-mcp"]
}
}
}
A real multi-fault troubleshooting session captured from Packet Tracer.
192.168.20.254 (wrong)VLAN 20 (should be VLAN 1)192.168.20.254192.168.20.1192.168.20.1VLAN 160+ tools covering every aspect of Cisco networking.
add_device, create_link, delete_device, auto_layout, query_topology
apply_switching, read_vlans, inspect_ports, manage_clusters
OSPF, EIGRP, BGP, RIP, Static routes, HSRP, advanced_routing
read_acl, port_security, NAT, firewall rules
DHCP, DNS, VoIP, QoS, IPv6, Wireless, subinterfaces
ping, traceroute, show_running, simulation_mode, send_pdu
Install the npm package, connect to Packet Tracer, and start building.