Skip to main content
Glama
mhajder

NetBox MCP Server

by mhajder

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level for the server.INFO
NETBOX_URLYesThe base URL of the NetBox instance, e.g. https://netbox.example.com
SENTRY_DSNNoSentry DSN for error tracking and performance monitoring. Leave unset to disable Sentry.
DRY_RUN_MODENoSet to true to make every write tool only simulate the change and never modify NetBox.false
NETBOX_TOKENYesNetBox API token. v2 tokens (nbt_<key>.<token>, NetBox 4.5+) are sent as Bearer; legacy v1 tokens as Token.
SSL_CERT_DIRNoPath to a custom CA certificate directory. Takes precedence over OS trust store when set.
DISABLED_TAGSNoComma-separated list of tool tags to disable, e.g. delete,graphql,branching.
MCP_HTTP_HOSTNoHost to bind the HTTP server when using SSE or HTTP transport.127.0.0.1
MCP_HTTP_PORTNoPort to bind the HTTP server when using SSE or HTTP transport.8000
MCP_TRANSPORTNoMCP transport type: stdio, sse, or http.stdio
NETBOX_BRANCHNoDefault branch name or schema ID used by every call; empty means main. Requires NETBOX_BRANCHING_ENABLED=true.
SSL_CERT_FILENoPath to a custom CA certificate file. Takes precedence over OS trust store when set.
NETBOX_TIMEOUTNoTotal time allowed for one NetBox request, retries included (seconds).30
READ_ONLY_MODENoSet to true to hide all write tools (create, update, delete).false
SENTRY_RELEASENoSentry release version. Auto-detected from package if not set.
NETBOX_VERIFY_SSLNoEnable or disable SSL certificate verification for NetBox requests.true
RESPONSE_MAX_SIZENoMaximum tool response size in bytes; larger responses are truncated. Empty means unlimited.
RATE_LIMIT_ENABLEDNoSet to true to enable rate limiting.false
SENTRY_ENABLE_LOGSNoEnable log capture as Sentry breadcrumbs and events.true
SENTRY_ENVIRONMENTNoSentry environment name, e.g. production or staging.
TOOL_SEARCH_ENABLEDNoSet to true to replace full tool listings with search_tools + call_tool.false
TOOL_SEARCH_STRATEGYNoSearch strategy: bm25 (natural language) or regex (pattern match).bm25
MCP_HTTP_BEARER_TOKENNoOptional bearer token for HTTP transport authentication. Leave empty for no auth.
NETBOX_PLUGIN_DISCOVERYNoSet to true to expose plugin models (e.g. netbox_dns.zone) via object type discovery.false
RATE_LIMIT_MAX_REQUESTSNoMaximum requests allowed per rate limit window.60
SENTRY_SEND_DEFAULT_PIINoInclude personally identifiable information in Sentry events.true
TOOL_SEARCH_MAX_RESULTSNoMaximum number of tools returned by search_tools.5
NETBOX_BRANCHING_ENABLEDNoSet to true to enable netbox-branching plugin support and branch tools/arguments.false
SENTRY_PROFILE_LIFECYCLENoSentry profiling lifecycle mode: all, continuation, or trace.trace
RATE_LIMIT_WINDOW_MINUTESNoRate limit window size in minutes.1
SENTRY_TRACES_SAMPLE_RATENoSentry performance monitoring sample rate (0.0-1.0).1.0
SENTRY_PROFILE_SESSION_SAMPLE_RATENoSentry continuous profiling sample rate (0.0-1.0).1.0

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources