GNS3

v1.0.0Developer Toolsstable

AI-Powered GNS3 Network Simulation MCP Server

aiarchitectureautomationgemini-cligns3
Share:
20
Stars
0
Downloads
0
Weekly
0/5

What is GNS3?

GNS3 is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ai-powered gns3 network simulation mcp server

AI-Powered GNS3 Network Simulation MCP Server

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • AI-Powered GNS3 Network Simulation MCP Server

Use Cases

Network simulation and design
Network architecture planning
Wael-Rd

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 1, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx gns3

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use GNS3

The GNS3 MCP Server connects AI assistants to a running GNS3 network simulator instance, exposing over 40 tools for creating and managing virtual network topologies through natural language. You can ask the AI to build multi-site enterprise networks, configure VLANs, apply bulk router configurations, capture packets, and manage project snapshots — all by describing what you want rather than manually clicking through GNS3's UI. The server connects directly to your local GNS3 server (default: localhost:3080) with no external API keys required.

Prerequisites

  • Python 3.10 or later installed
  • GNS3 Server installed and running at http://localhost:3080 (or a custom URL)
  • GNS3 node templates/appliances already configured in your GNS3 installation
  • An MCP-compatible client such as Claude Desktop, Gemini CLI, or Claude Code
1

Clone the repository and install the package

Clone the GNS3 MCP Server repository and install it in editable mode using pip.

git clone https://github.com/Wael-Rd/gns3-mcp-server.git
cd gns3-mcp-server
pip install -e .
2

Configure environment variables (optional)

If your GNS3 server is not at the default localhost:3080, or if it requires authentication, create a .env file or set environment variables before starting the server.

export GNS3_SERVER_URL=http://localhost:3080
export GNS3_USERNAME=admin
export GNS3_PASSWORD=yourpassword
export GNS3_VERIFY_SSL=false
3

Register the server with your MCP client

Add the GNS3 MCP server to your Claude Desktop configuration. The server is launched via the run.sh script (or run.bat on Windows) from the cloned repository.

{
  "mcpServers": {
    "gns3": {
      "command": "/absolute/path/to/gns3-mcp-server/run.sh",
      "env": {
        "GNS3_SERVER_URL": "http://localhost:3080",
        "GNS3_USERNAME": "admin",
        "GNS3_PASSWORD": "yourpassword"
      }
    }
  }
}
4

Ensure GNS3 Server is running

Start the GNS3 Server application on your machine before asking Claude to interact with it. Verify it is accessible by opening http://localhost:3080/v2/version in your browser.

5

Restart your MCP client and test

Restart Claude Desktop to load the server. Ask Claude to list your existing GNS3 projects — a successful response confirms the connection to GNS3 is working.

GNS3 Examples

Client configuration

Claude Desktop configuration for the GNS3 MCP server with local credentials.

{
  "mcpServers": {
    "gns3": {
      "command": "/Users/you/gns3-mcp-server/run.sh",
      "env": {
        "GNS3_SERVER_URL": "http://localhost:3080",
        "GNS3_USERNAME": "admin",
        "GNS3_PASSWORD": "yourpassword",
        "GNS3_VERIFY_SSL": "false"
      }
    }
  }
}

Prompts to try

Example natural-language network simulation tasks you can give Claude once the GNS3 server is connected.

- "Create a new project called 'Branch_Network' with 2 routers and 1 switch connected in a hub-and-spoke topology"
- "Set up VLANs 10, 20, and 30 on the switch for Sales, Engineering, and Management departments"
- "Configure SSH access with username 'admin' on all routers in the current project"
- "Take a snapshot of the current topology called 'baseline_config'"
- "Start a packet capture on the link between Router1 and Switch1 for 60 seconds"

Troubleshooting GNS3

Connection refused error when the server tries to reach GNS3

Make sure the GNS3 Server application is running (not just the GNS3 GUI). The server process must be active and listening on port 3080. Check GNS3 Server preferences for the correct port if it differs from the default.

Node creation fails with 'template not found'

GNS3 requires appliance templates to be pre-configured before nodes can be added. Open GNS3 manually, go to Edit → Preferences → GNS3 VM and configure your device templates, then retry the AI request.

Authentication errors with GNS3_USERNAME and GNS3_PASSWORD

GNS3 Server authentication is only enabled if you have explicitly configured it in the server settings. If you have not set up credentials, omit GNS3_USERNAME and GNS3_PASSWORD from the env block — the server defaults to unauthenticated local access.

Frequently Asked Questions about GNS3

What is GNS3?

GNS3 is a Model Context Protocol (MCP) server that ai-powered gns3 network simulation mcp server It connects AI assistants to external tools and data sources through a standardized interface.

How do I install GNS3?

Follow the installation instructions on the GNS3 GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with GNS3?

GNS3 works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is GNS3 free to use?

Yes, GNS3 is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "gns3": { "command": "npx", "args": ["-y", "gns3"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use GNS3?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides