Skip to main content
Glama

NERD MCP

NERD (Network Engineering Reconnaissance & Discovery) is designed by network engineers for network engineers. It provides a natural-language and command-line interface for querying network inventory, inspecting devices, diagnosing network conditions, and deploying controlled configuration changes.

NERD connects to network devices over SSH and exposes read-only Model Context Protocol (MCP) tools. Its MCP server can be used by your preferred LLM client when that client supports local stdio MCP servers. The included terminal chat currently uses the OpenAI Responses API. Configuration deployment remains a local CLI capability with explicit write enablement, review, approval, verification, and separate save controls.

NERD CLI showing a network diagnosis

NERD CLI showing a network diagnosis

Capabilities

  • Import and search CSV or XLSX inventories stored in local SQLite.

  • Inspect interfaces, VLANs, routes, neighbors, BGP, OSPF, VPN state, and configuration.

  • Discover topology and MAC-address observations.

  • Capture one baseline per device and compare current configuration.

  • Use terminal chat through the OpenAI Responses API.

  • Plan typed configuration changes with preview, approval, verification, rollback, and separate save approval.

Platform

Inspection

Diagnosis

Configuration writes

Cisco IOS / IOS-XE

Yes

Yes

Experimental, CLI opt-in

Cisco NX-OS

Yes

Yes

Read-only until validation

Aruba AOS-CX

Yes

Yes

Read-only until validation

Aruba AOS-Switch

Yes

Yes

Read-only until validation

Fortinet FortiOS

Yes

Yes

Read-only

MCP is always read-only. Writes exist only in the local CLI, are disabled by default, and require --enable-writes plus exact approval phrases.

Related MCP server: Network Incident MCP

Five-minute mock quick start

git clone https://github.com/MickalSpeller/nerd-mcp.git
cd nerd-mcp
py -3.11 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e ".[full]"
python -m nerd_mcp devices import .\devices.example.csv
python -m nerd_mcp devices list
python -m nerd_mcp inspect edge-router-01 get_device_info --mock
python -m nerd_mcp --version

Linux and macOS users activate with source .venv/bin/activate. Mock inspection needs no device, credentials, or OpenAI account.

name,host,port,credential_profile
edge-router-01,192.0.2.10,22,default

All examples are synthetic and use reserved documentation networks.

Security and data handling

Credentials come from Windows Credential Manager or environment variables and never belong in inventory or SQLite. SSH host keys must be verified and enrolled. Terminal chat transmits relevant device output to the configured OpenAI API; use direct CLI or MCP inspection when output must remain local.

Start with INSTALL.md. See command examples, inventory, CLI, MCP, controlled changes, architecture, and troubleshooting. Contributions and security reports are covered by CONTRIBUTING.md and SECURITY.md.

Licensed under Apache-2.0.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides read-only SSH access to network devices (routers, switches, firewalls) with command allow/deny policies, nt-templates output parsing, and an audit trail, enabling an AI agent to query device state securely.
    10
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 46 read-only tools for MCP-capable AI agents to inspect firewall fleet posture, per-site live status, configuration history and diffs, and threat telemetry, with explicit provenance and data-status guarantees.
    2
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to safely troubleshoot networks through read-only tools for device inventory, interface status, VLAN paths, BGP neighbors, route lookups, and interface error detection. Integrates with Microsoft Copilot Studio and Teams for natural-language-driven network diagnostics.
    -