api-patterns
3CX's native PBX MCP server: the per-PBX endpoint shape (every PBX is its own FQDN and its own OAuth authorization server — there is no shared mcp.3cx.com),…
Liongard environments — the per-customer containers that own all agents, launchpoints, systems, detections, and metrics. Covers environment CRUD, the lightweight count endpoint, v2 environment groups, tiering, related-entity lookups, and integration mappings to PSA/RMM platforms.
$ npx -y skills add wyre-technology/msp-claude-plugins --skill environments --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/environmentsContext preview
The summary Claude sees to decide when to auto-load this skill.
Liongard environments — the per-customer containers that own all agents, launchpoints, systems, detections, and metrics. Covers environment CRUD, the lightweight count endpoint, v2 environment groups, tiering, related-entity lookups, and integration mappings to PSA/RMM platforms.
name: "Liongard Environments" description: > Liongard environments — the per-customer containers that own all agents, launchpoints, systems, detections, and metrics. Covers environment CRUD, the lightweight count endpoint, v2 environment groups, tiering, related-entity lookups, and integration mappings to PSA/RMM platforms. when_to_use: >- When creating, updating, organizing, or decommissioning customer organizations in Liongard, or when scoping other queries to a particular environment. Use when: liongard environment, liongard customer, environment group, liongard site, liongard org, liongard environment management, create environment liongard, or liongard client.
Environments in Liongard represent customer organizations or sites being monitored. Each environment is the top-level container for all inspection activity, discovered systems, detections, and metrics associated with a particular client, so nearly every other Liongard query is scoped by `EnvironmentID`.
is a customer organization. It has nothing to do with deployment tiers.
onboard a client; use `connectwise-psa-companies`, `autotask-crm`, or `superops-clients`.
inspection but is not a tenant; use `cipp-tenants`.
the assets, `liongard-detections` for the changes.
`Name` is the only required field on create and must be unique across the instance. `Status` is `Active` or `Inactive`; `Visible` controls UI visibility; `Tier` is a free-form service-tier classification MSPs use for SLA and reporting segmentation. The counts (`AgentCount`, `LaunchpointCount`, `SystemCount`, `DetectionCount`) are returned only on the single-environment GET, not in list responses.
See [references/fields.md](references/fields.md) for the complete field reference and the entity relationship map.
Environment Groups (v2) are a logical grouping layer over environments — by category, region, or service level — that helps MSPs manage large client counts. Group membership is independent of the environment record itself: deleting a group ungroups its environments rather than deleting them.
An environment can be mapped to external systems (PSA tools, RMM platforms) so Liongard data correlates with tickets and devices elsewhere. Mappings are read via a sub-resource on the environment.
The full endpoint catalog with request/response bodies lives in [references/api.md](references/api.md). The non-obvious parts:
1. **Create environment** - Add the new customer organization 2. **Assign to group** - Place in appropriate environment group 3. **Set tier** - Configure service tier for SLA tracking 4. **Deploy agent** - Install agent on client infrastructure 5. **Configure launchpoints** - Set up inspectors for relevant platforms 6. **Run initial inspections** - Trigger immediate runs to capture baseline 7. **Verify discovery** - Confirm systems are being discovered correctly
1. **Review active inspections** - Document current state 2. **Disable launchpoints** - Stop scheduled inspections 3. **Export data** - Archive historical inspection data if needed 4. **Set status to Inactive** - Mark environment as inactive 5. **Remove from groups** - Clean up group memberships 6. **Delete environment** - Remove when retention period expires
1. **Create tier groups** - e.g., Premium, Standard, Basic 2. **Assign environments** - Move each client to their tier group 3. **Configure metrics** - Set tier-appropriate compliance metrics 4. **Set up detections** - Enable tier-appropriate change monitoring 5. **Review regularly** - Audit tier assignments quarterly
See [references/examples.md](references/examples.md) for worked bulk-update and full-export implementations.
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
3CX's native PBX MCP server: the per-PBX endpoint shape (every PBX is its own FQDN and its own OAuth authorization server — there is no shared mcp.3cx.com),…
3CX's live-operations surface: read-only visibility into active calls, recordings, voicemail, department and queue membership, and forwarding/presence…
3CX's read-only directory surface: resolving a caller by email or by exact extension, searching the PBX's own phonebooks, searching contacts synced from an…
3CX's system-and-configuration surface: server time, PBX event log and application log search, service status, database schema and the read-only SELECT-only…
Abnormal Security abuse mailbox cases: user-reported email submissions, case statuses and judgments, the case lifecycle, bulk and remediation actions, and…
Abnormal Security message analysis: message retrieval, email header inspection, attachments, sender reputation, delivery context, and SPF/DKIM/DMARC…