/lookup-config
Search for configuration items (assets) in ConnectWise PSA
$ 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.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/lookup-config
Context preview
What this command does when you run it.
Search for configuration items (assets) in ConnectWise PSA
Command definition
lookup-config.mddescription: Search for configuration items (assets) in ConnectWise PSA
argument-hint: "[query] [company_id] [type] [status] [limit]"
arguments: [query, company_id, type, status, limit]
Look Up ConnectWise PSA Configuration Items
Search for configuration items (assets) by name, serial number, tag number, or company.
Prerequisites
- Valid ConnectWise PSA API credentials configured
- User must have configuration item read permissions
Steps
1. **Build search conditions**
If query provided, search multiple fields:
conditions=name contains '{query}' or serialNumber='{query}' or tagNumber='{query}'If company_id provided:
conditions=company/id={company_id}2. **Resolve type filter (if provided)**
GET /company/configurations/types?conditions=name='{type}'3. **Resolve status filter (if provided)**
GET /company/configurations/statuses?conditions=name='{status}'4. **Execute search**
GET /company/configurations?conditions=<conditions>&page=1&pageSize=<limit>&orderBy=name asc
5. **Format and return results**
- Display configuration list with key details
- Include quick actions for each item
Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | query | string | No* | - | Search term (name, serial, tag) | | company_id | integer | No | - | Filter by company ID | | type | string | No | - | Configuration type filter | | status | string | No | - | Configuration status filter | | limit | integer | No | 25 | Max results (1-100) |
*Required if company_id not provided
Examples
Search by Name
/lookup-config "ACME-WS-001"
Search by Serial Number
/lookup-config "SN123456789"
Search by Tag Number
/lookup-config "TAG-001"
Filter by Company
/lookup-config --company_id 12345
Filter by Type
/lookup-config --company_id 12345 --type "Server"
Active Configurations Only
/lookup-config --company_id 12345 --status "Active"
Combined Search
/lookup-config "Dell" --type "Workstation" --status "Active" --limit 50
Company Servers
/lookup-config --company_id 12345 --type "Server" --status "Active"
Output
Search Results
Found 5 configuration items matching "ACME"
+--------+------------------+--------------+-----------+--------+------------------+
| ID | Name | Type | Company | Status | Serial Number |
+--------+------------------+--------------+-----------+--------+------------------+
| 10001 | ACME-WS-001 | Workstation | Acme Corp | Active | SN123456789 |
| 10002 | ACME-WS-002 | Workstation | Acme Corp | Active | SN123456790 |
| 10003 | ACME-SRV-01 | Server | Acme Corp | Active | SN987654321 |
| 10004 | ACME-SRV-02 | Server | Acme Corp | Active | SN987654322 |
| 10005 | ACME-FW-01 | Firewall | Acme Corp | Active | SN555555555 |
+--------+------------------+--------------+-----------+--------+------------------+
Quick Actions:
- View details: /lookup-config <name>
- Link to ticket: /update-ticket <ticket_id> --config <config_id>
Detailed View (Single Result)
================================================================================
Configuration Item: ACME-SRV-01
================================================================================
Basic Information:
ID: 10003
Name: ACME-SRV-01
Type: Server - Windows
Status: Active
Company:
Name: Acme Corporation
ID: 12345
Hardware Details:
Manufacturer: Dell
Model: PowerEdge R740
Serial Number: SN987654321
Tag Number: TAG-SRV-01
Network:
IP Address: 192.168.1.10
MAC Address: 00:1A:2B:3C:4D:5E
Default Gateway: 192.168.1.1
Location:
Site: Main Office
Address: 123 Main St, Anytown, USA
Warranty:
Vendor: Dell
Expiration: 2027-06-15
Type: ProSupport Plus
Notes:
Primary domain controller and file server.
Critical system - 4 hour response SLA.
Installed Software:
- Windows Server 2022 Datacenter
- SQL Server 2019 Standard
- Veeam Agent
Related Tickets (last 30 days):
#54321 - Server slow response (Closed)
#54100 - Disk space warning (Closed)
Created: 2024-01-15 by Admin
Last Updated: 2026-02-01
================================================================================
API Authentication
# Base64 encode credentials: company+publicKey:privateKey
AUTH=$(echo -n "${CW_COMPANY}+${CW_PUBLIC_KEY}:${CW_PRIVATE_KEY}" | base64)
# Search by name
curl -s -X GET \
"https://${CW_HOST}/v4_6_release/apis/3.0/company/configurations?conditions=name%20contains%20'ACME'&pageSize=25" \
-H "Authorization: Basic ${AUTH}" \
-H "clientId: ${CW_CLIENT_ID}" \
-H "Content-Type: application/json"
# Search by serial number
curl -s -X GET \
"https://${CW_HOST}/v4_6_release/apis/3.0/company/configurations?conditions=serialNumber='SN123456789'" \
-H "Authorization: Basic ${AUTH}" \
-H "clientId: ${CW_CLIENT_ID}" \
-H "Content-Type: application/json"
# Filter by company and type
curl -s -X GET \
"https://${CW_HOST}/v4_6_release/apis/3.0/company/configurations?conditions=company/id=12345%20and%20type/id=5" \
-H "Authorization: Basic ${AUTH}" \
-H "clientId: ${CW_CLIENT_ID}" \
-H "Content-Type: application/json"Error Handling
No Results
No configuration items found matching "XYZ123"
Suggestions:
- Check spelling
- Try partial name match
- Search by serial number or tag
- Broaden type/status filters
Example searches:
/lookup-config "partial-name"
/lookup-config --company_id 12345
Missing Search Criteria
Error: Search criteria required
Please provide a query or company_id:
/lookup-config "se
Read more
description: Search for configuration items (assets) in ConnectWise PSA argument-hint: "[query] [company_id] [type] [status] [limit]" arguments: [query, company_id, type, status, limit]
Look Up ConnectWise PSA Configuration Items
Search for configuration items (assets) by name, serial number, tag number, or company.
Prerequisites
- Valid ConnectWise PSA API credentials configured
- User must have configuration item read permissions
Steps
1. **Build search conditions**
If query provided, search multiple fields:
conditions=name contains '{query}' or serialNumber='{query}' or tagNumber='{query}'If company_id provided:
conditions=company/id={company_id}2. **Resolve type filter (if provided)**
GET /company/configurations/types?conditions=name='{type}'3. **Resolve status filter (if provided)**
GET /company/configurations/statuses?conditions=name='{status}'4. **Execute search**
GET /company/configurations?conditions=<conditions>&page=1&pageSize=<limit>&orderBy=name asc
5. **Format and return results**
- Display configuration list with key details
- Include quick actions for each item
Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | query | string | No* | - | Search term (name, serial, tag) | | company_id | integer | No | - | Filter by company ID | | type | string | No | - | Configuration type filter | | status | string | No | - | Configuration status filter | | limit | integer | No | 25 | Max results (1-100) |
*Required if company_id not provided
Examples
Search by Name
/lookup-config "ACME-WS-001"
Search by Serial Number
/lookup-config "SN123456789"
Search by Tag Number
/lookup-config "TAG-001"
Filter by Company
/lookup-config --company_id 12345
Filter by Type
/lookup-config --company_id 12345 --type "Server"
Active Configurations Only
/lookup-config --company_id 12345 --status "Active"
Combined Search
/lookup-config "Dell" --type "Workstation" --status "Active" --limit 50
Company Servers
/lookup-config --company_id 12345 --type "Server" --status "Active"
Output
Search Results
Found 5 configuration items matching "ACME" +--------+------------------+--------------+-----------+--------+------------------+ | ID | Name | Type | Company | Status | Serial Number | +--------+------------------+--------------+-----------+--------+------------------+ | 10001 | ACME-WS-001 | Workstation | Acme Corp | Active | SN123456789 | | 10002 | ACME-WS-002 | Workstation | Acme Corp | Active | SN123456790 | | 10003 | ACME-SRV-01 | Server | Acme Corp | Active | SN987654321 | | 10004 | ACME-SRV-02 | Server | Acme Corp | Active | SN987654322 | | 10005 | ACME-FW-01 | Firewall | Acme Corp | Active | SN555555555 | +--------+------------------+--------------+-----------+--------+------------------+ Quick Actions: - View details: /lookup-config <name> - Link to ticket: /update-ticket <ticket_id> --config <config_id>
Detailed View (Single Result)
================================================================================ Configuration Item: ACME-SRV-01 ================================================================================ Basic Information: ID: 10003 Name: ACME-SRV-01 Type: Server - Windows Status: Active Company: Name: Acme Corporation ID: 12345 Hardware Details: Manufacturer: Dell Model: PowerEdge R740 Serial Number: SN987654321 Tag Number: TAG-SRV-01 Network: IP Address: 192.168.1.10 MAC Address: 00:1A:2B:3C:4D:5E Default Gateway: 192.168.1.1 Location: Site: Main Office Address: 123 Main St, Anytown, USA Warranty: Vendor: Dell Expiration: 2027-06-15 Type: ProSupport Plus Notes: Primary domain controller and file server. Critical system - 4 hour response SLA. Installed Software: - Windows Server 2022 Datacenter - SQL Server 2019 Standard - Veeam Agent Related Tickets (last 30 days): #54321 - Server slow response (Closed) #54100 - Disk space warning (Closed) Created: 2024-01-15 by Admin Last Updated: 2026-02-01 ================================================================================
API Authentication
# Base64 encode credentials: company+publicKey:privateKey
AUTH=$(echo -n "${CW_COMPANY}+${CW_PUBLIC_KEY}:${CW_PRIVATE_KEY}" | base64)
# Search by name
curl -s -X GET \
"https://${CW_HOST}/v4_6_release/apis/3.0/company/configurations?conditions=name%20contains%20'ACME'&pageSize=25" \
-H "Authorization: Basic ${AUTH}" \
-H "clientId: ${CW_CLIENT_ID}" \
-H "Content-Type: application/json"
# Search by serial number
curl -s -X GET \
"https://${CW_HOST}/v4_6_release/apis/3.0/company/configurations?conditions=serialNumber='SN123456789'" \
-H "Authorization: Basic ${AUTH}" \
-H "clientId: ${CW_CLIENT_ID}" \
-H "Content-Type: application/json"
# Filter by company and type
curl -s -X GET \
"https://${CW_HOST}/v4_6_release/apis/3.0/company/configurations?conditions=company/id=12345%20and%20type/id=5" \
-H "Authorization: Basic ${AUTH}" \
-H "clientId: ${CW_CLIENT_ID}" \
-H "Content-Type: application/json"Error Handling
No Results
No configuration items found matching "XYZ123" Suggestions: - Check spelling - Try partial name match - Search by serial number or tag - Broaden type/status filters Example searches: /lookup-config "partial-name" /lookup-config --company_id 12345
Missing Search Criteria
Error: Search criteria required Please provide a query or company_id: /lookup-config "se
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
Other commands on msp-claude-plugins.
- /case-review
Review and triage abuse mailbox cases in Abnormal Security
Open command - /search-threats
Search for specific threat patterns in Abnormal Security by sender, recipient, attack type, or keywords
Open command - /threat-triage
Triage recent email threats detected by Abnormal Security by severity and attack type
Open command - /list-overdue-invoices
List open and overdue Alternative Payments invoices and optionally generate hosted payment links for them
Open command - /reconcile-payout
Reconcile an Alternative Payments payout by listing its transactions and matching them against invoices and customers
Open command - /eol-report
EOL/EOS risk report — devices, OS versions, and firmware approaching or past end-of-life/end-of-support, prioritized by criticality
Open command

