🌐 Nornir MCP Server
@yhvh-chen
🌐 Nornir MCP Server について
Nornir MCP Server
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"nornir_mcp_local": {
"name": "Nornir MCP Server",
"type": "sse",
"url": "http://YOUR_SERVER_IP:8000/sse",
"command": "DON'T NEED"
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is 🌐 Nornir MCP Server?
A FastMCP server that provides network automation tools powered by Nornir and NAPALM. It bridges Nornir/NAPALM network operations as MCP (Massively Concurrent Processing) tools, making them accessible from compatible MCP clients. Designed for network engineers and automation practitioners.
How to use 🌐 Nornir MCP Server?
Configure network inventory and device credentials by editing hosts.yaml, groups.yaml, and defaults.yaml in the conf/ directory. Then run docker-compose up --build -d in the project root. The server starts on port 8000 using SSE transport. Connect an MCP client (e.g., FastMCP Web UI) by adding a server with URL http://localhost:8000/sse.
Key features of 🌐 Nornir MCP Server
- Leverages Nornir for inventory management and concurrent task execution.
- Uses NAPALM for multi-vendor device interaction and information gathering.
- Built with FastMCP for seamless integration with MCP clients.
- Containerized with Docker for easy setup and deployment.
- Uses
uvfor fast Python dependency management within the container. - Provides tools for sending read-only commands and retrieving device facts.
Use cases of 🌐 Nornir MCP Server
- Retrieve device facts (facts, interfaces, IP addresses, ARP tables, etc.) from multi-vendor networks.
- Send read-only commands to network devices and collect output.
- Perform automated device health checks and generate assessment reports.
- Integrate network automation into larger MCP-based orchestration workflows.
FAQ from 🌐 Nornir MCP Server
What are the prerequisites to run the server?
Docker and Docker Compose (usually included with Docker Desktop) must be installed on your system.
How do I configure device credentials?
Edit hosts.yaml, groups.yaml, and defaults.yaml in the conf/ directory. Credentials are stored in plaintext by default – for production environments, use Nornir's secrets management features (e.g., environment variables or HashiCorp Vault) instead.
What tools does the server expose?
Tools include list_all_hosts, numerous NAPALM getters (e.g., get_facts, get_interfaces, get_config, get_bgp_neighbors), and send_command for read-only command execution. Availability depends on device platform and NAPALM driver support.
How do I connect an MCP client to the server?
Ensure the server is running, then add a new MCP Server connection in your client with the URL http://localhost:8000/sse. The client will automatically discover the available tools.
Is this server suitable for production use?
The default configuration stores credentials in plaintext YAML files, which is only recommended for lab/testing environments. For production, modify nornir_ops.py and configuration to use a secrets provider (e.g., environment variables or HashiCorp Vault).
「その他」の他のコンテンツ
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
コメント