← Back to directory
P

Packet Tracer MCP

Community
Plan, validate, and deploy Cisco Packet Tracer topologies from natural language.
Category
Other #162 of 678
Stars
★ 454 Very popular
Transport
stdio (local process)
Runtime
Python 3.11+
Credentials
No credential needed
License
MIT
Last commit
Tools
41
57FMRS · C

This project connects an MCP client to Cisco Packet Tracer for topology planning, device configuration, live deployment, and verification, with additional tools for creating and grading Packet Tracer activities. It is suited to simulation-based teaching and labs; the source does not present it as a production network management tool.

Strongest · Documentation 15/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
10/20
Maintenance
11/20
Documentation
15/20
Setup experience
12/20
Why each score
Reliability 9/20
The README claims 1,697 offline tests, live verification on multiple platforms, diagnosable errors, and a large MCP tool set, but the supplied material contains no server manifest, test files, or CI workflows to verify those claims. MCP initialization, tool-list behavior, and agreement between declared tools and implementation therefore cannot be confirmed statically; under the static calibration rule, reliability stays at or below 12.
Security and permissions 10/20
The README describes loopback binding, per-request tokens, token-fingerprint checks, Host validation, request-body limits, and a private vulnerability-reporting channel, showing awareness of local-bridge risks. Points are deducted because the implementation and permission boundaries cannot be checked from source files; `pt_send_raw` explicitly allows arbitrary JavaScript execution in Packet Tracer, and topology deployment has real side effects, while the material does not describe confirmation for dangerous actions. The evidence does not establish a red-line issue, but it also does not support a high score.
Maintenance 11/20
The material names an MIT license, release notes, contribution guidance, and a private vulnerability-reporting channel, indicating clear maintenance entry points. Points are deducted because commit history, release cadence, dependency updates, and issue response are not available for review; the stated open-issue count does not demonstrate response quality.
Documentation 15/20
The README provides layered installation steps, quick-start examples, tool categories, platform differences, security notes, and stated limitations, giving it broad coverage. Points are deducted because detailed parameters mainly reside in an external tool reference whose contents cannot be verified here; claims about tests, platform verification, and security implementation also lack corroborating source files.
Setup experience 12/20
The README gives uv-based setup, directions for connecting several MCP clients, skill installation, and Packet Tracer extension installation, with Windows, macOS, and Linux differences. Points are deducted because a working setup also depends on Packet Tracer, separately installing and enabling the extension, and a skill recommended for practical use; some platform and activity features have stated limitations. Without verifiable CI and key-path test evidence, the static calibration cap applies.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkControls a browser

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 and side effects

  • 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.

Setup

Before you start

Runtime:Python 3.11+

Other optional settings (1)
PT_UI_ALLOW_FOREGROUND optional Set to 1 to let Packet Tracer briefly come to the foreground when creating activities with HTML instructions on macOS.

Install Cisco Packet Tracer 8.2 or later, then configure an MCP client to run uvx packet-tracer-mcp --stdio. For Claude Code, the README gives claude mcp add --scope user --transport stdio packet-tracer -- uvx packet-tracer-mcp --stdio. Install the MCP Control Center extension to enable live deployment; enable it in Packet Tracer when prompted. The project also recommends installing its Agent Skill. Setup and feature support vary by operating system.

.mcp.json
{"mcpServers":{"packet-tracer":{"command":"uvx","args":["packet-tracer-mcp","--stdio"]}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "packet-tracer": {
      "command": "uvx",
      "args": [
        "packet-tracer-mcp",
        "--stdio"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.packet-tracer]
command = "uvx"
args = ["packet-tracer-mcp", "--stdio"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add packet-tracer -- uvx packet-tracer-mcp --stdio

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Restart your AI client and confirm Packet Tracer MCP tools appear in its tool list. Open Extensions → MCP BUILDER in Packet Tracer, then ask it to build a small network and verify connectivity.

Troubleshooting

  1. Confirm Packet Tracer 8.2 or later is installed and the MCP Control Center extension is enabled in Packet Tracer.
  2. Check that the MCP client reports the server as connected; restart the client if needed.
  3. If the live bridge does not connect, check that the extension is loaded and compatible; v0.6.0 and later require extension V5 or newer.
  4. On Linux, follow the README's platform instructions to add the extension manually; first launch may also require accepting the license agreement and installing system dependencies.
  5. Install the Agent Skill and reload client skills so the client can use the correct device models, ports, and API names.

Things to try

Once connected, you can ask your AI assistant things like:

  • Create a network with one switch and two PCs, deploy it to Packet Tracer, and test connectivity between the PCs.
  • Build three routers in an OSPF triangle, with two PCs behind each router, and configure DHCP.
  • Check the network, show me R1's routing table, and audit the security of every router.

Tools 41

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

Use cases

Create network labs with OSPF, EIGRP, RIP, DHCP, or VLANs from natural-language requests.
Deploy a topology and check connectivity, routes, and device status.
Configure devices, server services, and security features inside Packet Tracer.
Create and grade Packet Tracer activities for CCNA teaching or practice.

Supported clients

Claude Code
OpenCode
Codex
Cursor
Claude DesktopPartial support
VS Code with Copilot

Listed from the project's documentation, not tested by this site.

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.

Similar servers

Source revision bd3bc03590b8 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mcp-packet-tracer.svg)](https://followmcp.com/en/servers/mcp-packet-tracer)