
Enhanced NetBox MCP Server with comprehensive write operations support - create, update, and delete NetBox objects via LLMs
概览
of the official NetBox MCP Server with comprehensive write operations support. This is an enhanced Model Context Protocol server for NetBox that enables you to interact with your NetBox data directly via LLMs that support MCP. It supports both , allowing you to create, update, and delete NetBox objects through natural language prompts. This version extends the official NetBox MCP server with: - ✅ for creating, updating, and deleting NetBox objects - ✅ with optional bearer authentication for HTTP deployments - ✅ for Sites, Tenants, Tags, and VLANs - ✅ deployment without requiring .env files - ✅ support for web clients (OpenWebUI, n8n) - ✅ for any NetBox object type Based on the official netbox-mcp-server project. The server includes comprehensive write operations for managing NetBox objects. All write operations support create, update, and delete operations. Plugin object types can be discovered at startup with ENABLE_PLUGIN_DISCOVERY=true.
README
以下为原文 README 节选,完整内容请查看原文。
NetBox MCP Enhanced
Enhanced version of the official NetBox MCP Server with comprehensive write operations support.
This is an enhanced Model Context Protocol server for NetBox that enables you to interact with your NetBox data directly via LLMs that support MCP. It supports both read and write operations, allowing you to create, update, and delete NetBox objects through natural language prompts.
What’s Enhanced?
This version extends the official NetBox MCP server with:
- ✅ 72 mutation tools for creating, updating, and deleting NetBox objects
- ✅ FastMCP 3.4.7 with optional bearer authentication for HTTP deployments
- ✅ Priority support for Sites, Tenants, Tags, and VLANs
- ✅ Docker Compose deployment without requiring
.envfiles - ✅ HTTP transport support for web clients (OpenWebUI, n8n)
- ✅ Generic tools for any NetBox object type
Based on the official netbox-mcp-server project.
Tools
Read Operations
| Tool | Description |
|---|---|
netbox_get_objects |
Retrieves NetBox core objects based on their type and filters |
netbox_get_object_by_id |
Gets detailed information about a specific NetBox object by its ID |
netbox_get_changelogs |
Retrieves change history records (audit trail) based on filters |
netbox_search_objects |
Performs global search across multiple NetBox object types |
Write Operations
The server includes comprehensive write operations for managing NetBox objects. All write operations support create, update, and delete operations.
Priority Objects (Sites, Tenants, Tags, VLANs)
| Tool | Description |
|---|---|
netbox_create_site / netbox_update_site / netbox_delete_site |
Manage sites |
netbox_create_tenant / netbox_update_tenant / netbox_delete_tenant |
Manage tenants |
netbox_create_tenant_group / netbox_update_tenant_group / netbox_delete_tenant_group |
Manage tenant groups |
netbox_create_tag / netbox_update_tag / netbox_delete_tag |
Manage tags |
netbox_create_vlan / netbox_update_vlan / netbox_delete_vlan |
Manage VLANs |
netbox_create_vlan_group / netbox_update_vlan_group / netbox_delete_vlan_group |
Manage VLAN groups |
IPAM Objects
| Tool | Description |
|---|---|
netbox_create_vrf / netbox_update_vrf / netbox_delete_vrf |
Manage VRFs |
netbox_create_prefix / netbox_update_prefix / netbox_delete_prefix |
Manage IP prefixes |
netbox_create_ip_address / netbox_update_ip_address / netbox_delete_ip_address |
Manage IP addresses |
netbox_create_ip_range / netbox_update_ip_range / netbox_delete_ip_range |
Manage IP ranges |
DCIM Objects
| Tool | Description |
|---|---|
netbox_create_device / netbox_update_device / netbox_delete_device |
Manage devices |
安装
docker run --rm \配置
{
"mcpServers": {
"netbox": {
"command": "uv",
"args": [
"--directory",
"/path/to/netbox-mcp-server",
"run",
"netbox-mcp-server"
],
"env": {
"NETBOX_URL": "https://netbox.example.com/",
"NETBOX_TOKEN": "<your-api-token>"
}
}
}
}