MCP.so
登录

Nornir MCP Server

@yhvh-chen

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

yhvh-chen

提交者

Yawei Chen

关于 Nornir MCP Server

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"
    }
  }
}

Nornir MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,直接连接服务器端点实时获取工具列表。

概览

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 uv for 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.

常见问题

1

What are the prerequisites to run the server?

Docker and Docker Compose (usually included with Docker Desktop) must be installed on your system.

2

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.

3

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.

4

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.

5

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).

评论

其他 分类下的更多 MCP 服务器