mcpField
-
- MCP Server for Network Administration

- MCP Server for Network Administration

Local
github.com/solaconsayCloud & Infra2Updated 79w ago

About - MCP Server for Network Administration

NetSensei is an MCP server for network administrators, offering connectivity tests, route tracing, scans, packet analysis, and SSH command execution. It can be used with Claude Desktop or OpenWebUI via mcpo.

Key features

  1. 01Test connectivity with ping
  2. 02Trace network paths
  3. 03Scan devices and services with Nmap
  4. 04Capture and analyze packets with tshark
  5. 05Connect over SSH and run device commands

Use cases

  1. 01Check connectivity to a network destination
  2. 02Discover devices and services on a network
  3. 03Inspect filtered traffic such as DNS or HTTP
  4. 04Run commands on network devices over SSH

MCP support

Exposes network administration utilities as tools through MCP. It can connect to Claude Desktop or be used with OpenWebUI via mcpo.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

NetSensei - MCP Server for Network Administration

NetSensei is an MCP server to assist network administrators. It provides various network utilities and tools such as ping, traceroute, Nmap scans, packet sniffing, and SSH using the Model Context Protocol (MCP) to communicate and process network-related commands.

Usage

You can use this with Claude Desktop or with OpenWebUI using mcpo

Features

  • Ping Test: Quickly test network connectivity with detailed output.
  • Traceroute: Identify the network path to any destination.
  • Nmap Scan: Perform network scans with customizable arguments to discover devices and services.
  • Packet Sniffer: Use tshark to capture and analyze network packets, filtered by custom criteria (e.g., DNS, HTTP, ICMP).
  • SSH connection: Connect to a device thru ssh and execute commands based on the device platform (e.g. Ubuntu Server, Cisco, Aruba, etc.).
  • AI Assistant: Leverage the power of AI to automate routine network tasks and gain deeper insights.

Requirements

  • Python 3.x
  • MCP Python SDK - https://github.com/modelcontextprotocol/python-sdk
  • uvicorn - ASGI server to run the FastAPI server.
  • tshark (Wireshark's command-line tool) must be installed and accessible from your system PATH.
  • nmap - For network scanning.
  • netmiko - For ssh connection and command execution.
  • A supported network interface (e.g., Wi-Fi, Ethernet) for packet sniffing.

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/netsensei.git
    cd netsensei
    
    
  2. Add this to your Claude Desktop config file.

    {
        "mcpServers": {
            "NetSensei": {
                "command": "uv",
                "args": [
                    "run",
                    "--with",
                    "mcp[cli]",
                    "mcp",
                    "run",
                    "C:\\path\\to\\cloned\\repo\\main.py"
                ]
            }
        }
    }
    
  3. Integrating with OpenWebUI

    uvx mcpo --port 9003 -- mcp run main.py    
    

Example

Prompting Claude AI to discover live host in a network.

▶️ Watch the demo video

alt text

Contribution

Contributions are welcome! Feel free to fork the repository, create an issue, or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.