Skip to main content

S2 Netbox MCP

io.github.J-MaFf/s2-netbox-mcp

v0.3.0Updated Sep 16, 2026stdio · npm

MCP server for LenelS2 S2 NetBox access control via the NBAPI. Read-only by default.

Install

Needs 1 secret. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add s2-netbox-mcp -e 'NETBOX_BASE_URL=<your-netbox-base-url>' -e 'NETBOX_USERNAME=<your-netbox-username>' -e 'NETBOX_PASSWORD=<your-netbox-password>' -- npx -y [email protected]

Configuration

5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • NETBOX_PASSWORD
    Env var· required· secret
    NBAPI session-login password
  • NETBOX_BASE_URL
    Env var· required
    Base URL of the S2 NetBox controller's web interface, e.g. https://netbox.example.internal (no trailing slash or path)
  • NETBOX_USERNAME
    Env var· required
    NBAPI session-login username
  • NETBOX_ENABLE_WRITES
    Env var· optional
    Set to true/1/yes to register the write tools (lock/unlock, add/modify/delete). Unset keeps the server strictly read-only.
  • NETBOX_ENABLE_DESTRUCTIVE
    Env var· optional
    Set to true/1/yes together with NETBOX_ENABLE_WRITES to additionally register the 11 destructive (delete/remove) tools

Listed in the official MCP Registry since Sep 16, 2026. Mirrored daily; last checked Nov 26, 2026.