# Packet Tracer MCP

> Plan, validate, and deploy Cisco Packet Tracer topologies from natural language.

- **URL**: https://followmcp.com/en/servers/mcp-packet-tracer
- **Category**: Other
- **Origin**: Community
- **Stars**: 454
- **FMRS Score**: 57/100 (Grade C)
- **Source**: https://github.com/Mats2208/MCP-Packet-Tracer
- **Transports**: stdio (local process)
- **Runtimes**: Python 3.11+
- **Auth**: No credential needed

## Overview
Packet Tracer MCP is an MCP server for automating Cisco Packet Tracer. An AI client can plan a topology from a natural-language description, validate and fix the plan, generate IOS configuration, deploy it live, and check connectivity. It supports routing, switching, security, and server configuration, and also includes tools for creating and grading Packet Tracer activities and exams.

## Best for
- People teaching, learning, or experimenting with networks in Cisco Packet Tracer.
- Users who want an MCP client to automate topology planning, configuration, and validation.
- CCNA instructors and students who want custom Packet Tracer practice activities or exams.

## Not for
- Users who do not use Cisco Packet Tracer.
- Managing production networks or physical Cisco devices; the source describes a Packet Tracer simulation environment.
- Users who need live deployment or the activity wizard but cannot install the Packet Tracer extension.

## Required permissions
- Requires running the MCP server locally and access to the local Packet Tracer installation.
- Live deployment requires installing and enabling the MCP Control Center extension; its bridge uses loopback and a per-machine token.
- The provided client configuration example launches the server over stdio.
- Saving projects, backing up configurations, or exporting files requires the relevant local file write access.

## Risks
- The live bridge passes JavaScript to Packet Tracer's Script Engine, where it runs with Packet Tracer's privileges, including disk access.
- The README says versions before v0.6.0 had an unauthenticated bridge and recommends upgrading; older versions are vulnerable to code injection from web pages into the local bridge.
- `pt_send_raw` can execute arbitrary JavaScript inside Packet Tracer by design.
- Support for exam creation and some activity features varies by platform; the README marks some features Windows-only, Windows and macOS, or not yet tested.

## Client config (JSON)
```json
{"mcpServers":{"packet-tracer":{"command":"uvx","args":["packet-tracer-mcp","--stdio"]}}}
```

## Tools (41)
- `pt_full_build`: Runs the complete network build flow: planning, validation, automatic fixes, configuration generation, and live deployment.
- `pt_plan_topology`: Creates a network topology plan from requirements.
- `pt_validate_plan`: Checks whether a topology plan is valid.
- `pt_fix_plan`: Fixes issues found in a topology plan.
- `pt_live_deploy`: Deploys a topology and configuration live into Packet Tracer.
- `pt_configure_dhcp_server`: Configures DHCP service.
- `pt_apply_hsrp`: Applies HSRP configuration.
- `pt_apply_bgp`: Applies BGP configuration.
- `pt_apply_qos`: Applies QoS configuration.
- `pt_apply_vlan`: Configures VLANs.
- `pt_apply_stp`: Configures spanning tree.
- `pt_apply_port_security`: Configures switch port security.
- `pt_apply_etherchannel`: Configures EtherChannel.
- `pt_wireless_ap`: Configures a wireless access point.
- `pt_apply_voice`: Configures Cisco CME voice features.
- `pt_apply_acl`: Applies access control lists.
- `pt_apply_nat`: Applies network address translation configuration.
- `pt_apply_hardening`: Applies device security hardening.
- `pt_audit_security`: Audits the security of live device configuration.
- `pt_cli`: Runs commands in a device's CLI.
- `pt_host_command`: Runs commands on a host.
- `pt_server_*`: Configures Packet Tracer server services such as DHCP, DNS, HTTP, FTP, and EMAIL.
- `pt_web_browser`: Uses Packet Tracer's Web Browser.
- `pt_verify_connectivity`: Checks network connectivity with real pings.
- `pt_health_check`: Checks network health.
- `pt_diff`: Compares a plan with the live network.
- `pt_inspect_ports`: Inspects device ports.
- `pt_read_routes`: Reads routing information.
- `pt_read_ospf`: Reads OSPF information.
- `pt_send_pdu`: Sends a PDU and inspects packet handling.
- `pt_simulation_mode`: Changes simulation mode.
- `pt_simulation_step`: Advances a simulation step.
- `pt_read_packet_trace`: Reads Packet Tracer's per-layer packet processing trace.
- `pt_activity_create_exam`: Creates a Packet Tracer activity exam from a specification.
- `pt_activity_check`: Checks activity grading item by item.
- `pt_activity_*`: Opens, checks, marks, saves, or creates Packet Tracer activities.
- `pt_screenshot`: Captures the Packet Tracer canvas.
- `pt_add_note`: Adds a note to the canvas.
- `pt_save_project`: Saves a Packet Tracer project.
- `pt_backup_config`: Backs up device configuration.
- `pt_export`: Exports topology plans and configurations.
