
MCP-Packet-Tracer
by Mats2208·★ 40·Score 47
AI-powered Cisco Packet Tracer automation via MCP with 30 tools for network topology generation, validation and deployment.
Overview
This MCP server enables AI assistants to programmatically control Cisco Packet Tracer, translating natural language prompts into complete network topologies. It provides 30 tools covering the entire workflow from planning to deployment, including IP addressing, routing protocols (OSPF, EIGRP, RIP), DHCP setup, ACLs, and NAT/PAT. The server bridges to Packet Tracer via HTTP for live deployment, eliminating manual copy-paste. With 74 device models, 151 modules, and 15 cable types supported, it covers a wide range of network scenarios.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server for network automation education and testing when you need to generate complex Cisco network topologies from natural language descriptions and deploy them in real-time to Packet Tracer.
When NOT to choose this
Don't choose this if you need production network deployment (it only works with Packet Tracer simulation), if you require extensive vendor-specific configurations not covered, or if you need authentication/authorization features.
Tools this server exposes
12 tools extracted from the READMEpt_list_devicesLists all 74 supported devices with their port specs
pt_list_templatesLists available topology templates
pt_create_topologyCreates a new network topology from natural language
pt_configure_dhcpConfigures DHCP servers on network devices
pt_configure_ospfConfigures OSPF routing protocol on routers
pt_configure_eigrpConfigures EIGRP routing protocol on routers
pt_configure_aclCreates and applies access control lists
pt_validate_topologyValidates network topology configuration
pt_export_configExports CLI configurations to disk
pt_deploy_topologyDeploys the topology to Packet Tracer
pt_add_deviceAdds a new device to the topology
pt_connect_devicesConnects devices with appropriate cables
Comparable tools
Installation
git clone https://github.com/Mats2208/MCP-Packet-Tracer
cd MCP-Packet-Tracer
pip install -e .For Claude Desktop, add to your claude_desktop_config.json:
{
"mcpServers": {
"packet-tracer": {
"command": "python",
"args": ["-m", "packet_tracer_mcp", "--stdio"]
}
}
}FAQ
- What Cisco Packet Tracer versions are supported?
- The server works with any modern Packet Tracer version that supports the PTBuilder API (:54321). This includes Packet Tracer 8.2 and later.
- Can I use this with other network simulators?
- Currently, this server is specifically designed for Cisco Packet Tracer and uses its proprietary PTBuilder API for direct deployment. Other simulators would require a different implementation.
Compare MCP-Packet-Tracer with
Last updated · Auto-generated from public README + GitHub signals.