Governed network device ops (NAPALM) β 13 MCP tools with audit/undo.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Disclaimer: This is a community-maintained open-source project and is not affiliated with, endorsed by, or sponsored by Cisco, Arista, Juniper, NetBox Labs, or any network vendor. Vendor and product names are trademarks of their respective owners. Source code is publicly auditable at github.com/AIops-tools/Network-AIops under the MIT license.
Governed multi-vendor network device operations for AI agents β 33 MCP tools,
every one wrapped with the bundled @governed_tool harness: a local unified audit
log under ~/.network-aiops/, token/runaway budget guard, undo-token recording,
and descriptive risk-tier labels. Credentials (device passwords + the NetBox token)
are kept in an encrypted store (secrets.enc), never plaintext on disk.
Devices are reached over NAPALM; an optional NetBox block adds source-of-truth lookups.
Standalone: the governance harness is bundled in the package (
network_aiops.governance) β network-aiops has no external skill-family dependency. Coverage focuses on common device operations and is not yet exhaustive.
Verification status: the test suite is mock-based; not yet validated against live devices β self-testable with cEOS / vMX / containerlab. See docs/VERIFICATION.md.
Read device facts, interfaces (+ counters/IP), BGP/LLDP neighbors (summary and
detail), ARP/MAC tables, VLANs, route lookups, hardware environment, optics, NTP,
users, SNMP info, VRFs, and an aggregated device_health; run read-only RCA
diagnostics that flag down/erroring/flapping interfaces and unhealthy BGP
neighbors β each finding citing the measured number that tripped it; back up the
running config, dry-run a config diff, and merge/replace/rollback config β across the five
core NAPALM platforms below. Optional NetBox lookups (devices + interfaces) confirm
intended state before a change.
NAPALM does not implement every getter on every platform; an unsupported getter
returns a teaching error ("not supported by the <driver> driver") rather than
crashing. Secrets are never returned β get_users redacts password hashes and
get_snmp_information redacts community strings.
| Platform | NAPALM driver | Transport |
|---|---|---|
| Cisco IOS / IOS-XE | ios | SSH |
| Cisco Nexus NX-OS | nxos (NX-API) / nxos_ssh (SSH) | HTTPS / SSH |
| Cisco IOS-XR | iosxr | SSH (XML agent) |
| Arista EOS | eos | eAPI (HTTPS) |
| Juniper Junos | junos | NETCONF (SSH) |
Additional platforms (Nokia SR OS / SR Linux, Huawei VRP, etc.) are reachable via NAPALM community drivers but are not officially tested here. Need one? See Contributing.
| Action | Tool | R/W | Risk |
|---|---|---|---|
| Device facts (hostname/vendor/model/OS/serial/uptime) | device_facts | R | low |
| Interfaces (up/down, speed, description) | get_interfaces | R | low |
| Interface traffic + error counters | get_interfaces_counters | R | low |
| Interface IP addresses | get_interfaces_ip | R | low |
| BGP neighbors (summary / detail) | get_bgp_neighbors / get_bgp_neighbors_detail | R | low |
| LLDP neighbors (summary / detail) | get_lldp_neighbors / get_lldp_neighbors_detail | R | low |
| ARP table | get_arp_table | R | low |
| MAC address table | get_mac_address_table | R | low |
| VLANs | get_vlans | R | low |
| Route lookup | get_route_to | R | low |
| Hardware environment (fans/temp/power/CPU/mem) | get_environment | R | low |
| Optical transceiver levels | get_optics | R | low |
| NTP servers / sync stats | get_ntp_servers / get_ntp_stats | R | low |
| Local users (hashes redacted) | get_users | R | low |
| SNMP info (communities redacted) | get_snmp_information | R | low |
| Network instances (VRFs) | get_network_instances | R | low |
| Aggregated device health | device_health | R | low |
| Interface health RCA (down / errors / discards / flaps) | interface_health_rca | R | low |
| BGP neighbor RCA (down / shut / reset / route-less) | bgp_neighbor_rca | R | low |
| Back up running config | config_backup | R | low |
| Diff a candidate (dry-run) | config_diff | R | low |
| Merge config + commit | config_merge | W | medium |
| Replace full config + commit | config_replace | W | high |
| Roll back last commit | config_rollback | W | medium |
| NetBox list devices | netbox_list_devices | R | low |
| NetBox get device | netbox_get_device | R | low |
| NetBox device interfaces | netbox_device_interfaces | R | low |
| List recorded reversible writes | undo_list | R | low |
| Apply a recorded inverse (governed, single-use, dry-run capable) | undo_apply | W | medium |
It delivers multi-vendor network device (NAPALM) + NetBox operations β reads and writes β accurately and efficiently, and records every one of them. It does not decide whether a write is allowed to happen. That is the agent's judgement, or the permission of the account you connect it with: log in with a device account at a read-only privilege level (and give NetBox a read-only API token), and the writes fail at the server β the place that actually owns the permission.
So there is no read-only switch, no policy file, no approval gate to configure. The one thing the
tool guarantees is that nothing is silent: every call, over MCP and over the CLI alike, lands an
audit row in ~/.network-aiops/audit.db, and destructive writes still capture their before-state
and record an inverse where one exists.
Each tool declares a
risk_level, carried into the audit row as a descriptive tier (none/confirm/review) β so a reviewer can see at a glance that a row was a high-risk delete. It is a label, not a gate.
Running a smaller / local model? See agent-guardrails.md β it lists the guardrails this tool enforces for you (so you don't spend prompt budget restating them) and gives a ready-made system prompt for what's left.
One install gives an agent both the skill and the MCP server:
The MCP server is fetched with uv and pinned to the
package version this plugin declares, so an audit row can be traced back to the
code that wrote it. Credentials are still configured with network-aiops init β see below.
The same bundle is published on ClawHub, where one install delivers the skill and its MCP server together:
Restart the OpenClaw gateway afterwards so it loads the plugin. The MCP server is
fetched with uv, pinned to this exact release, so
uvx has to be on PATH β without it the skill still installs but reports
Visible to model: no. Credentials are configured exactly as below.
Create ~/.network-aiops/config.yaml:
Secrets are stored encrypted in ~/.network-aiops/secrets.enc (Fernet/AES +
scrypt-derived key; chmod 600) β never in config.yaml or a plaintext .env.
Device passwords are keyed by device name; the NetBox token uses the reserved
name netbox-token:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/network-aiops)<a href="https://allmcps.com/mcp/network-aiops"><img src="https://allmcps.com/api/badge/network-aiops?style=directory" alt="Network AIops on AllMCPs" /></a>