netbox-rack-design-mcp

v0.1.0
netbox-rack-design-mcp Checked 3 days ago Published 1 month ago

Read-only MCP server for the netbox-rack-design plugin: execution plan, simulation and smart-hands work orders for Claude.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_designs

List rack designs. Read-only. site: site slug to filter by (for example "ams1"). status: design status (for example "draft", "approved", "implemented").

ParameterTypeDescription
site
status

get_design

Get one design with all its fields. Read-only.

ParameterTypeDescription
design_id *integer

get_execution_plan

Get a design's execution plan as a COMPACT SUMMARY: per step its index, title and actions (kind, device, from/to rack and U), plus the simulated power of each touched rack (draw_w, capacity_w, util_pct, state), only the PDU banks that are warn/critical/overload (hot_banks), and the problems found (code, severity, detail). Raw distribution and per-outlet data are left out. Call it with detail=true ONLY when you need the full simulation payload (every bank and outlet); that answer is very large (>100k characters). For a technician ticket use get_work_order instead. Read-only. This tool makes one…

ParameterTypeDescription
design_id *integer
detailboolean

get_work_order

Get the work order of a design: every step (or only `step`) with its actions in the safe order. Per action: kind (add/move/remove), device name, type, U height, full-depth flag, serial, asset tag, from and to (site, location, rack, U, face), power cabling (power_from: the PDU outlets the device leaves; power_to: the PDU and bank it plugs into on the target rack, outlet "any free outlet" unless cabled), the target status afterwards and a NetBox link; per step: its index, total_steps (say "Step 1 of 7", never "1 of 1", even when you ask for one step), the power headroom per rack and the problems…

ParameterTypeDescription
design_id *integer
step

simulate_order

What-if: simulate a PROPOSED order of placements without saving it. steps is a list of steps, each a list of placement ids (blades are not listed, they follow their chassis). Returns a COMPACT SUMMARY per step: actions, per touched rack draw_w/capacity_w/util_pct/state, only the warn/critical/overload banks (hot_banks) and problems (rack_over, bank_over, u_conflict, unpowered ...). Pass detail=true ONLY when you need the raw simulation (every bank and outlet; >100k characters). This is a POST, but it only computes a result: it changes nothing in NetBox.

ParameterTypeDescription
design_id *integer
steps *array
detailboolean