find-contact
Resolve a 3CX contact or extension by email, extension, or name
Create a Mailprotector block rule for a sender address or domain at a chosen scope
$ 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.
/block-senderContext preview
What this command does when you run it.
Create a Mailprotector block rule for a sender address or domain at a chosen scope
description: Create a Mailprotector block rule for a sender address or domain at a chosen scope argument-hint: "[value] [scope] [scope-id] [confirm]" arguments: [value, scope, scope-id, confirm]
Create an allow/block rule of type `block` for a sender. A block rule silently stops the sender's mail for everything at and below the chosen scope — no bounce anyone sees.
1. **Validate the value** — must be a full address (`user@domain.com`) or a bare domain (`domain.com`); no wildcards. A domain value blocks **every** address at that domain 2. **Check for existing rules** — `mailprotector_allow_block_rules_list` at the target scope and the scopes above it; an inherited allow rule for the same value will fight the new block, and a duplicate block is noise 3. **State the blast radius** — name exactly what the scope covers (`user` = one mailbox; `customer` = every domain/user under the client; `reseller` = the entire client base). Warn extra loudly for domain values on shared sending services 4. **Confirm** — require explicit confirmation for any scope wider than `user`, or any bare-domain value, unless `--confirm` is set 5. **Create** — `mailprotector_allow_block_rules_create` with `{"value": ..., "rule_type": "block"}` at the scope; report the new rule ID (needed for any future delete via `mailprotector_allow_block_rules_delete`)
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | value | string | Yes | - | Sender address or bare domain to block | | scope | string | No | user | `reseller`, `customer`, `domain`, `user_group`, or `user` | | scope-id | number | Yes* | bound reseller | Entity ID for the scope | | confirm | boolean | No | false | Skip confirmation for wide scopes / domain values |
*Required for any scope other than `reseller`.
/block-sender --value "phisher@badcorp.com" --scope user --scope-id 883326 /block-sender --value "spam-blaster.net" --scope customer --scope-id 2111
Block rule created Rule ID: 2445356 Value: spam-blaster.net (domain — blocks every address at this domain) Type: block Scope: customer 2111 (Acme Corp) — applies to all domains, groups, and users beneath Existing related rules found: none To undo: mailprotector_allow_block_rules_delete 2445356
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