MCPcopy Index your code
hub / github.com/GNS3/gns3-gui

github.com/GNS3/gns3-gui @v3.1.0a3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.1.0a3 ↗ · + Follow
2,778 symbols 11,508 edges 369 files 1,671 documented · 60%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GNS3-gui

GitHub Actions tests Latest PyPi version Snyk scanning

Installation

Please see the documentation on our website

Software dependencies

PyQt6 which is either part of the Linux distribution or installable from PyPi. The other Python dependencies are automatically installed during the GNS3 GUI installation and are listed here

For connecting to nodes using Telnet, a Telnet client is required. On Linux that's a terminal emulator like xterm, gnome-terminal, konsole plus the telnet program. For connecting to nodes with a GUI, a VNC client is required, optionally a SPICE client can be used for Qemu nodes.

For using packet captures within GNS3, Wireshark should be installed. It's recommended, but if you don't need that functionality you can go without it.

Development

If you want to update the interface, modify the .ui files using QT tools. And:

cd scripts
python build_pyqt.py

Debugging

If you want to see the full logs in the internal shell you can type:

debug 2

Or start the app with --debug flag.

Due to the fact PyQT intercept you can use a web debugger for inspecting stuff: https://github.com/Kozea/wdb

Security issues

Please contact us at security@gns3.net

Core symbols most depended-on inside this repo

format
called by 838
gns3/logger.py
connect
called by 382
gns3/qt/__init__.py
get
called by 287
gns3/node.py
critical
called by 252
gns3/qt/__init__.py
setEnabled
called by 247
gns3/graphics_view.py
instance
called by 206
gns3/modules/iou/__init__.py
connect
called by 197
gns3/controller.py
name
called by 151
gns3/ports/port.py

Shape

Method 2,214
Class 287
Function 277

Languages

Python100%

Modules by API surface

gns3/main_window.py96 symbols
gns3/graphics_view.py83 symbols
gns3/project.py72 symbols
gns3/node.py68 symbols
gns3/controller.py53 symbols
gns3/topology.py47 symbols
gns3/link.py43 symbols
gns3/http_client.py39 symbols
gns3/items/node_item.py38 symbols
gns3/items/link_item.py37 symbols
gns3/ports/port.py34 symbols
gns3/compute.py29 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add gns3-gui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page