Network MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Network MCP Server
AI-powered network device management via SNMP. Query any vendor's devices — Cisco, Juniper, Arista, UniFi, Fortinet, and more — through the Model Context Protocol.
Overview
Network MCP Server bridges the gap between AI assistants (Claude, Cursor, etc.) and network infrastructure. It provides 5 SNMP-based tools that let AI query device status, discover networks, and retrieve interface statistics — all through a standardized MCP interface.
Zero vendor lock-in: Works with any SNMP-enabled device from any manufacturer.
Related MCP server: IP Fabric MCP Server
Architecture
AI Assistant (Claude Code / Cursor / etc.)
↕ MCP Protocol (stdio or HTTP)
Network MCP Server (FastMCP)
↕ SNMP v1/v2c (pysnmp-lextudio)
Network Devices (Cisco / Juniper / Arista / UniFi / ...)The server uses FastMCP for the MCP transport layer and pysnmp-lextudio for SNMP operations. All queries are read-only by design — no configuration changes are made to devices.
Dependencies
Package | Version | Purpose |
fastmcp | >=2.0.0 | MCP server framework |
pysnmp-lextudio | >=6.1.0 | SNMP protocol implementation (actively maintained pysnmp fork) |
pydantic | >=2.0 | Input validation |
pyyaml | >=6.0 | Configuration file parsing |
Runtime: Python 3.10+
Usage
Installation
pip install network-mcp-server
# or from source:
git clone https://github.com/dtzp555-max/network-mcp-server.git
cd network-mcp-server
pip install -e .Quick Start
# Run the server (stdio mode for Claude Code)
network-mcp
# Or run directly
python -m network_mcp.serverClaude Code Integration
Add to ~/.claude/settings.json:
{
"mcpServers": {
"network": {
"command": "network-mcp",
"env": {
"SNMP_COMMUNITY": "your_community_string"
}
}
}
}Then in Claude Code:
"Show me the device info for 192.168.1.1"
"What's the interface status on the core switch?"
"Discover all SNMP devices on 10.0.0.0/24"
Available Tools
Tool | Description |
| Query a single SNMP OID |
| Walk an OID subtree |
| Get device name, vendor, uptime, location |
| Get interface status table with traffic stats |
| Scan a subnet for SNMP-enabled devices |
Configuration
Environment Variables
Variable | Default | Description |
|
| Default SNMP community string |
|
| Query timeout in seconds |
|
| Number of retries on timeout |
|
| Config directory path |
Device Inventory (Optional)
Create ~/.network-mcp/devices.yaml:
devices:
core-switch:
host: 192.168.1.1
community: private_string
firewall:
host: 10.0.0.1
community: fw_communityError Handling
All tools return structured error responses instead of raising exceptions:
{
"error": "SNMP error: No SNMP response received before timeout",
"host": "192.168.1.1"
}Common error scenarios:
Timeout: Device is unreachable or SNMP is not enabled
Authentication: Wrong community string (no SNMP response)
Large subnet: Subnet scan limited to /22 (1024 hosts) max
Known Limitations
SNMP v1/v2c only — SNMPv3 support planned for v0.2.0
Read-only — No SET operations by design (safety first)
64-bit counters — ifHCInOctets/ifHCOutOctets used when available, falls back to 32-bit
Subnet discovery — Max /22 (1024 hosts) to prevent accidental network floods
No persistent state — Each query is independent, no caching
Development
# Setup
git clone https://github.com/dtzp555-max/network-mcp-server.git
cd network-mcp-server
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
# Test
pytest tests/ -v
# Lint
ruff check src/ tests/Roadmap
v0.2.0: SNMPv3 support, SSH/Netmiko backend (Cisco IOS commands)
v0.3.0: UniFi REST API backend
v0.4.0: Configuration change tools (with safety guardrails)
v1.0.0: Multi-backend, production-ready
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
IP intelligence, network diagnostics, and AI service availability tools for AI agents.
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Network hardware BOMs, built inside your AI assistant
AI helper for choosing and speccing network & security products from Cisco, Arista, Juniper and more
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with direct access to multi-vendor network devices for tasks like configuration management, health checks, and topology discovery through 35 specialized tools. It enables natural language control over platforms including Cisco, Juniper, and Nokia using SSH, NETCONF, and SNMP protocols.12MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query IP Fabric network inventory and snapshots through natural language, using tools to fetch devices, interfaces, routing tables, and more.1MIT
- AlicenseAqualityDmaintenanceProvides 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.10MIT
- FlicenseNot gradedqualityCmaintenanceEnables 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.-