Skip to content
← All MCP servers

Is the NetBox MCP server safe? What it can reach

What the NetBox MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

NetBox Labs maintains this MCP server. It runs locally over stdio by default, with an optional HTTP mode, and signs in with a NetBox API token. The project describes it as read-only, with four tools for querying objects and changelogs. Use a read-only NetBox token as the real limit.

Who maintains it

ImplementationKindStatus
netboxlabs/netbox-mcp-serverOfficialactive

It runs as a local process on your machine.

How it signs in

A NetBox API token set in NETBOX_TOKEN. The server queries NetBox with that token’s rights. In HTTP mode, MCP_AUTH_TOKEN sets a bearer token for clients, and TOKEN_PASSTHROUGH lets each client send its own NetBox token.

What its tools can do

KindTools
Readnetbox_get_objects, netbox_get_object_by_id, netbox_get_changelogs, netbox_search_objects
Writenone documented
Can’t be undonenone documented

All four tools are queries. The README recommends a read-only NetBox token, so the token is what enforces that.

Built-in limits

OptionWhat it does
Read-only NetBox API tokenRecommended in the README. NetBox enforces it, whatever the server does.
MCP_AUTH_TOKENBearer token for the HTTP endpoint. Without it, the HTTP endpoint has no authentication.
TOKEN_PASSTHROUGHDefault false. When true, each client uses its own NetBox token so NetBox applies that user’s permissions.
HOSTHTTP mode binds to 127.0.0.1 by default.
VERIFY_SSLDefault true. Turning it off weakens the TLS check on the NetBox connection.
ENABLE_PLUGIN_DISCOVERYDefault false. Plugin object types are off until you turn it on.

The risks

  • A NetBox token can see your device, IP, circuit and tenant inventory, so an injected instruction can pull a map of your network into the conversation.
  • netbox_get_changelogs shows who changed what and when, which exposes staff names and change history.
  • In HTTP mode with no MCP_AUTH_TOKEN, anyone who can reach the port can query NetBox with the server’s token.
  • If you give the server a read-write token, the README’s read-only design doesn’t stop NetBox from accepting writes elsewhere with that token.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --env NETBOX_URL=... --env NETBOX_TOKEN=... netbox -- uvx netbox-mcp-server

Claude Code names MCP tools mcp__netbox__<tool>. Once you know the tool names, deny the ones you won’t use and set the rest to ask in .claude/settings.json.

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.netbox]
command = "uvx"
args = ["netbox-mcp-server"]
env_vars = ["NETBOX_URL", "NETBOX_TOKEN"]

Checklist

  • Create a NetBox token with read-only permissions for this server.
  • Keep VERIFY_SSL at its default of true.
  • Set MCP_AUTH_TOKEN if you run HTTP mode, and keep HOST on 127.0.0.1.
  • Leave ENABLE_PLUGIN_DISCOVERY off unless you need plugin objects.

Checked against the vendor documentation on November 25, 2026. netboxlabs/netbox-mcp-server README · README (raw)

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing