Packet Tracer MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PT_MCP_HOST | No | IPC host; defaults to 127.0.0.1 | 127.0.0.1 |
| PT_MCP_PORT | No | IPC port; defaults to 39000 | 39000 |
| PT_MCP_APP_ID | No | Override ExApp credentials (application ID). | |
| PT_MCP_CONFIG | No | Path to local connection.json. If setup used --output-dir, set PT_MCP_CONFIG to that directory's connection.json before starting the server. | |
| PT_MCP_SECRET | No | Override ExApp credentials (secret). | |
| PT_MCP_TIMEOUT | No | Per-IPC-call timeout in seconds; defaults to 30 | 30 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pt_statusA | Read native IPC connection status and Packet Tracer version. / 查看连接状态与版本。 |
| pt_list_devicesB | List device names, models and type codes. / 列出设备名称、型号及类型。 |
| pt_new_networkA | Create an empty network; occupied workspace requires explicit discard_current. / 新建空网络,替换现有网络须明确指定。 |
| pt_open_networkB | Open a local .pkt, replacing the occupied workspace only when requested. / 打开本地pkt。 |
| pt_save_networkA | Save the active network as .pkt; overwrite is explicit. / 保存当前网络,覆盖须明确指定。 |
| pt_create_deviceC | Add a named PC, router or switch with native IPC. / 通过原生接口添加设备。 |
| pt_connect_devicesB | Connect two available ports using a straight/crossover cable. / 连接两个空闲端口。 |
| pt_set_pc_ipv4C | Configure a PC's static IPv4 address, mask and gateway. / 配置PC静态地址、掩码、网关。 |
| pt_configure_iosA | Run IOS config lines in order, stop on syntax errors, optionally write memory. Supply commands after configure terminal. / 按顺序执行全局配置命令并可保存。 |
| pt_showA | Run one IOS show command and return its real output. / 返回show命令实际输出。 |
| pt_pc_ipconfigB | Read real PC ipconfig output. / 读取PC实际ipconfig输出。 |
| pt_pingA | Run PC ping and retain actual output for every attempt. Advances simulator time while waiting. / 执行真实PC ping,保留每次结果并推进仿真时间。 |
| pt_fast_forwardA | Advance simulator time for boot, STP or command completion. / 推进仿真时间。 |
| pt_topology_pngA | Return a native workspace PNG as MCP image content; optionally save it. / 返回原生拓扑PNG,可另存。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
Each tool targets a distinct resource or action: topology export, IPC status, device listing, network lifecycle, device creation/connection, PC IPv4, IOS configuration, show output, ipconfig, ping, and time advancement. The only near-overlap is pt_ping versus pt_fast_forward, but their purposes are clearly separated by the descriptions.
All tools use a consistent pt_ prefix and snake_case, making the namespace predictable. There is minor variation between verb-led names (list_devices, create_device, configure_ios) and noun/state names (status, topology_png, pc_ipconfig), but the pattern remains readable.
Fourteen tools is well-scoped for a Packet Tracer automation server, covering connection, topology, device, configuration, and simulation operations without excessive fragmentation. Each tool appears to earn its place.
The surface covers network creation/open/save, device creation, connecting devices, configuration, and verification. However, there is no tool to delete devices or disconnect links, and no tool to list available ports/interfaces, which is a notable gap because pt_connect_devices requires knowing free ports.