MCP Catalogs
Home

netbox-mcp-server

by netboxlabs·172·Score 48

A well-maintained MCP server for read-only access to NetBox network infrastructure data via LLMs.

developer-toolsmonitoringops-infra
78
Forks
13
Open issues
this month
Last commit
2d ago
Indexed

Overview

This is a Model Context Protocol server that enables LLMs to interact with NetBox network infrastructure data in a read-only manner. It provides three main tools: retrieving objects by type, getting details by ID, and accessing change logs. The server is designed with simplicity in mind, being easy to set up and hard to misuse. It supports both stdio and HTTP transport protocols and can be used with Claude Desktop or Claude Code. The project is actively maintained with recent commits and clear documentation.

Try asking AI

After installing, here are 3 things you can ask your AI assistant:

you:Query network device information and status through natural language
you:Analyze IP address allocation and utilization across your infrastructure
you:Retrieve change history and audit trails for network configuration modifications

When to choose this

Choose this if you're already using NetBox for network infrastructure management and want LLMs to query your network data without writing custom integration code.

When NOT to choose this

Don't choose this if you need write access to NetBox, require advanced GraphQL features, or have complex authentication needs beyond API tokens.

Tools this server exposes

3 tools extracted from the README
  • get_objects

    Retrieves NetBox core objects based on their type and filters

  • get_object_by_id

    Gets detailed information about a specific NetBox object by its ID

  • get_changelogs

    Retrieves change history records (audit trail) based on filters

Comparable tools

mcp-netbox-apinautobot-mcpnetbox-api-client

Installation

Installation

  1. Create a read-only API token in NetBox with appropriate permissions
  2. Install dependencies:

```bash # Using UV (recommended) uv sync

# Or using pip pip install -e . ```

  1. Run the server:

``bash NETBOX_URL=https://netbox.example.com/ NETBOX_TOKEN=<your-api-token> uv run netbox-mcp-server ``

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
    "mcpServers": {
        "netbox": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/netbox-mcp-server",
                "run",
                "netbox-mcp-server"
            ],
            "env": {
                "NETBOX_URL": "https://netbox.example.com/",
                "NETBOX_TOKEN": "<your-api-token>"
            }
        }
    }
}

Compare netbox-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.