find-contact
Resolve a 3CX contact or extension by email, extension, or name
Search for configuration items/assets by name, serial number, type, or client
$ npx -y skills add wyre-technology/msp-claude-plugins --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/search-assetsContext preview
What this command does when you run it.
Search for configuration items/assets by name, serial number, type, or client
description: Search for configuration items/assets by name, serial number, type, or client argument-hint: "[query] [client_id] [asset_type] [status] [limit]" arguments: [query, client_id, asset_type, status, limit]
Search for configuration items/assets by name, serial number, type, or client association.
1. **Authenticate with OAuth 2.0**
# Get OAuth token
TOKEN=$(curl -s -X POST "{base_url}/auth/token?tenant={tenant}" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id={client_id}" \
-d "client_secret={client_secret}" \
-d "scope=all" | jq -r '.access_token')2. **Validate parameters**
3. **Get asset types (for validation)**
curl -s -X GET "{base_url}/api/AssetType" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json"4. **Execute asset search**
# Search by query
curl -s -X GET "{base_url}/api/Asset?search={query}&page_size={limit}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json"
# Or search by client
curl -s -X GET "{base_url}/api/Asset?client_id={client_id}&page_size={limit}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json"5. **Apply additional filters**
6. **Format and display results**
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | query | string | No* | - | Search term (name, serial, etc.) | | client_id | integer | No* | - | Filter by client ID | | asset_type | string | No | - | Workstation/Server/Network/etc. | | status | string | No | - | Active/Inactive/Retired | | limit | integer | No | 25 | Maximum results (max 100) |
*Either query or client_id is required
/search-assets "ACME-SRV-01"
/search-assets "ABC123456"
/search-assets --client_id 12345
/search-assets --client_id 12345 --asset_type Server
/search-assets "Dell" --status Active
/search-assets --client_id 12345 --asset_type Workstation --status Active
/search-assets "switch" --asset_type Network --limit 50
Found 5 assets matching "ACME-SRV" ┌─────────┬─────────────────────┬──────────────┬─────────────┬───────────────┬──────────┐ │ ID │ Name │ Type │ Client │ Serial │ Status │ ├─────────┼─────────────────────┼──────────────┼─────────────┼───────────────┼──────────┤ │ 1001 │ ACME-SRV-01 │ Server │ Acme Corp │ DEL123456 │ Active │ │ 1002 │ ACME-SRV-02 │ Server │ Acme Corp │ DEL123457 │ Active │ │ 1003 │ ACME-SRV-DC01 │ Server │ Acme Corp │ HPE789012 │ Active │ │ 1004 │ ACME-SRV-BACKUP │ Server │ Acme Corp │ DEL345678 │ Active │ │ 1005 │ ACME-SRV-OLD │ Server │ Acme Corp │ DEL000123 │ Retired │ └─────────┴─────────────────────┴──────────────┴─────────────┴───────────────┴──────────┘ Quick Actions: - View asset: /search-assets --id <id> - Asset tickets: /search-tickets --asset <id> - Client assets: /search-assets --client_id <client_id>
================================================================================ Asset Details: ACME-SRV-01 (ID: 1001) ================================================================================ BASIC INFORMATION -------------------------------------------------------------------------------- Name: ACME-SRV-01 Asset Type: Server Status: Active Client: Acme Corporation (ID: 123) Site: Main Office HARDWARE DETAILS -------------------------------------------------------------------------------- Manufacturer: Dell Model: PowerEdge R740 Serial Number: DEL123456 Service Tag: ABCD123 CPU: Intel Xeon Gold 6248 (2x) RAM: 256 GB Storage: 4x 1.2TB SAS (RAID 10) NETWORK -------------------------------------------------------------------------------- Hostname: acme-srv-01.acme.local IP Address: 192.168.1.10 MAC Address: 00:1A:2B:3C:4D:5E Domain: acme.local SOFTWARE -------------------------------------------------------------------------------- OS: Windows Server 2022 Datacenter OS Version: 21H2 (Build 20348) Last Boot: 2024-02-10 03:45:00 WARRANTY & MAINTENANCE -------------------------------------------------------------------------------- Warranty Status: Active Warranty Expires: 2026-06-15 (829 days remaining) Support Level: ProSupport Plus Last Service: 2024-01-15 MONITORING -------------------------------------------------------------------------------- Agent Status: Online Last Seen: 2024-02-15 15:30:00 (5 min ago) Alerts: 0 active LINKED TICKETS -------------------------------------------------------------------------------- Open Tickets: 1 - #12345: Exchange performance issues (In Progress) Total Tickets: 24 (lifetime) ================================================================================ Quick Actions: - Create ticket: /create-ticket 123 "Issue with ACME-SRV-01" - Open tickets:
One command to supercharge Claude Code for MSP workflows. Then restart Claude Code. That's it. Documentation: mcp.wyre.ai
Repo: wyre-technology/msp-claude-plugins
Resolve a 3CX contact or extension by email, extension, or name
Search for specific threat patterns in Abnormal Security by sender, recipient, attack type, or keywords
Triage recent email threats detected by Abnormal Security by severity and attack type