Skip to content
mcp-tracer
mcp-tracer

Tools

Everything mcp-tracer exposes to your AI client: tools, resources and prompts.

19 capabilities19 resource
  • add_deviceresource

    Add a device. Aliases resolve to PTBuilder keys (4331 → ISR4331, WRT300N → Linksys-WRT300N, PC → PC-PT). Without x/y the device is placed automatically. The result lists its ports.

  • add_linkresource

    Connect two ports with a cable. A port takes one link. Without cable, the server infers it.

  • build_topologyresource

    Replace the whole topology in one atomic call, with the same rules as the four tools above. If any item is invalid nothing changes, and the error names the item.

  • configure_deviceresource

    Append IOS commands to a router, switch or multilayer switch. They run in global configuration mode; enable, configure terminal, end and write memory lines are dropped and reported.

  • configure_pcresource

    Set a host's IPv4 configuration on FastEthernet0, static or DHCP. Supported on PC-PT and Server-PT; Laptop-PT and Printer-PT are accepted but unverified. ip accepts 192.168.1.10/24, mask accepts 255.255.255.0 or /24.

  • dhcp_labresource

    A 2911 gateway, a 2960 switch and DHCP-client PCs

  • export_scriptresource

    Write the PTBuilder script to a .js or .txt file (adds .js when the name has no extension). Same validation as generatescript.

  • generate_scriptresource

    Return the PTBuilder script, plus a second text block with any warnings. Validation errors block it.

  • get_topologyresource

    Return the topology as JSON, with the positions and cables that will be emitted.

  • load_topologyresource

    Replace the topology with one from a .json file written by savetopology (a bare gettopology object also works). Fully validated before anything changes. 5 MB maximum.

  • nat_labresource

    Inside PCs behind a 2911 edge router, an ISP router and a web server

  • ospf_labresource

    Single-area OSPF between 2911 routers, one PC LAN per router

  • remove_deviceresource

    Remove a device with its links, IOS commands and IP configuration.

  • remove_linkresource

    Remove the link that uses a port.

  • rename_deviceresource

    Rename a device. Its links and configuration follow; IOS hostname lines are not changed.

  • reset_topologyresource

    Delete every device, link and configuration.

  • save_topologyresource

    Save the topology to a .json file that loadtopology reads back. Adds .json when the name has no extension and creates missing folders.

  • validate_configresource

    Report errors and warnings, each with a stable code and a fix.

  • vlan_labresource

    A 2960 switch with PCs per VLAN and optional inter-VLAN routing