Netris MCP Server
Provides operational architecture guidance, troubleshooting hints, and recommended show commands for SONiC on Broadcom platforms.
Provides operational architecture guidance, troubleshooting hints, and recommended show commands for SONiC on Dell platforms.
Provides operational architecture guidance, troubleshooting hints, and recommended show commands for Nokia SR Linux.
Provides operational architecture guidance, troubleshooting hints, and recommended show commands for NVIDIA Cumulus Linux, and enables execution of allow-listed read-only show commands on Cumulus switches via the Netris controller jump host.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Netris MCP Servercreate a new VPC named staging for the engineering tenant"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Netris MCP Server
A Model Context Protocol (MCP) server for Netris cloud networking and AI fabric automation.
Compatible with Claude Desktop, Anti-gravity IDE, Cursor, VS Code, and the Netris Proof of Concept Demo Portal.
1. Features
Compact Umbrella Dispatchers: Grouped into high-signal tools (
fabric_inventory,virtual_networks,routing_and_policy,fabric_links,fabric_health,triage,looking_glass) to maintain a lean LLM token context.Demo Portal Contract: Includes
./start.sh,./stop.sh, and a live/api/healthendpoint for plug-and-play portal integration.Switch Shell Execution via Controller: Secure, allow-listed read-only show commands directly on Cumulus switches via the controller jump host.
Multi-Vendor Architecture Guidance: Built-in operational reference hints for NVIDIA Cumulus Linux, SONiC (Broadcom, NextHop, Dell), Juniper Junos, Nokia SR Linux, and Arista EOS.
Safety by Default: Enforces strict read-only operation unless explicitly overridden with
NETRIS_MCP_MODE=read-write. All mutating actions default todry_run=True.
Related MCP server: Apstra MCP Server
2. Quickstart
Prerequisites
Python 3.10+ (tested through Python 3.14)
Target Netris Controller credentials (e.g.,
https://adam-ctl.netris.io)
Installation & Interactive Setup
git clone https://github.com/iamjarvs/netris-mcp.git
cd netris-mcp
python3 -m venv .venv
./.venv/bin/pip install -r requirements.txt
./.venv/bin/python setup_cli.pyThe setup wizard will prompt for your Netris Controller details, verify authentication against the live controller, and automatically configure:
.envconfiguration file.vscode/mcp.jsonfor Anti-gravity IDE / Cursor / VS Codeclaude_desktop_config.example.json
3. Running the Server
Standalone Webserver (Demo Portal Mode)
./start.sh
# Check health:
curl http://localhost:8750/api/health
# Stop service:
./stop.shSTDIO Mode (Direct CLI / MCP Client)
./start.sh --stdio4. Repository Structure
├── start.sh # Standard executable entrypoint (creates .venv, starts server)
├── stop.sh # Standard teardown script (graceful termination)
├── setup_cli.py # Interactive configuration wizard
├── requirements.txt # Python dependencies
├── pyproject.toml # Hatchling project configuration
├── instructions.md # AI agent guidance and tool conventions
├── app/ # Application package
│ ├── config.py # Root-aware configuration loader
│ ├── netris_client.py # Async v1 & v2 Netris API client with cookie auth
│ ├── webserver.py # Starlette webserver exposing /api/health
│ ├── server.py # FastMCP server instance (STDIO & Streamable HTTP)
│ ├── tools_dispatch.py # Compact umbrella tools (Inventory, VNet, Policy, Links)
│ ├── diagnostics_dispatch.py # Health, Audit, Triage, and Looking Glass
│ ├── switch_exec.py # Allow-listed switch show commands via SSH jump host
│ └── architecture_hints.py # Multi-vendor NOS troubleshooting hints
├── lab-guide/ # Full documentation & integration guide
│ ├── 01-introduction.md
│ ├── 02-prerequisites-and-install.md
│ ├── 03-connect-clients.md
│ ├── 04-tools-reference.md
│ └── 05-troubleshooting.md
└── tests/ # Automated pytest suite (respx + live integration)5. Tool Catalog
Tool Name | Domain / Actions | Description |
|
| Unified inventory across physical hardware and logical tenants. |
|
| EVPN V-Nets, hierarchical IPAM subnets, and VPC peerings. |
|
| Border BGP sessions, route maps, security ACLs, and L4 load balancers. |
|
| Dual-ended physical link cabling, optical telemetry, and switch ports. |
|
| Holistic fabric health evaluation across agent heartbeats and hardware alarms. |
|
| Audits system events and sensor threshold configurations. |
|
| Automated root-cause troubleshooting playbook. |
|
| Live routing daemon telemetry directly from fabric switches. |
| Target IP/Name + Read-only show command | Executes allow-listed show commands ( |
|
| Retrieves operational architecture guidance, troubleshooting hints, and recommended show commands. |
|
| Provisions or deletes tenant V-Nets with dry-run preview diffs and audit logging. |
6. Testing
Run the automated test suite:
./.venv/bin/pytest -vThis server cannot be deployed
Maintenance
Related MCP Connectors
Deploy, monitor, and manage your OpenClaw AI assistants via natural language.
Interact with the Stitch API using natural language commands.
Ask your Quickbase apps in plain language. Read-only by default; writes need human approval.
Ask about your Kodem Security data and act on findings in plain language, with your permissions.
Related MCP Servers
AlicenseCqualityBmaintenanceEnables deploying and managing infrastructure via natural language, including project/domain management, compute nodes, image deployment, and CI/CD integration.70MIT- FlicenseNot gradedqualityDmaintenanceEnables natural language management of Juniper Apstra datacenter networks, including blueprints, virtual networks, connectivity templates, and deployment.2-
- FlicenseNot gradedqualityDmaintenanceEnables natural language management of apps, services, resources, attributes, and data via the Dimetrics API with full CRUD operations and advanced filtering.-
- AlicenseDqualityBmaintenanceEnables managing MikroTik RouterOS devices via natural language, with read-heavy network inspection and guarded write access across multiple routers.261Apache 2.0