netbox-mcp-server: Instructions file for Codex

AGENTS.md

netbox-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from ZenixSolutions/netbox-mcp-server. It costs 12,052 tokens per session, scanned C, original, MIT.

An installation guide for NetBox MCP Server, a connector that lets an AI assistant work with a NetBox network-inventory system. It gives Mac installation steps and describes the server's tools.

In plain words
What is it for?
Use it when asking an AI assistant to install this NetBox connector on a Mac.
Why use it?
Installing an MCP server can involve several steps and configuration details. The guide provides a fixed runbook and distinguishes verified results from steps requiring a live NetBox instance.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; reads ~/.codex paths; mentions AGENTS.md.

This is ZenixSolutions/netbox-mcp-server's own configuration. It tells Codex and OpenCode how to work on netbox-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything netbox-mcp-server configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/alice/mcp-servers/netbox-mcp-server.

Reuse

Borrowing it

Nothing to install: this file belongs to ZenixSolutions/netbox-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ZenixSolutions/netbox-mcp-server/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ZenixSolutions/netbox-mcp-server

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for netbox-mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zenixsolutions/netbox-mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/zenixsolutions/netbox-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/zenixsolutions/netbox-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/zenixsolutions/netbox-mcp-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for netbox-mcp-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zenixsolutions/netbox-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/zenixsolutions/netbox-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,052 This file is loaded in full into every session.
When invoked 12,052 The same file — it is already loaded in full.
Security scan C 4 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.12052 $0.12052
Opus 5.5 $0.04821 $0.04821
Sonnet 5.5 $0.02410 $0.02410
Haiku 4.5 $0.01205 $0.01205

Measured 2mo ago against content hash 3886ed869012, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

netbox-mcp-server AGENTS.md scanned grade C with 4 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

6. **Never tell the user the server restricts writes.** It does not. If they want an

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| `npm ci` fails with `EACCES` | A previous `sudo npm` left root-owned files in the npm cache | **Stop and hand this to the user** — it needs root, which you must not use. Tell them to run `sudo chown -R "$(whoami)" ~/.n

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Config path: `~/.codex/config.toml`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/brew/HEAD/install.sh)"
AGENTS.md · 991 lines

How it starts

The opening of the file, as written. The whole thing — 991 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Installation runbook for AI assistants

You are an AI assistant (ChatGPT, Codex, Claude, Cursor, Gemini, or similar) helping a person install this MCP server on their Mac. This file is your instruction set. Follow it top to bottom. Do not improvise alternative install methods.

If you are a human reading this, use README.md instead — it says the same things in fewer words.

Every command output quoted in this file was captured by running that command against version 0.2.0. Where a step needs a live NetBox instance and therefore could not be run, the file says so explicitly instead of asserting an output. Do not treat a "cannot be verified here" note as permission to guess at the result — report what you actually see.


Handing this to an AI assistant

Paste this into ChatGPT, Claude, or any assistant that can browse and run commands:

Read https://raw.githubusercontent.com/ZenixSolutions/netbox-mcp-server/main/AGENTS.md and follow it to install the NetBox MCP server on my Mac.

The repository is public, so the assistant can fetch that URL directly — no GitHub account, no auth, no copy-pasting this file around.

If your assistant cannot browse the web but can run shell commands, have it clone the repo first (section 4B) and read AGENTS.md from disk.


0. What you are installing

netbox-mcp-server is a Model Context Protocol (MCP) server written in TypeScript. It exposes a NetBox instance (the network / datacenter source of truth) to an AI assistant as callable tools.

It runs locally on the user's Mac as a subprocess of their AI client, over stdio. It is not a hosted service, there is no login page, and nothing is deployed anywhere.

Facts you may need:

Property Value
Version documented 0.2.0
Language / runtime TypeScript compiled to ESM JavaScript, Node.js >= 20.11
npm package @zenixsolutions/netbox-mcp, binary name netbox-mcp
Normal install npx -y @zenixsolutions/netbox-mcp — no clone, no build
Transport stdio only
Required env vars NETBOX_URL, NETBOX_TOKEN
Optional env vars NETBOX_INSECURE — and nothing else
Tools registered 5, always — see below

Read the full file on GitHub · 991 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 991 lines · 12,052 tokens per session scan C 3886ed869012

Subscribe to this mod's changes

netbox-mcp-server AGENTS.md is an instructions file published in the GitHub repository ZenixSolutions/netbox-mcp-server (1 stars, last pushed 2mo ago), licensed MIT. It adds 12,052 tokens to every session, about $0.0482 per session on Opus 5.5. A static security scan graded it C with 4 findings (subtle steering, asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

netbox-mcp-server AGENTS.md compared with instructions from other repositories

netbox-mcp-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
netbox-mcp-server AGENTS.mdZenixSolutions/netbox-mcp-serverInstructions file12mo agoMITC12,052Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot