NE

NetBox MCP Server

Published by mhajder

MCP server for NetBox DCIM/IPAM with read-only and dry-run modes

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.4.0
SOURCE CHECKED
Dec 1, 2026

Quick answers

How do I add NetBox MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'NETBOX_URL=<your-netbox-url>' --env 'NETBOX_TOKEN=<your-netbox-token>' --transport stdio netbox -- uvx netbox-mcp

Replace the <your-…> placeholder with your own NETBOX_URL and NETBOX_TOKEN.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "netbox": {
      "command": "uvx",
      "args": [
        "netbox-mcp"
      ],
      "env": {
        "NETBOX_URL": "<your-netbox-url>",
        "NETBOX_TOKEN": "<your-netbox-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own NETBOX_URL and NETBOX_TOKEN.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add netbox --env 'NETBOX_URL=<your-netbox-url>' --env 'NETBOX_TOKEN=<your-netbox-token>' -- uvx netbox-mcp

Replace the <your-…> placeholder with your own NETBOX_URL and NETBOX_TOKEN.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "netbox": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "netbox-mcp"
      ],
      "env": {
        "NETBOX_URL": "<your-netbox-url>",
        "NETBOX_TOKEN": "<your-netbox-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own NETBOX_URL and NETBOX_TOKEN.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "netbox": {
      "command": "uvx",
      "args": [
        "netbox-mcp"
      ],
      "env": {
        "NETBOX_URL": "<your-netbox-url>",
        "NETBOX_TOKEN": "<your-netbox-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own NETBOX_URL and NETBOX_TOKEN.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use NetBox MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does NetBox MCP Server need an API key?

To run it on your computer, set NETBOX_URL and NETBOX_TOKEN first, with values from the publisher.

Is NetBox MCP Server official?

It's published by mhajder. The Official MCP Registry accepts names under io.github.mhajder only from the GitHub account or organisation mhajder. We last checked its listing on Dec 1, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

pypi · netbox-mcp@0.4.0
pypi · netbox-mcp@0.4.0
oci · ghcr.io/mhajder/netbox-mcp:0.4.0
View source repository