NetBox MCP Server
MCP server for NetBox DCIM/IPAM with read-only and dry-run modes
NetBox MCP scores 35 (Limited), licensed MIT and written in Python. It installs as a local process. It declares 26 tools. Filed under Developer tools, AI and memory. GitHub shows 4 stars. Package registries report about 168 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
35 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
68/100 for listing completeness. Lost points: no README, 2 of 26 tools barely described, short summary.
How quality is graded
Where the 35 comes from
0 + 6 + 6 + 10 + 10 + 3 = 35. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 6 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mhajder-netbox-mcp": { "command": "uvx", "args": [ "netbox-mcp" ], "env": { "NETBOX_URL": "", "NETBOX_TOKEN": "YOUR_NETBOX_TOKEN", "NETBOX_VERIFY_SSL": "true", "NETBOX_TIMEOUT": "30", "NETBOX_USER_AGENT": "", "NETBOX_BRANCHING_ENABLED": "false", "NETBOX_BRANCH": "", "NETBOX_PLUGIN_DISCOVERY": "false", "READ_ONLY_MODE": "false", "DRY_RUN_MODE": "false", "DISABLED_TAGS": "", "LOG_LEVEL": "INFO", "RESPONSE_MAX_SIZE": "", "RATE_LIMIT_ENABLED": "false", "RATE_LIMIT_MAX_REQUESTS": "60", "RATE_LIMIT_WINDOW_MINUTES": "1", "TOOL_SEARCH_ENABLED": "false", "TOOL_SEARCH_STRATEGY": "bm25", "TOOL_SEARCH_MAX_RESULTS": "5" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
NETBOX_URL | Required | NetBox base URL (e.g., https://netbox.example.com) |
NETBOX_TOKENSecret | Required | NetBox API token: v2 (nbt_<key>.<token>, NetBox 4.5+) or legacy v1 |
NETBOX_VERIFY_SSL | Optional | Verify SSL certificates (true/false) |
NETBOX_TIMEOUT | Optional | Total time allowed for one NetBox request, retries included (seconds) |
NETBOX_USER_AGENT | Optional | Custom User-Agent header for outbound NetBox HTTP requests |
NETBOX_BRANCHING_ENABLED | Optional | Enable netbox-branching support: branch tools and the 'branch' argument (requires the netbox-branching plugin) (true/false) |
NETBOX_BRANCH | Optional | Default netbox-branching branch (name or schema ID) for every call; requires NETBOX_BRANCHING_ENABLED=true |
NETBOX_PLUGIN_DISCOVERY | Optional | Discover plugin object types from /api/core/object-types/ (true/false) |
READ_ONLY_MODE | Optional | Hide all write tools (create, update, delete) (true/false) |
DRY_RUN_MODE | Optional | Write tools only simulate changes and never modify NetBox (true/false) |
DISABLED_TAGS | Optional | Comma-separated tool tags to disable (e.g. delete,graphql,branching) |
LOG_LEVEL | Optional | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
RESPONSE_MAX_SIZE | Optional | Maximum tool response size in bytes (unset = unlimited) |
RATE_LIMIT_ENABLED | Optional | Enable rate limiting |
RATE_LIMIT_MAX_REQUESTS | Optional | Maximum requests per rate limit window |
RATE_LIMIT_WINDOW_MINUTES | Optional | Rate limit window in minutes |
TOOL_SEARCH_ENABLED | Optional | Enable FastMCP tool search transform |
TOOL_SEARCH_STRATEGY | Optional | Tool search strategy (bm25 or regex) |
TOOL_SEARCH_MAX_RESULTS | Optional | Maximum tool search results returned by search_tools |
NETBOX_URL | Required | NetBox base URL (e.g., https://netbox.example.com) |
NETBOX_TOKENSecret | Required | NetBox API token: v2 (nbt_<key>.<token>, NetBox 4.5+) or legacy v1 |
NETBOX_VERIFY_SSL | Optional | Verify SSL certificates (true/false) |
NETBOX_TIMEOUT | Optional | Total time allowed for one NetBox request, retries included (seconds) |
NETBOX_USER_AGENT | Optional | Custom User-Agent header for outbound NetBox HTTP requests |
NETBOX_BRANCHING_ENABLED | Optional | Enable netbox-branching support: branch tools and the 'branch' argument (requires the netbox-branching plugin) (true/false) |
NETBOX_BRANCH | Optional | Default netbox-branching branch (name or schema ID) for every call; requires NETBOX_BRANCHING_ENABLED=true |
NETBOX_PLUGIN_DISCOVERY | Optional | Discover plugin object types from /api/core/object-types/ (true/false) |
READ_ONLY_MODE | Optional | Hide all write tools (create, update, delete) (true/false) |
DRY_RUN_MODE | Optional | Write tools only simulate changes and never modify NetBox (true/false) |
DISABLED_TAGS | Optional | Comma-separated tool tags to disable (e.g. delete,graphql,branching) |
LOG_LEVEL | Optional | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
RESPONSE_MAX_SIZE | Optional | Maximum tool response size in bytes (unset = unlimited) |
RATE_LIMIT_ENABLED | Optional | Enable rate limiting |
RATE_LIMIT_MAX_REQUESTS | Optional | Maximum requests per rate limit window |
RATE_LIMIT_WINDOW_MINUTES | Optional | Rate limit window in minutes |
TOOL_SEARCH_ENABLED | Optional | Enable FastMCP tool search transform |
TOOL_SEARCH_STRATEGY | Optional | Tool search strategy (bm25 or regex) |
TOOL_SEARCH_MAX_RESULTS | Optional | Maximum tool search results returned by search_tools |
MCP_HTTP_PORT | Optional | Port for HTTP server (default: 8000) |
MCP_TRANSPORT | Optional | MCP transport type: stdio, sse, or http (alias: streamable-http) |
NETBOX_URL | Required | NetBox base URL (e.g., https://netbox.example.com) |
NETBOX_TOKENSecret | Required | NetBox API token: v2 (nbt_<key>.<token>, NetBox 4.5+) or legacy v1 |
NETBOX_VERIFY_SSL | Optional | Verify SSL certificates (true/false) |
NETBOX_TIMEOUT | Optional | Total time allowed for one NetBox request, retries included (seconds) |
NETBOX_USER_AGENT | Optional | Custom User-Agent header for outbound NetBox HTTP requests |
NETBOX_BRANCHING_ENABLED | Optional | Enable netbox-branching support: branch tools and the 'branch' argument (requires the netbox-branching plugin) (true/false) |
NETBOX_BRANCH | Optional | Default netbox-branching branch (name or schema ID) for every call; requires NETBOX_BRANCHING_ENABLED=true |
NETBOX_PLUGIN_DISCOVERY | Optional | Discover plugin object types from /api/core/object-types/ (true/false) |
READ_ONLY_MODE | Optional | Hide all write tools (create, update, delete) (true/false) |
DRY_RUN_MODE | Optional | Write tools only simulate changes and never modify NetBox (true/false) |
DISABLED_TAGS | Optional | Comma-separated tool tags to disable (e.g. delete,graphql,branching) |
LOG_LEVEL | Optional | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
RESPONSE_MAX_SIZE | Optional | Maximum tool response size in bytes (unset = unlimited) |
RATE_LIMIT_ENABLED | Optional | Enable rate limiting |
RATE_LIMIT_MAX_REQUESTS | Optional | Maximum requests per rate limit window |
RATE_LIMIT_WINDOW_MINUTES | Optional | Rate limit window in minutes |
TOOL_SEARCH_ENABLED | Optional | Enable FastMCP tool search transform |
TOOL_SEARCH_STRATEGY | Optional | Tool search strategy (bm25 or regex) |
TOOL_SEARCH_MAX_RESULTS | Optional | Maximum tool search results returned by search_tools |
MCP_HTTP_PORT | Optional | Port for HTTP server (default: 8000) |
Tools26Tool docs quality grade C
All capabilitiescall_tooltoolExecutes any discovered tool by name
Allocate the next free IP, prefix, VLAN or ASN
Create up to 500 objects in one transaction
Delete up to 500 objects in one transaction (destructiveHint)
Update up to 500 objects in one transaction
Cable ports together, given by ID or by device and port name; refuses ports that are already cabled
Create a netbox-branching branch (only with NETBOXBRANCHINGENABLED=true)
Create one object
Delete one object (destructiveHint)
Writable fields of a type: data type, required, choices
Racks in a site, location or list with room for a device of a given height (counts both faces for full-depth devices, and reservations)
Free IPs / prefixes in a prefix or IP range, VLANs in a VLAN group, ASNs in an ASN range
About
MCP server for NetBox DCIM/IPAM management
Frequently asked questions
What is NetBox MCP Server?
MCP server for NetBox DCIM/IPAM with read-only and dry-run modes
How do I install NetBox MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. NetBox MCP Server runs locally from the PyPI package netbox-mcp with the command uvx netbox-mcp.
Is NetBox MCP Server free and open source?
Yes. NetBox MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
What tools does NetBox MCP Server provide?
NetBox MCP Server provides 26 tools, including call_tool, netbox_allocate_available, netbox_bulk_create_objects, and netbox_bulk_delete_objects. See the full tool list for descriptions and parameters.
How is NetBox MCP Server's trust score calculated?
NetBox MCP Server scores 35 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.