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

NetBox MCP

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

ติดตั้ง

ภาพรวม

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

MCP server for NetBox DCIM/IPAM with read-only and dry-run modes

สามเสาของ PopNx MCP

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

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

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

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

ติดตั้ง

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

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: NETBOX_URL, NETBOX_TOKEN, NETBOX_VERIFY_SSL, NETBOX_TIMEOUT, NETBOX_BRANCHING_ENABLED, NETBOX_BRANCH, NETBOX_PLUGIN_DISCOVERY, READ_ONLY_MODE, DRY_RUN_MODE, DISABLED_TAGS, LOG_LEVEL, RESPONSE_MAX_SIZE, RATE_LIMIT_ENABLED, RATE_LIMIT_MAX_REQUESTS, RATE_LIMIT_WINDOW_MINUTES, TOOL_SEARCH_ENABLED, TOOL_SEARCH_STRATEGY, TOOL_SEARCH_MAX_RESULTS

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

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

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

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

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

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

{
  "mcpServers": {
    "netbox": {
      "command": "uvx",
      "args": [
        "netbox-mcp"
      ],
      "env": {
        "NETBOX_URL": "ใส่ค่าของคุณ",
        "NETBOX_TOKEN": "ใส่ค่าของคุณ",
        "NETBOX_VERIFY_SSL": "ใส่ค่าของคุณ",
        "NETBOX_TIMEOUT": "ใส่ค่าของคุณ",
        "NETBOX_BRANCHING_ENABLED": "ใส่ค่าของคุณ",
        "NETBOX_BRANCH": "ใส่ค่าของคุณ",
        "NETBOX_PLUGIN_DISCOVERY": "ใส่ค่าของคุณ",
        "READ_ONLY_MODE": "ใส่ค่าของคุณ",
        "DRY_RUN_MODE": "ใส่ค่าของคุณ",
        "DISABLED_TAGS": "ใส่ค่าของคุณ",
        "LOG_LEVEL": "ใส่ค่าของคุณ",
        "RESPONSE_MAX_SIZE": "ใส่ค่าของคุณ",
        "RATE_LIMIT_ENABLED": "ใส่ค่าของคุณ",
        "RATE_LIMIT_MAX_REQUESTS": "ใส่ค่าของคุณ",
        "RATE_LIMIT_WINDOW_MINUTES": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_ENABLED": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_STRATEGY": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_MAX_RESULTS": "ใส่ค่าของคุณ"
      }
    }
  }
}

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

claude mcp add netbox --env NETBOX_URL='ใส่ค่าของคุณ' --env NETBOX_TOKEN='ใส่ค่าของคุณ' --env NETBOX_VERIFY_SSL='ใส่ค่าของคุณ' --env NETBOX_TIMEOUT='ใส่ค่าของคุณ' --env NETBOX_BRANCHING_ENABLED='ใส่ค่าของคุณ' --env NETBOX_BRANCH='ใส่ค่าของคุณ' --env NETBOX_PLUGIN_DISCOVERY='ใส่ค่าของคุณ' --env READ_ONLY_MODE='ใส่ค่าของคุณ' --env DRY_RUN_MODE='ใส่ค่าของคุณ' --env DISABLED_TAGS='ใส่ค่าของคุณ' --env LOG_LEVEL='ใส่ค่าของคุณ' --env RESPONSE_MAX_SIZE='ใส่ค่าของคุณ' --env RATE_LIMIT_ENABLED='ใส่ค่าของคุณ' --env RATE_LIMIT_MAX_REQUESTS='ใส่ค่าของคุณ' --env RATE_LIMIT_WINDOW_MINUTES='ใส่ค่าของคุณ' --env TOOL_SEARCH_ENABLED='ใส่ค่าของคุณ' --env TOOL_SEARCH_STRATEGY='ใส่ค่าของคุณ' --env TOOL_SEARCH_MAX_RESULTS='ใส่ค่าของคุณ' -- uvx netbox-mcp

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

เปิดใน Cursor

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

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

{
  "mcpServers": {
    "netbox": {
      "command": "uvx",
      "args": [
        "netbox-mcp"
      ],
      "env": {
        "NETBOX_URL": "ใส่ค่าของคุณ",
        "NETBOX_TOKEN": "ใส่ค่าของคุณ",
        "NETBOX_VERIFY_SSL": "ใส่ค่าของคุณ",
        "NETBOX_TIMEOUT": "ใส่ค่าของคุณ",
        "NETBOX_BRANCHING_ENABLED": "ใส่ค่าของคุณ",
        "NETBOX_BRANCH": "ใส่ค่าของคุณ",
        "NETBOX_PLUGIN_DISCOVERY": "ใส่ค่าของคุณ",
        "READ_ONLY_MODE": "ใส่ค่าของคุณ",
        "DRY_RUN_MODE": "ใส่ค่าของคุณ",
        "DISABLED_TAGS": "ใส่ค่าของคุณ",
        "LOG_LEVEL": "ใส่ค่าของคุณ",
        "RESPONSE_MAX_SIZE": "ใส่ค่าของคุณ",
        "RATE_LIMIT_ENABLED": "ใส่ค่าของคุณ",
        "RATE_LIMIT_MAX_REQUESTS": "ใส่ค่าของคุณ",
        "RATE_LIMIT_WINDOW_MINUTES": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_ENABLED": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_STRATEGY": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_MAX_RESULTS": "ใส่ค่าของคุณ"
      }
    }
  }
}

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

เปิดใน VS Code

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

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

{
  "servers": {
    "netbox": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "netbox-mcp"
      ],
      "env": {
        "NETBOX_URL": "ใส่ค่าของคุณ",
        "NETBOX_TOKEN": "ใส่ค่าของคุณ",
        "NETBOX_VERIFY_SSL": "ใส่ค่าของคุณ",
        "NETBOX_TIMEOUT": "ใส่ค่าของคุณ",
        "NETBOX_BRANCHING_ENABLED": "ใส่ค่าของคุณ",
        "NETBOX_BRANCH": "ใส่ค่าของคุณ",
        "NETBOX_PLUGIN_DISCOVERY": "ใส่ค่าของคุณ",
        "READ_ONLY_MODE": "ใส่ค่าของคุณ",
        "DRY_RUN_MODE": "ใส่ค่าของคุณ",
        "DISABLED_TAGS": "ใส่ค่าของคุณ",
        "LOG_LEVEL": "ใส่ค่าของคุณ",
        "RESPONSE_MAX_SIZE": "ใส่ค่าของคุณ",
        "RATE_LIMIT_ENABLED": "ใส่ค่าของคุณ",
        "RATE_LIMIT_MAX_REQUESTS": "ใส่ค่าของคุณ",
        "RATE_LIMIT_WINDOW_MINUTES": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_ENABLED": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_STRATEGY": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_MAX_RESULTS": "ใส่ค่าของคุณ"
      }
    }
  }
}

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

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

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

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

  • NETBOX_URL จำเป็น env
    NetBox base URL (e.g., https://netbox.example.com)
  • NETBOX_TOKEN ความลับ จำเป็น env
    NetBox API token: v2 (nbt_ . , NetBox 4.5+) or legacy v1
  • NETBOX_VERIFY_SSL env
    Verify SSL certificates (true/false)
  • NETBOX_TIMEOUT env
    Total time allowed for one NetBox request, retries included (seconds)
  • NETBOX_BRANCHING_ENABLED env
    Enable netbox-branching support: branch tools and the 'branch' argument (requires the netbox-branching plugin) (true/false)
  • NETBOX_BRANCH env
    Default netbox-branching branch (name or schema ID) for every call; requires NETBOX_BRANCHING_ENABLED=true
  • NETBOX_PLUGIN_DISCOVERY env
    Discover plugin object types from /api/core/object-types/ (true/false)
  • READ_ONLY_MODE env
    Hide all write tools (create, update, delete) (true/false)
  • DRY_RUN_MODE env
    Write tools only simulate changes and never modify NetBox (true/false)
  • DISABLED_TAGS env
    Comma-separated tool tags to disable (e.g. delete,graphql,branching)
  • LOG_LEVEL env
    Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
  • RESPONSE_MAX_SIZE env
    Maximum tool response size in bytes (unset = unlimited)
  • RATE_LIMIT_ENABLED env
    Enable rate limiting
  • RATE_LIMIT_MAX_REQUESTS env
    Maximum requests per rate limit window
  • RATE_LIMIT_WINDOW_MINUTES env
    Rate limit window in minutes
  • TOOL_SEARCH_ENABLED env
    Enable FastMCP tool search transform
  • TOOL_SEARCH_STRATEGY env
    Tool search strategy (bm25 or regex)
  • TOOL_SEARCH_MAX_RESULTS env
    Maximum tool search results returned by search_tools

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

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

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

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

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

  • ✓ ผ่าน

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

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

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

    ยังมีคนดูแล

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

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

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

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

  • – ไม่เกี่ยว

    endpoint ตอบ

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

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

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

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

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

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

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

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

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

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

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

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

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

ต้องใส่ค่าเหล่านี้: NETBOX_URL, NETBOX_TOKEN

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

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

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

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.1) เข้า registry 14 วันที่ผ่านมา

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

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

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

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

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

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อัปเดต เมื่อวานซืน
ติดตั้ง

EmbeddedCI BenchPod

โดย embeddedci-com

Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

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

NetBox MCP Server

Give AI agents structured access to NetBox, your network source of truth

Installation · Tools · Configuration · Security

NetBox MCP Server is a Python-based Model Context Protocol (MCP) server that gives AI assistants structured access to NetBox - the source of truth for network infrastructure (DCIM and IPAM). A small set of generic tools covers all 139 core object types of NetBox 4.7 (and plugin types, if enabled), plus specialised tools for search, change logs, GraphQL, free IP/prefix/VLAN allocation, prefix utilization, free rack space, cable tracing and connecting, config rendering, custom scripts and (optionally) netbox-branching. Writes can be hidden entirely (read-only mode) or simulated (dry-run mode).

✨ Features

Core Features
  • Query any NetBox object type with filtering, ordering and pagination through one tool
  • Keep responses small with fields, omit and brief - the tools steer the model to use them
  • Search many object types at once, with explicit reporting of failed and truncated types
  • Read the change log (who changed what, when) and NetBox status/version/plugins
  • Run read-only GraphQL queries for nested data in one round trip
  • List free IPs, prefixes, VLANs and ASNs; trace cable paths; render device configs
  • Compute prefix utilization (as the NetBox UI shows it) and find racks with room for a device
Management Operations
  • Create, update and delete any object type, singly or in bulk (NetBox runs a bulk write as one transaction)
  • Allocate the next free IP, prefix, VLAN or ASN atomically
  • Connect ports with a cable, naming them by device and port name
  • Run NetBox custom scripts (changes rolled back unless commit is set)
  • Optionally stage changes in a netbox-branching branch instead of main
  • Describe an object type's writable fields and choices before writing
Advanced Capabilities
  • Read-only mode hides every write tool; dry-run mode turns every write into a preview
  • NetBox v2 (Bearer nbt_...) and legacy v1 (Token ...) API tokens
  • Plugin object type discovery (e.g. netbox_dns.zone)
  • Filter validation that rejects filters NetBox would silently ignore (__in, multi-hop lookups)
  • Retries on 429/5xx without ever replaying a create after a server error
  • Tag-based tool filtering, optional tool-search transform, rate limiting and response size limit
  • Bearer token authentication for HTTP transport
  • Multiple transport options (STDIO, SSE, HTTP)
  • Optional Sentry integration for error tracking

🚀 Installation

Prerequisites
  • Python 3.11 to 3.15
  • A NetBox instance, version 4.2 or newer. Features added later (omit, v2 tokens, /api/authentication-check/) are used when the server detects them
  • A NetBox API token with the permissions you want the assistant to have. The token is the real security boundary: a read-only token cannot write, whatever this server's settings are
Quick Install from PyPI

The easiest way to get started is to install from PyPI:

# Using UV (recommended)

uvx netbox-mcp

Or using pip

pip install netbox-mcp

Remember to configure the environment variables for your NetBox instance before running the server:

# Create environment configuration

export NETBOX_URL=https://netbox.example.com export NETBOX_TOKEN=nbt_your-key.your-token

Install from Source
  1. Clone the repository:
git clone https://github.com/mhajder/netbox-mcp.git

cd netbox-mcp

  1. Install dependencies:
# Using UV (recommended)

uv sync

Or using pip

pip install -e .

  1. Configure environment variables:
cp .env.example .env

Edit .env with your NetBox URL and API token

  1. Run the server:
# Using UV (recommended)

uv run netbox-mcp

Or using the installed command directly

netbox-mcp

Using Docker

A Docker image is available on GitHub Packages for easy deployment.

docker pull ghcr.io/mhajder/netbox-mcp:latest
Development Setup

For development with additional tools:

# Clone and install with development dependencies

git clone https://github.com/mhajder/netbox-mcp.git cd netbox-mcp uv sync --group dev

Run tests

uv run pytest

Run with coverage

uv run pytest --cov=src/

Run linting and formatting

uv run ruff check . uv run ruff format .

Run type checking

uv run ty check .

Setup prek hooks

uv run prek install

🔧 Configuration

Environment Variables
# NetBox MCP Server Environment Configuration

NetBox Connection Details

NETBOX_URL=https://netbox.example.com

API Token - v2 tokens (nbt_ . , NetBox 4.5+) are sent as "Bearer",

legacy v1 tokens as "Token"

NETBOX_TOKEN=nbt_your-key.your-token

SSL Configuration

NETBOX_VERIFY_SSL=true

Total time allowed for one NetBox request, retries included (seconds)

NETBOX_TIMEOUT=30

Branching (requires the netbox-branching plugin)

Set NETBOX_BRANCHING_ENABLED true to add the branch tools and the 'branch'

argument to every tool. Off by default - leave it off on a NetBox without the plugin

NETBOX_BRANCHING_ENABLED=false

Default branch (name or schema ID) used by every call; empty = main.

Requires NETBOX_BRANCHING_ENABLED=true

NETBOX_BRANCH=

Plugin Discovery

Set NETBOX_PLUGIN_DISCOVERY true to expose plugin models (e.g. netbox_dns.zone)

NETBOX_PLUGIN_DISCOVERY=false

Read-Only Mode

Set READ_ONLY_MODE true to hide all write tools (create, update, delete)

READ_ONLY_MODE=false

Dry-Run Mode

Set DRY_RUN_MODE true to make every write tool only simulate the change:

it returns the request it would send and never modifies NetBox

DRY_RUN_MODE=false

Disabled Tags

Comma-separated list of tags to disable tools for (empty by default)

Example: DISABLED_TAGS=delete,graphql,branching

DISABLED_TAGS=

Logging Configuration

LOG_LEVEL=INFO

Response Size Limit

Maximum tool response size in bytes; larger responses are truncated (empty = unlimited)

RESPONSE_MAX_SIZE=

Rate Limiting

Set RATE_LIMIT_ENABLED true to enable rate limiting

RATE_LIMIT_ENABLED=false RATE_LIMIT_MAX_REQUESTS=60 RATE_LIMIT_WINDOW_MINUTES=1

Tool Search Transform (Optional)

Set TOOL_SEARCH_ENABLED true to replace full tool listings with search_tools + call_tool

TOOL_SEARCH_ENABLED=false

Search strategy: bm25 (natural language) or regex (pattern match)

TOOL_SEARCH_STRATEGY=bm25

Maximum number of tools returned by search_tools

TOOL_SEARCH_MAX_RESULTS=5

Sentry Error Tracking (Optional)

Set SENTRY_DSN to enable error tracking and performance monitoring

SENTRY_DSN=https://your-key@o12345.ingest.us.sentry.io/6789

Optional Sentry configuration

SENTRY_TRACES_SAMPLE_RATE=1.0

SENTRY_SEND_DEFAULT_PII=false

SENTRY_ENVIRONMENT=production

SENTRY_RELEASE=1.2.3

SENTRY_PROFILE_SESSION_SAMPLE_RATE=1.0

SENTRY_PROFILE_LIFECYCLE=trace

SENTRY_ENABLE_LOGS=true

MCP Transport Configuration

Transport type: 'stdio' (default), 'sse' (Server-Sent Events), or 'http' (HTTP Streamable)

'streamable-http' is accepted as an alias for 'http'. Any other value stops

the server at startup.

MCP_TRANSPORT=stdio

HTTP Transport Settings (used when MCP_TRANSPORT=sse or MCP_TRANSPORT=http)

Host to bind the HTTP server (default: 127.0.0.1)

MCP_HTTP_HOST=127.0.0.1

Port to bind the HTTP server (default: 8000)

MCP_HTTP_PORT=8000

Optional bearer token for authentication (leave empty for no auth)

MCP_HTTP_BEARER_TOKEN=

Set NETBOX_TOKEN_PASSTHROUGH true to make every client authenticate with its own

NetBox API token (Authorization: Bearer ); NetBox then applies that user's

permissions. NETBOX_TOKEN is ignored. Cannot be combined with MCP_HTTP_BEARER_TOKEN

NETBOX_TOKEN_PASSTHROUGH=false

🧰 Available Tools

Object types are named app.model, as NetBox itself names them (dcim.device, ipam.prefix, virtualization.virtualmachine). API paths such as dcim/devices are accepted too. With branching enabled, every tool that reads or writes objects also takes an optional branch argument.

Objects (read)
ToolDescription
netbox_list_object_typesList supported object types and their endpoints (core and discovered plugin types)
netbox_get_objectsList objects of a type with filters, fields, omit, brief, ordering, limit, offset
netbox_get_objectGet one object by ID
netbox_search_objectsFree-text search (q) across several object types at once
netbox_describe_object_typeWritable fields of a type: data type, required, choices
netbox_get_changelogsChange log entries, newest first
Specialised (read)
ToolDescription
netbox_get_statusNetBox version, plugins, workers, authenticated user and this server's modes
netbox_graphql_queryRead-only GraphQL query (mutations are rejected)
netbox_get_availableFree IPs / prefixes in a prefix or IP range, VLANs in a VLAN group, ASNs in an ASN range
netbox_trace_cableFull cable path from an interface, front/rear/console/power port or circuit termination
netbox_render_configRender a device's or VM's configuration from its config template
netbox_get_prefix_utilizationUtilization of up to 25 prefixes, computed as NetBox's UI does (child prefixes for containers, IPs and utilized ranges otherwise)
netbox_find_rack_spaceRacks in a site, location or list with room for a device of a given height (counts both faces for full-depth devices, and reservations)
netbox_list_branchesList netbox-branching branches (only with NETBOX_BRANCHING_ENABLED=true)
Write
ToolDescription
netbox_create_objectCreate one object
netbox_update_objectPartially update one object (PATCH)
netbox_bulk_create_objectsCreate up to 500 objects in one transaction
netbox_bulk_update_objectsUpdate up to 500 objects in one transaction
netbox_allocate_availableAllocate the next free IP, prefix, VLAN or ASN
netbox_connect_cableCable ports together, given by ID or by device and port name; refuses ports that are already cabled
netbox_run_scriptRun a custom script and wait for its log and output; commit defaults to false (destructiveHint)
netbox_create_branchCreate a netbox-branching branch (only with NETBOX_BRANCHING_ENABLED=true)
netbox_delete_objectDelete one object (destructiveHint)
netbox_bulk_delete_objectsDelete up to 500 objects in one transaction (destructiveHint)
Tool Tags

Every tool is tagged netbox plus a group tag, which `DI

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

ถาม PopNx