feat(netbox)!: gut server from 182 to 37 tools #457
Reference in New Issue
Block a user
Delete Branch "feat/netbox-gut-to-37-tools"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Gutted NetBox MCP server from 182 tools (~19,810 tokens) to 37 tools (~3,700 tokens) — 81% token reduction.
Removed all tools not needed for tracking applications, services, databases, and VPS/servers.
Changes
Deleted Modules (Entire Files)
circuits.py— providers, circuits, terminationstenancy.py— tenants, contactsvpn.py— tunnels, IKE/IPSec, L2VPNwireless.py— WLANs, links, groupsStripped Tool Categories
Deleted Infrastructure
NETBOX_ENABLED_MODULESenv var and all module filtering codeALL_MODULESconstant,PREFIX_TO_MODULEdict,_get_tool_module()functionRemaining Tools (37)
File Reductions
server.pyconfig.pydcim.pyipam.pyvirtualization.pyextras.pyToken Impact
Before: ~19,810 tokens
After: ~3,700 tokens
Reduction: ~81%
Breaking Changes
⚠️ BREAKING: All tools for circuits, tenancy, VPN, wireless are removed.
⚠️ BREAKING:
NETBOX_ENABLED_MODULESenv var no longer supported.⚠️ BREAKING: Many DCIM/IPAM/Virt/Extras tools removed (see above).
Follow-up Work
Update
cmdb-assistantplugin skills to remove references to deleted tools (10 files). This will be done in a separate PR.Test Plan
🤖 Generated with Claude Code