Manage GNS3 project snapshots - create, restore, delete for safe experimentation
Create and manage snapshots of GNS3 project state. Save checkpoints before risky changes and restore to known-good states.
python3 -u mcp-servers/gns3-mcp-server/gns3_mcp_server.py (stdio transport)GNS3_URL, GNS3_USER, GNS3_PASSWORD environment variables| Tool | Parameters | What It Does |
|---|---|---|
gns3_list_snapshots | project_id | List all snapshots for a project |
gns3_create_snapshot | project_id, name | Create a snapshot of current state |
gns3_restore_snapshot | project_id, snapshot_id | Restore project to snapshot state |
gns3_delete_snapshot | project_id, snapshot_id | Delete a snapshot |
# Create baseline before changes
"Create a snapshot called baseline for routing-test"
# Make some changes...
# (configure OSPF, add new links, etc.)
# Something went wrong? Restore to baseline
"Restore routing-test to baseline snapshot"
# Save after initial topology setup
"Create a snapshot called topology-complete for routing-test"
# Save after basic configuration
"Create a snapshot called basic-config for routing-test"
# Save after full configuration
"Create a snapshot called full-config for routing-test"
# List all checkpoints
"List snapshots for routing-test"
# Create starting point for students
"Create a snapshot called student-starting-point for training-lab"
# After each session, restore to starting point
"Restore training-lab to student-starting-point"
# Remove snapshots no longer needed
"Delete the old-test snapshot from routing-test"
before-ospf-config not snap1| Error Code | Meaning | Resolution |
|---|---|---|
| GNS3_NOT_FOUND | Project or snapshot doesn't exist | Check names/IDs |
| GNS3_CONFLICT | Snapshot name already exists | Use unique names |