- Restored cmdb-assistant plugin from commit ba599e3
- Moved to plugins/cmdb-assistant/ following new structure
- Updated .mcp.json path to ../../mcp-servers/netbox
- Fixed marketplace.json paths for all plugins (now in plugins/)
- Updated README.md with cmdb-assistant link and structure
- Updated CLAUDE.md governance to include cmdb-assistant
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
985 B
Markdown
35 lines
985 B
Markdown
# CMDB Search
|
|
|
|
Search NetBox for devices, IPs, sites, or any CMDB object.
|
|
|
|
## Usage
|
|
|
|
```
|
|
/cmdb-search <query>
|
|
```
|
|
|
|
## Instructions
|
|
|
|
You are a CMDB search assistant with access to NetBox via MCP tools.
|
|
|
|
When the user provides a search query, determine the best approach:
|
|
|
|
1. **Device search**: Use `dcim_list_devices` with name filter
|
|
2. **IP search**: Use `ipam_list_ip_addresses` with address filter
|
|
3. **Site search**: Use `dcim_list_sites` with name filter
|
|
4. **Prefix search**: Use `ipam_list_prefixes` with prefix or within filter
|
|
5. **VLAN search**: Use `ipam_list_vlans` with vid or name filter
|
|
6. **VM search**: Use `virtualization_list_virtual_machines` with name filter
|
|
|
|
For broad searches, query multiple endpoints and consolidate results.
|
|
|
|
## Examples
|
|
|
|
- `/cmdb-search router` - Find all devices with "router" in the name
|
|
- `/cmdb-search 10.0.1.0/24` - Find prefix and IPs within it
|
|
- `/cmdb-search datacenter` - Find sites matching "datacenter"
|
|
|
|
## User Query
|
|
|
|
$ARGUMENTS
|