Back to Home
sydasif icon

nornir-mcp-server

Verified Safe

by sydasif

Overview

Nornir MCP Server exposes network automation capabilities to Claude, enabling natural language interaction for monitoring and managing network infrastructure.

Installation

Run Command
docker compose up --build

Environment Variables

  • LOG_LEVEL
  • MCP_HOST
  • MCP_PORT

Security Notes

The codebase includes several positive security features such as input validation with Pydantic models, configurable command blacklisting (`CommandValidator`) to prevent dangerous CLI commands, path traversal prevention for backup directories, and sensitive data sanitization in resource outputs (`_sanitize_dict`). However, a critical security risk lies in the provided example configuration files (`examples/conf/hosts.yaml`, `examples/conf/groups.yaml`, `examples/conf/defaults.yaml`) which contain hardcoded usernames and passwords (e.g., 'cisco', 'admin', 'secure_password'). The quick start guide encourages copying these examples, potentially leading users to deploy the server with insecure, plain-text credentials in a production environment. While `exec` is used in `resources.py` for dynamic function wrapping, its usage appears contained and controlled, injecting only trusted functions and parameters.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2026-01-19

Tags

network automationNornirFastMCPLLM agentnetwork management