cisco-pt-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | Your Google Gemini API key, used for AI-powered network generation and code generation. |
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
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| addDeviceA | Add a network device to the workspace. Call getNetwork first if unsure whether the chosen deviceName is already taken; names must be unique. |
| addModuleA | Add an interface module to a device. Powers the device off, installs the module, powers it back on. |
| addLinkA | Connect two devices with a cable. Both interfaces must be free (in_use=false in getNetwork output). If unsure, call getNetwork first. |
| removeDeviceB | Remove one or more devices from the workspace. |
| removeLinkB | Remove one or more cables. Each entry identifies one endpoint of the link. |
| configurePcIpB | Configure IP settings on a PC or end device. |
| configureIosDeviceA | Execute IOS commands on a router or switch. Commands run from global config and are saved with 'write memory'. |
| getNetworkA | Snapshot of the entire workspace: every device, its interfaces (with in_use flags), and every cable. Call this before addLink or removeDevice when unsure of current state. |
| getDeviceInfoB | Detailed info about one device, including interfaces and incident links. |
| setSimulationModeA | Switch Packet Tracer between simulation mode and realtime mode. Simulation mode is required before sending PDUs or stepping through traffic. |
| getSimulationStatusA | Query the current simulation state: mode (realtime or simulation), elapsed simulation time, PDU frame count, and current frame index. |
| stepSimulationA | Step the simulation forward or backward, or reset it entirely. PT must already be in simulation mode (use setSimulationMode first). |
| sendPduA | Add an ICMP ping PDU between two devices using PT's native Simple PDU mechanism. Automatically enables simulation mode if not already active. Use stepSimulation to advance and getPduResults to check if the ping succeeded. |
| renameDeviceA | Rename an existing device. The new name must be unique in the workspace. |
| moveDeviceA | Move a device to new coordinates on the logical workspace canvas. |
| setPowerC | Power a device on or off. |
| getPduResultsA | Read the outcome of PDUs in the current simulation — source, destination, traffic type, and status (accepted/dropped/in_transit/etc). Call after stepSimulation to verify connectivity. Use the types filter to show only ICMP, TCP, etc. and hide STP/DTP background noise. |
| getCommandLogA | Read the IOS command history logged by Packet Tracer. Optionally filter by device name and cap the number of returned entries. |
| generateNetworkFromDescriptionA | Use AI (Gemini) to generate a complete network topology from a natural language description. Returns a full network design including devices, links, IP addressing, and configurations. Requires GEMINI_API_KEY environment variable or ~/.cisco-pt-mcp/config.json with gemini_api_key. |
| generateCodeSnippetA | Use AI (Gemini) to generate PTBuilder JavaScript code from a natural language description. Returns executable JavaScript code that can be run in the PTBuilder code editor. Requires GEMINI_API_KEY environment variable or ~/.cisco-pt-mcp/config.json with gemini_api_key. |
| executeBuilderCodeB | Execute PTBuilder JavaScript code in Packet Tracer. The code can use PTBuilder functions like addDevice, addLink, configurePcIp, configureIosDevice, etc. This is useful for batch operations and programmatic network building. |
| buildNetworkFromDesignA | Build a complete network in Packet Tracer from a structured design specification. Accepts a JSON design with devices, links, and configurations. Useful for importing designs or building from AI-generated specifications. |
| openBuilderInterfaceA | Open the PTBuilder code editor interface in Packet Tracer. This provides a web-based code editor where users can write and execute JavaScript code to automate network building. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/2001sithum/cisco-pt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server