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),…
Triaging the SaaS Alerts queue across managed M365 / Google Workspace tenants: the triage tool surface, the critical-first sweep, per-customer summary and cross-tenant pattern workflows, the low/medium/critical severity model and its default dispositions, and the edge cases —
$ npx -y skills add wyre-technology/msp-claude-plugins --skill triage --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/triageContext preview
The summary Claude sees to decide when to auto-load this skill.
Triaging the SaaS Alerts queue across managed M365 / Google Workspace tenants: the triage tool surface, the critical-first sweep, per-customer summary and cross-tenant pattern workflows, the low/medium/critical severity model and its default dispositions, and the edge cases —
name: "SaaS Alerts Triage" description: > Triaging the SaaS Alerts queue across managed M365 / Google Workspace tenants: the triage tool surface, the critical-first sweep, per-customer summary and cross-tenant pattern workflows, the low/medium/critical severity model and its default dispositions, and the edge cases — legitimately empty results, time-window sensitivity, whitelist suppression, and per-partner rate limits. when_to_use: >- When sweeping and prioritizing the SaaS Alerts queue across tenants and deciding what to escalate. Use when: triage saas alerts, saas alerts queue, prioritize saas alerts, or m365 security alerts.
Triage means sweeping the alert queue across all managed customers, ranking by severity and customer impact, separating true positives from noise, and handing the on-shift analyst a prioritized, actionable plan. The SaaS Alerts MCP surface is well-suited to this: event queries are customer-scoped or cross-tenant, severity is a first-class filter, and recommended actions are machine-generated per alert.
cannot disable an account, revoke sessions, reset MFA, or block a sign-in. Once triage says act, the remediation surface is `cipp-users` and `cipp-security` — this skill's `recommended_actions` output is guidance, not an executable step.
enrolment, or a mailbox rule is actually in place comes from the tenant, not the alert feed — use `cipp-security`, `cipp-standards`, or `m365-security`.
are the email-security stack, not SaaS Alerts sign-in telemetry — use `ironscales-incidents`.
they carry no process, file, or host detail. Endpoint detections are `sentinelone-alerts` or `huntress-incidents`.
| Tool | Role in Triage | |------|---------------| | `saas_alerts_status` | Confirm gateway + upstream connectivity before the sweep | | `saas_alerts_customers_list` | Enumerate all managed customers | | `saas_alerts_events_query` | Pull events filtered by severity and time window, per customer or all | | `saas_alerts_events_query_advanced` | Cross-tenant pattern queries (impossible travel across tenants, bulk sign-in anomalies) | | `saas_alerts_recommended_actions` | Fetch the vendor's remediation guidance. Takes no arguments — it returns the full event-type → action mapping, which you match against each alert's event type yourself | | `saas_alerts_users_list_by_customer` | Pull one customer's users once, then match IDs against it locally to put a name on an event |
**No per-user or per-device lookup exists.** An earlier revision of this table named one of each; the server registers neither (`saas-alerts-mcp/src/domains/users.ts`, `saas-alerts-mcp/src/domains/devices.ts`). Two consequences for triage:
event. Fetch `saas_alerts_users_list_by_customer` once for the customer and resolve every ID in the sweep against that one result. Where the event already carries a user email, use it directly — `saas_alerts_events_query` takes `user_email`, so you can pivot to that person's other events without resolving anything. Do not substitute `saas_alerts_users_get_msp`: it takes no arguments and returns your own API key's profile, so it will silently attribute every alert to the MSP.
plugin.** The device tools (`saas_alerts_devices_list_orgs`, `saas_alerts_devices_list_mapped`, `saas_alerts_devices_list_unmapped`, `saas_alerts_devices_list_ignored`) exist to manage device-to-organization mapping and are keyed by `organization_ids`, not by an event or a customer. Report device context only from what the event payload itself carries.
1. `saas_alerts_status` — confirm connectivity. 2. `saas_alerts_events_query` with `alert_status: critical` and a 24-hour window across all customers. 3. Call `saas_alerts_recommended_actions` **once** — it takes no arguments and returns the whole event-type → action mapping. Join it to each alert's event type locally rather than calling it per alert. 4. Attribute alerts to people: use the event's own `user_email` where it is present, and for the rest pull `saas_alerts_users_list_by_customer` once per affected customer and match IDs against that result. 5. Produce a ranked table: customer | alert type | user | recommended action | disposition.
1. `saas_alerts_customers_list` → select the target customer. 2. `saas_alerts_events_query` scoped to `customer_id` for the last 7 days. 3. Roll up: count by `alert_status`, top event types, affected users. 4. Flag any customer with a new alert type not seen in the prior window.
1. `saas_alerts_events_query_advanced` with a pattern filter (e.g., `impossible_travel` or `bulk_delete`) across all customers. 2. Group by customer and user to identify whether an attacker pattern spans multiple tenants. 3. Escalate immediately if the same user identity (email) appears in critical events across two or more customers — credential compromise indicator.
| Level | Meaning | Default Disposition | |-------|---------|---------------------| | `critical` | High-confidence attack or active compromise | Investigate immediately; escalate to client | | `medium` | Suspicious but may be legitimate; needs review | Review within shift | | `low` | Informational or likely benign | Batch review; lower priority |
Always start with `critical`. Do not skip `medium` — attackers often generate
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…