ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

S2 Netbox MCP

โดย J-MaFfรุ่น 0.3.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.J-MaFf/s2-netbox-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: NETBOX_BASE_URL, NETBOX_USERNAME, NETBOX_PASSWORD

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: NETBOX_BASE_URL, NETBOX_USERNAME, NETBOX_PASSWORD, NETBOX_ENABLE_WRITES, NETBOX_ENABLE_DESTRUCTIVE

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "s2-netbox": {
      "command": "npx",
      "args": [
        "-y",
        "s2-netbox-mcp"
      ],
      "env": {
        "NETBOX_BASE_URL": "ใส่ค่าของคุณ",
        "NETBOX_USERNAME": "ใส่ค่าของคุณ",
        "NETBOX_PASSWORD": "ใส่ค่าของคุณ",
        "NETBOX_ENABLE_WRITES": "ใส่ค่าของคุณ",
        "NETBOX_ENABLE_DESTRUCTIVE": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add s2-netbox --env NETBOX_BASE_URL='ใส่ค่าของคุณ' --env NETBOX_USERNAME='ใส่ค่าของคุณ' --env NETBOX_PASSWORD='ใส่ค่าของคุณ' --env NETBOX_ENABLE_WRITES='ใส่ค่าของคุณ' --env NETBOX_ENABLE_DESTRUCTIVE='ใส่ค่าของคุณ' -- npx -y s2-netbox-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "s2-netbox": {
      "command": "npx",
      "args": [
        "-y",
        "s2-netbox-mcp"
      ],
      "env": {
        "NETBOX_BASE_URL": "ใส่ค่าของคุณ",
        "NETBOX_USERNAME": "ใส่ค่าของคุณ",
        "NETBOX_PASSWORD": "ใส่ค่าของคุณ",
        "NETBOX_ENABLE_WRITES": "ใส่ค่าของคุณ",
        "NETBOX_ENABLE_DESTRUCTIVE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "s2-netbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "s2-netbox-mcp"
      ],
      "env": {
        "NETBOX_BASE_URL": "ใส่ค่าของคุณ",
        "NETBOX_USERNAME": "ใส่ค่าของคุณ",
        "NETBOX_PASSWORD": "ใส่ค่าของคุณ",
        "NETBOX_ENABLE_WRITES": "ใส่ค่าของคุณ",
        "NETBOX_ENABLE_DESTRUCTIVE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • NETBOX_BASE_URL จำเป็น env
    Base URL of the S2 NetBox controller's web interface, e.g. https://netbox.example.internal (no trailing slash or path)
  • NETBOX_USERNAME จำเป็น env
    NBAPI session-login username
  • NETBOX_PASSWORD ความลับ จำเป็น env
    NBAPI session-login password
  • NETBOX_ENABLE_WRITES env
    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
    Set to true/1/yes together with NETBOX_ENABLE_WRITES to additionally register the 11 destructive (delete/remove) tools

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub J-MaFf ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32727 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 43% ของอีก 32727 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32727 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

S2 Netbox MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: NETBOX_BASE_URL, NETBOX_USERNAME, NETBOX_PASSWORD

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 2 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Foliosio

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

Foliosio

โดย foliosio.com

Read your support inbox, tag conversations and save draft replies from your AI agent. Never sends.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

s2-netbox-mcp

A local MCP server that exposes LenelS2 S2 NetBox NBAPI operations — persons/credentials, access levels, portals/readers/outputs, time specs, holidays, portal/reader groups, threat levels, events/activity, and partitions/UDF lists — as MCP tools usable from any MCP-compatible client (Claude, Gemini/Antigravity, etc.).

Not the open-source netboxlabs.com "NetBox" DCIM/IPAM tool. This targets

LenelS2's S2 NetBox physical access-control appliance and its NBAPI

(Web-Based API for S2 NetBox and S2 Global, LenelS2 doc #API-UG-14).

Newer NBAPI v1 (doc #API-UG-22, April 2024) and v2 (doc #API2-UG-8,

April 2025) guides also exist — see docs/reference/

for reference copies. Both have now been diffed against this server's tool

surface command by command and parameter by parameter:

docs/reference/nbapi-command-diff.md

records the result, including which documented commands are deliberately

not implemented and why.

[!WARNING]

This connects to a real physical security system. With the wrong

configuration, an AI agent using this server could unlock doors or modify

access-control data on a live building. It is read-only by default —

writes and destructive operations (lock/unlock, add/modify/delete) each

require their own explicit opt-in environment variable (see **Write

access** below) — but you are responsible for what you enable and which

MCP client/model you point at it. See SECURITY.md before deploying

anything beyond read-only against a production controller.

Install

Three steps, plus an optional fourth: check the requirements, install the server, register it with your MCP client, and optionally add the workflow skill. Before the first real call, also check the controller prerequisites.

Requirements
  • Node.js >= 18.17 (tested on Node 24), which includes npm. If Node.js isn't installed, on Windows you can install it with winget, then open a new terminal so node/npm are on your PATH:
  winget install OpenJS.NodeJS.LTS
  • An S2 NetBox controller reachable from wherever this server runs, with the NBAPI enabled and configured for session-login authentication (not MAC authentication — see the spec for why that's out of scope for v1)
  • A NetBox operator account with API access and read permission on the resources you want to query
Install the MCP server

Two ways to get the server:

Option A — npm (no clone needed):

npm install -g s2-netbox-mcp

This installs the s2-netbox-mcp binary; point your MCP client's command at s2-netbox-mcp directly (no node dist/index.js needed).

Option B — clone and build:

npm install

npm run build

Either way, copy .env.example to .env and fill in real values (or provide the same variables directly in your shell / in the Claude Code MCP server config's env block — see below). Never commit `.env` — it's already gitignored.

cp .env.example .env

edit .env

Keeping the password out of plaintext (1Password). NETBOX_PASSWORD may be a 1Password secret reference such as op:// / /password, both in .env and in an MCP client's env block. Launch the server (or any script that talks to the controller) under op run, which resolves the reference into a real environment variable before node starts. For an MCP client, make op run the command and the node invocation its arguments:

op run --account <account> --no-masking -- node /path/to/s2-netbox-mcp/dist/index.js

dotenv never overrides a variable that is already set, so the resolved value wins over the literal op://… text in .env. Without op run, that literal text is sent as the password and login fails with NBAPI error 5 (authentication failure).

Start the server directly to sanity-check it boots (it just waits on stdio for an MCP client — Ctrl+C to stop; this also sends Logout if a session was opened):

npm start
Registering with an MCP client

This server works with any MCP client that speaks the standard mcpServers stdio config shape — Claude Code, Antigravity, and Gemini CLI have all been verified against it directly. Which JSON to use depends on which install option you picked above:

If you installed via npm (Option A above):

{

"mcpServers": { "s2-netbox-mcp": { "command": "s2-netbox-mcp", "env": { "NETBOX_BASE_URL": "https://netbox.example.internal", "NETBOX_USERNAME": "svc-account", "NETBOX_PASSWORD": "REPLACE_ME", "NETBOX_ALLOW_INSECURE_TLS": "false" } } } }

If you cloned and built locally (Option B above):

{

"mcpServers": { "s2-netbox-mcp": { "command": "node", "args": ["/absolute/path/to/s2-netbox-mcp/dist/index.js"], "env": { "NETBOX_BASE_URL": "https://netbox.example.internal", "NETBOX_USERNAME": "svc-account", "NETBOX_PASSWORD": "REPLACE_ME", "NETBOX_ALLOW_INSECURE_TLS": "false" } } } }

Replace the args path with the actual absolute path to dist/index.js on your machine, and replace the env values with your real controller details (or omit env entirely and rely on a .env file next to the project if you prefer — either works, since src/index.ts loads .env via dotenv before reading process.env). Run npm run build first so dist/index.js exists.

Where to put that JSON depends on the client:

ClientConfig fileNotes
Claude Code.mcp.json in your project, or claude_desktop_config.jsonOr add non-interactively via claude mcp add-json s2-netbox-mcp ' '
Antigravity~/.gemini/config/mcp_config.json (Windows: %USERPROFILE%\.gemini\config\mcp_config.json)Global — applies to every Antigravity session
Gemini CLI~/.gemini/settings.json, under its own mcpServers keyOr add non-interactively via gemini mcp add s2-netbox-mcp [args] -e KEY=value

All three use the identical mcpServers object shape shown above — only the surrounding file and location differ.

Install the workflow skill (optional)

The s2-netbox-workflows Agent Skill adds step-by-step onboard, offboard, event-unlock, and badge-denied workflows on top of this server's tools. It needs the server registered above.

Install in Claude Code (plugin):

/plugin marketplace add J-MaFf/s2-netbox-mcp

/plugin install s2-netbox-workflows@s2-netbox-mcp

The plugin, in plugins/s2-netbox-workflows/, ships only the skill. It doesn't bundle or launch the MCP server, so it won't start a second server next to the one you already registered. To pick up a newer version, run claude plugin marketplace update s2-netbox-mcp, then claude plugin update s2-netbox-workflows@s2-netbox-mcp, then restart Claude Code.

Install manually (Claude Code or any agent that reads Agent Skills): copy or symlink plugins/s2-netbox-workflows/skills/s2-netbox-workflows/ into your agent's skills directory. For Claude Code that's ~/.claude/skills/ for every project, or .claude/skills/ in a single project. The skill loads on its own when a request matches it, for example "onboard Jane Doe with card 12345", "unlock the lobby Friday 8 to 5", or "why was badge 4471 denied at the dock door?".

Controller prerequisites

Before this server can talk to your controller, on the NetBox web UI go to Configuration → Site Settings → Network Controller → Data Integration and confirm all three of these are checked:

  • Enable V2
  • Use Authentication
  • Use login username/password for authentication (requires setup privilege)

The NBAPI user account also needs a role with NBAPI read access (see the NBAPI doc's "Setting Up User Roles for the API" section) — a login that succeeds but can't read the resources this server queries will surface as FAIL or APIERROR responses per tool call. If you set NETBOX_ENABLE_WRITES, that role needs Read-Write API privilege instead (Configuration → Site Settings → User Roles → API Privilege) — Read-Only suffices only for the read tools.

Troubleshooting
  • "Login succeeds but every other command returns `APIERROR 5`." This is the live-observed symptom of the *Use login username/password for authentication (requires setup privilege)* checkbox being unticked, which puts the controller in MAC-authentication mode instead of session-login mode (MAC auth is out of scope for this server — see the spec). Login still returns SUCCESS with a session ID, but every subsequent command — including Logout — fails with APIERROR 5. Fix: tick that checkbox on the *Data Integration* tab. This server's client detects this exact pattern (a successful re-login followed by another APIERROR 5) and surfaces a tool error naming the checkbox directly.
  • "HTTP 410 Gone." The configured NETBOX_API_PATH is not served by this controller. NetBox 6.x serves the NBAPI at /nbws/goforms/nbapi (the default this server uses); the 2020 doc's /goforms/nbapi path is deregistered on 6.x and returns 410 for every request. If you're on a pre-6.x controller, set NETBOX_API_PATH=/goforms/nbapi explicitly; if you're on 6.x and still see this, double-check NETBOX_API_PATH isn't set to something else by mistake.

Environment variables

VariableRequiredDefaultDescription
NETBOX_BASE_URLYes—Base URL of the NetBox controller's web interface, e.g. https://netbox.example.internal. No trailing slash or path — the client appends NETBOX_API_PATH itself.
NETBOX_USERNAMEYes—NBAPI session-login username.
NETBOX_PASSWORDYes—NBAPI session-login password. Never logged, never written to any tracked file.
NETBOX_ALLOW_INSECURE_TLSNofalseSet to true/1/yes to accept a self-signed/on-prem TLS certificate. Explicit opt-in only — any other value (including unset) keeps normal certificate verification.
NETBOX_API_PATHNo/nbws/goforms/nbapiThe NBAPI path appended to NETBOX_BASE_URL. The default is the verified path on NetBox 6.x controllers. Only set this to override the default — e.g. to the legacy, pre-6.x path /goforms/nbapi, which returns HTTP 410 Gone on 6.x controllers (see Controller prerequisites below). A value without a leading / has one added automatically.
NETBOX_ENABLE_WRITESNofalseSet to true/1/yes to register the write tools (see Write access below). Unset (or any other value) leaves the server strictly read-only.
NETBOX_ENABLE_DESTRUCTIVENofalseSet to true/1/yes, together with NETBOX_ENABLE_WRITES, to additionally register the 11 destructive tools (see Write access below).
NETBOX_EVENT_API_PATHNotracks NETBOX_API_PATHRequest path used only for trigger_event. Unset/empty tracks whatever NETBOX_API_PATH resolves to; a non-empty override is used verbatim (leading / added if missing) — e.g. the doc's pre-6.x Event API path /appd/nbapi, if your controller serves it separately.

| NETBOX_UNLOCK_HOLIDAY_GROUPS | No | 8,7,6 | The holiday groups reserved for the m

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx