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),…
HubSpot deal records and sales pipelines: deal fields, default and custom pipeline stages, deal amount conventions (MRR vs. TCV), forecast categories and weighted forecasting, and associating deals with contacts and companies.
$ npx -y skills add wyre-technology/msp-claude-plugins --skill deals --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/dealsContext preview
The summary Claude sees to decide when to auto-load this skill.
HubSpot deal records and sales pipelines: deal fields, default and custom pipeline stages, deal amount conventions (MRR vs. TCV), forecast categories and weighted forecasting, and associating deals with contacts and companies.
name: "HubSpot Deals" description: > HubSpot deal records and sales pipelines: deal fields, default and custom pipeline stages, deal amount conventions (MRR vs. TCV), forecast categories and weighted forecasting, and associating deals with contacts and companies. when_to_use: >- When searching, creating, updating, or reporting on deal records and pipelines in HubSpot CRM. Use when: hubspot deal, hubspot pipeline, hubspot opportunity, hubspot sale, hubspot revenue, deal search hubspot, deal management hubspot, hubspot forecast, hubspot deal stage, sales pipeline hubspot, or hubspot close date.
Deals in HubSpot represent sales opportunities -- potential or active revenue from clients. For MSPs, deals track managed services agreements, project engagements, hardware sales, or any revenue opportunity moving through the sales process. Each deal belongs to a pipeline (e.g., "Sales Pipeline" or "Renewals") and progresses through stages (e.g., "Discovery", "Proposal", "Closed Won"). Deals are associated with contacts and companies to provide full context on who is involved and which client the revenue belongs to.
opportunity exists and what it is worth; the line items, catalog, and margin live in `salesbuildr-quotes` or `connectwise-cpq-quotes`.
`xero-invoices` or `qbo-invoices`.
identical vocabulary; use `salesbuildr-opportunities`.
| Tool | Description | Key Parameters | |------|-------------|----------------| | `hubspot_retrieve_deal` | Get a single deal by ID | `dealId` (required) | | `hubspot_create_deal` | Create a new deal | `dealname` (required), `amount`, `dealstage`, `pipeline` | | `hubspot_update_deal` | Update an existing deal | `dealId` (required), property fields to update | | `hubspot_list_deal_properties` | List all available deal properties | None | | `hubspot_search_deals` | Search deals by criteria | `filterGroups`, `sorts`, `limit`, `after` |
Call `hubspot_search_deals` with filter groups to find deals:
**Search by deal name:**
{
"filterGroups": [
{
"filters": [
{
"propertyName": "dealname",
"operator": "CONTAINS_TOKEN",
"value": "Managed Services"
}
]
}
],
"limit": 100
}**Search by deal stage:**
{
"filterGroups": [
{
"filters": [
{
"propertyName": "dealstage",
"operator": "EQ",
"value": "proposalpendinng"
}
]
}
],
"sorts": [
{
"propertyName": "amount",
"direction": "DESCENDING"
}
],
"limit": 100
}**Search by close date range (upcoming closings):**
{
"filterGroups": [
{
"filters": [
{
"propertyName": "closedate",
"operator": "GTE",
"value": "2026-02-01"
},
{
"propertyName": "closedate",
"operator": "LTE",
"value": "2026-03-31"
}
]
}
],
"limit": 100
}**Search for high-value open deals:**
{
"filterGroups": [
{
"filters": [
{
"propertyName": "amount",
"operator": "GT",
"value": "10000"
},
{
"propertyName": "dealstage",
"operator": "NOT_IN",
"values": ["closedwon", "closedlost"]
}
]
}
],
"sorts": [
{
"propertyName": "amount",
"direction": "DESCENDING"
}
],
"limit": 100
}Call `hubspot_create_deal` with the deal's properties:
**Example: Create a managed services deal:**
Call `hubspot_update_deal` with the `dealId` and the properties to change:
**Example: Move deal to next stage:**
Call `hubspot_retrieve_deal` with the `dealId`:
**Example:**
HubSpot's default sales pipeline includes these stages (your account may have custom stages):
| Stage ID | Display Name | Probability | MSP Context | |----------|-------------|-------------|-------------| | `appointmentscheduled` | Appointment Scheduled | 20% | Discovery call booked | | `qualifiedtobuy` | Qualified to Buy | 40% | Budget and authority confirmed | | `presentationscheduled` | Presentation Scheduled | 60% | Demo or proposal meeting set | | `decisionmakerboughtin` | Decision Maker Bought-In | 80% | Key stakeholder agrees | | `contractsent` | Contract Sent | 90% | MSA or SOW sent for signature | | `closedwon` | Closed Won | 100% | Deal signed, revenue booked | | `closedlost` | Closed Lost | 0% | Deal did not close |
HubSpot supports multiple pipelines for different deal types. Common MSP pipelines:
| Pipeline | Use Case | |----------|----------| | Sales Pipeline | New client acquisition | | Renewals | Annual contract renewals | | Projects | One-time project engagements | | Hardware | Hardware procurement deals |
The `amount` field represents the deal's monetary value. For MSPs:
##
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…