@wirecat/hubspot-cli 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +40 -16
- package/contracts/wirecat.json +1516 -173
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-A7ARC3QB.js +40 -0
- package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
- package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
- package/dist/bundle/{app-server-422MCA7S.js → app-server-FFYKM37G.js} +79 -68
- package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
- package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
- package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
- package/dist/bundle/{chunk-HTAN663T.js → chunk-2HYGCLKN.js} +93 -565
- package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
- package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
- package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
- package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
- package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
- package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
- package/dist/bundle/{chunk-BKXDHU3G.js → chunk-3WIVJJNB.js} +19 -17
- package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
- package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
- package/dist/bundle/chunk-5HD64ETI.js +561 -0
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
- package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
- package/dist/bundle/chunk-77CUE3VX.js +46 -0
- package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
- package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
- package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
- package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
- package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
- package/dist/bundle/{chunk-LNV33FDC.js → chunk-AFL2C4JR.js} +60 -50
- package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
- package/dist/bundle/chunk-AVUMH42T.js +194 -0
- package/dist/bundle/chunk-B2W3C4N6.js +338 -0
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
- package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
- package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
- package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
- package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
- package/dist/bundle/{chunk-WQBX7XYP.js → chunk-CYADK744.js} +1559 -1888
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
- package/dist/bundle/{chunk-JRCPCVPI.js → chunk-DQP2GAAO.js} +75 -66
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
- package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
- package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
- package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
- package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
- package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
- package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
- package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
- package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
- package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
- package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
- package/dist/bundle/{chunk-VIEYMDBR.js → chunk-J6C2QWL5.js} +3 -3
- package/dist/bundle/{chunk-ZBDSHFG4.js → chunk-JG7YMHNB.js} +3427 -3284
- package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
- package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
- package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
- package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
- package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
- package/dist/bundle/chunk-LA3YU4K7.js +40 -0
- package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
- package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
- package/dist/bundle/chunk-M763RNWP.js +733 -0
- package/dist/bundle/chunk-M7XLG6AN.js +353 -0
- package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
- package/dist/bundle/chunk-NTQBS2JL.js +52 -0
- package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
- package/dist/bundle/chunk-OPVNUI4M.js +195 -0
- package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
- package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
- package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
- package/dist/bundle/{chunk-2TWQIWWG.js → chunk-QFZD6MTF.js} +35 -29
- package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
- package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
- package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
- package/dist/bundle/{chunk-SAKK2YRU.js → chunk-SMTTIKZ5.js} +12 -12
- package/dist/bundle/{chunk-X7XUX7A4.js → chunk-TDQJS3JG.js} +10 -10
- package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
- package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
- package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
- package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
- package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
- package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
- package/dist/bundle/chunk-WRCKE5ND.js +80 -0
- package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
- package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
- package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
- package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
- package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
- package/dist/bundle/{dist-MYZZKZJ7.js → dist-7TGU56B2.js} +1 -1
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
- package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
- package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
- package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
- package/dist/bundle/first-run-MAUI6QJ7.js +29 -0
- package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
- package/dist/bundle/hubspot.js +26 -26
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
- package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
- package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
- package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
- package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
- package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
- package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
- package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
- package/dist/bundle/{program-POG5GHUQ.js → program-2D5D32HK.js} +835 -261
- package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
- package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
- package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
- package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
- package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
- package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
- package/dist/bundle/server-CN6VQNNF.js +86 -0
- package/dist/bundle/{server-XJSNF3K5.js → server-OJPCTV77.js} +73 -61
- package/dist/bundle/{source-A3SBLHC4.js → source-VHDK74YS.js} +133 -399
- package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
- package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
- package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
- package/dist/bundle/store-HXA2MRWI.js +32 -0
- package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
- package/dist/bundle/store-maintenance-command-AC7GGLYC.js +73 -0
- package/dist/bundle/surface-ZZNG3OW2.js +72 -0
- package/dist/bundle/writer-CZYA657G.js +86 -0
- package/dist/commands/api.d.ts +4 -4
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +12 -7
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/crm-shared.d.ts +2 -2
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +20 -4
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/config.d.ts +46 -8
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +133 -12
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/crm/source.d.ts +7 -2
- package/dist/crm/source.d.ts.map +1 -1
- package/dist/crm/source.js +26 -29
- package/dist/crm/source.js.map +1 -1
- package/dist/crm/writer.d.ts +15 -0
- package/dist/crm/writer.d.ts.map +1 -0
- package/dist/crm/writer.js +199 -0
- package/dist/crm/writer.js.map +1 -0
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +6 -116
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/types.d.ts +160 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/hubspot/transport.d.ts +6 -1
- package/dist/hubspot/transport.d.ts.map +1 -1
- package/dist/hubspot/transport.js +13 -5
- package/dist/hubspot/transport.js.map +1 -1
- package/dist/identity.js +3 -3
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.js.map +1 -1
- package/dist/setup/texts.en.json +3 -3
- package/dist/setup/texts.es.json +3 -3
- package/dist/setup/texts.ru.json +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/hubspot-cli/SKILL.md +13 -8
- package/skills/hubspot-cli/references/api/api-advanced.md +51 -0
- package/skills/hubspot-cli/references/api/api-basic.md +602 -0
- package/skills/hubspot-cli/references/api/api-batch.md +575 -0
- package/skills/hubspot-cli/references/api.md +3 -2
- package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
- package/dist/bundle/first-run-RPIJZEDT.js +0 -29
- package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
- package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
- package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
- package/dist/bundle/oauth-HNCY4B2S.js +0 -20
- package/dist/bundle/server-C3ZHA7AZ.js +0 -77
- package/dist/bundle/store-CCDNUB6A.js +0 -32
- package/dist/bundle/store-maintenance-command-BRCG6MNA.js +0 -68
- package/dist/commands/comments.d.ts +0 -3
- package/dist/commands/comments.d.ts.map +0 -1
- package/dist/commands/comments.js +0 -114
- package/dist/commands/comments.js.map +0 -1
- package/dist/sample/comments.d.ts +0 -61
- package/dist/sample/comments.d.ts.map +0 -1
- package/dist/sample/comments.js +0 -39
- package/dist/sample/comments.js.map +0 -1
- package/dist/sample/records.d.ts +0 -16
- package/dist/sample/records.d.ts.map +0 -1
- package/dist/sample/records.js +0 -22
- package/dist/sample/records.js.map +0 -1
- package/dist/sample/transport.d.ts +0 -42
- package/dist/sample/transport.d.ts.map +0 -1
- package/dist/sample/transport.js +0 -153
- package/dist/sample/transport.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/hubspot-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.3.0 — 18.11.2026
|
|
6
|
+
|
|
7
|
+
### Changed — may break callers
|
|
8
|
+
|
|
9
|
+
- **The MCP Registry entry asks which profiles to serve.** It started `mcp serve --profiles all`, so a client that
|
|
10
|
+
installed the server from the registry reached every account on the computer without the owner choosing. Now
|
|
11
|
+
`--profiles` is a required argument with the example `personal`: the client asks for one profile, a
|
|
12
|
+
comma-separated list or `all`. Why: a CLI never picks an account for the owner
|
|
13
|
+
([WC-MCP-9](https://github.com/WireCatLabs/cli-base/blob/main/docs/standards/mcp.md#wc-mcp-9--a-server-serves-the-profiles-it-is-told-with-one-connection-for-each)). Watch for: a client set up from the old entry keeps `--profiles all` until it is set up again; a
|
|
14
|
+
server added by hand or with `mcp config` does not change.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **`mcp serve` starts on a computer with no profile yet.** It lists its tools, and each call answers with the command
|
|
19
|
+
that sets up a profile. Before, the server stopped at start, so a directory that checks servers could not list
|
|
20
|
+
them. From cli-core 0.699.0.
|
|
21
|
+
|
|
22
|
+
## 0.2.0 — 17.11.2026
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **`deals create`, `update`, `move`, `close` and `delete` change deals in HubSpot, and the copy takes each answer.**
|
|
27
|
+
`close` moves a deal to its pipeline's closed won or lost stage and keeps `--reason` as HubSpot's closed reason.
|
|
28
|
+
`delete` archives the deal and asks first. See [usage](docs/usage.md).
|
|
29
|
+
- **`people create|update` and `organizations create|update` change contacts and companies.** A contact keeps one
|
|
30
|
+
e-mail and two numbers, a company one number and no e-mail; a longer list is refused before anything is sent.
|
|
31
|
+
- **`api` offers HubSpot's writes and deletes too: 66 writes and 33 deletes of the CRM API, version 2026-03.** Each
|
|
32
|
+
write checks `api.<command>` and its group's `<group>.write`, each delete its `<group>.delete`, and both ask by
|
|
33
|
+
default. A write that does what a command does checks that command's key too (`deals.update`), a body that sets a
|
|
34
|
+
deal's stage checks `deals.move` and `deals.close`, and one that sets an owner checks `crm.assign-others`, `deny` by
|
|
35
|
+
default. `api contacts-gdpr-delete` also checks `people.erase`, to deny erasing alone. `--dry-run` names every key.
|
|
36
|
+
See [settings](docs/configuration.md#permissions).
|
|
37
|
+
- **Write scopes are optional.** The setup and [installation](docs/installation.md#make-a-key) list
|
|
38
|
+
`crm.objects.{deals,contacts,companies}.write`; without them the key only reads.
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- **`api` sends the key with every operation.** HubSpot's object specs mark 115 operations as needing no sign-in, so
|
|
43
|
+
in 0.1.0 `api deals-get`, `api contacts-list` and the other record operations went out without the key and HubSpot
|
|
44
|
+
answered 401. The pipelines, properties, owners and account operations were not affected.
|
|
45
|
+
|
|
5
46
|
## 0.1.0 — 17.11.2026
|
|
6
47
|
|
|
7
48
|
### Added
|
package/README.md
CHANGED
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<a href="docs/index.md">Docs</a> ·
|
|
14
|
-
<a href="docs/
|
|
13
|
+
<a href="https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/index.md">Docs</a> ·
|
|
14
|
+
<a href="https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/installation.md">Install</a> ·
|
|
15
|
+
<a href="https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/usage.md">Usage</a> ·
|
|
15
16
|
<a href="https://discord.gg/DebENqbRrJ">Discord</a>
|
|
16
17
|
</p>
|
|
17
18
|
|
|
@@ -24,7 +25,8 @@
|
|
|
24
25
|
Codex or any app that speaks MCP.
|
|
25
26
|
- **The morning starts with what changed.** `changes list` shows what each sync saw change, and a schedule sends it to
|
|
26
27
|
you.
|
|
27
|
-
- **
|
|
28
|
+
- **Writes when you want them.** Create and update deals, contacts and companies, move a deal or close it. The key
|
|
29
|
+
stays read only until you give it the write scopes, and a delete asks first.
|
|
28
30
|
|
|
29
31
|
```text
|
|
30
32
|
You: What changed in the CRM since yesterday?
|
|
@@ -49,6 +51,9 @@ crm.objects.owners.read crm.schemas.contacts.read crm.schemas.companie
|
|
|
49
51
|
crm.schemas.deals.read sales-email-read
|
|
50
52
|
```
|
|
51
53
|
|
|
54
|
+
To let `hubspot` change records too, add `crm.objects.contacts.write`, `crm.objects.companies.write` and
|
|
55
|
+
`crm.objects.deals.write`. Leave them out and the key only reads.
|
|
56
|
+
|
|
52
57
|
Add `crm.objects.leads.read` on Sales Hub Professional or Enterprise to read leads, and `tickets` to read tickets
|
|
53
58
|
through `api`. A scope you leave out fails only the commands that need it.
|
|
54
59
|
|
|
@@ -74,7 +79,10 @@ More: [install and connect](docs/installation.md)
|
|
|
74
79
|
name.
|
|
75
80
|
- **Find a client.** Any contact or company in the account, read live, with its phones and e-mails.
|
|
76
81
|
- **Follow the work on a deal.** Notes, calls, e-mails, meetings and tasks, copied with the deals.
|
|
77
|
-
- **
|
|
82
|
+
- **Change a deal from the chat.** Create a deal, rename it, move it to the next stage, close it won or lost, or add
|
|
83
|
+
a contact or a company, and the copy takes the change at once.
|
|
84
|
+
- **Reach past the copy.** Every operation of HubSpot's CRM API is a command of its own: notes, tasks, tickets,
|
|
85
|
+
associations and merges included.
|
|
78
86
|
- **Search across your work.** A deal turns up next to the chat where you agreed on it and the meeting where you
|
|
79
87
|
discussed it, if you use the other WireCat tools.
|
|
80
88
|
|
|
@@ -94,9 +102,10 @@ hubspot work mcp add claude-code --allow-writes # or: codex
|
|
|
94
102
|
hubspot work mcp config # the entry for Claude Desktop, Cursor and others
|
|
95
103
|
```
|
|
96
104
|
|
|
97
|
-
`--allow-writes` confirms you saw that the server offers commands that change something
|
|
98
|
-
|
|
99
|
-
untrusted, so the agent reads it as data, never as instructions. The sign-in commands are not offered
|
|
105
|
+
`--allow-writes` confirms you saw that the server offers commands that change something: `sync` and schedules on this
|
|
106
|
+
computer, and the writes to HubSpot, which only a key with write scopes can make. Text from the account reaches the
|
|
107
|
+
agent marked as untrusted, so the agent reads it as data, never as instructions. The sign-in commands are not offered
|
|
108
|
+
over MCP.
|
|
100
109
|
|
|
101
110
|
More: [agents and MCP](docs/usage.md#agents)
|
|
102
111
|
|
|
@@ -106,8 +115,8 @@ More: [agents and MCP](docs/usage.md#agents)
|
|
|
106
115
|
sync takes only the changes. Lists, the pipeline and search then answer with no request to HubSpot, also offline.
|
|
107
116
|
- **The key stays in the system keyring.** It never appears in output, errors or run records, and no command takes it
|
|
108
117
|
as an argument.
|
|
109
|
-
- **A permission on every command.** Each command and each
|
|
110
|
-
|
|
118
|
+
- **A permission on every command.** Each command and each operation of HubSpot's API has its own level, so you
|
|
119
|
+
decide what an agent may read and change.
|
|
111
120
|
- **Your CRM beside your other context.** Deals sit in the same local store as your messages, notes and meetings from
|
|
112
121
|
the other WireCat tools, and `search all` finds them together.
|
|
113
122
|
- **As many accounts as you need.** Each HubSpot account is a profile you name in the command, and none is ever picked
|
|
@@ -123,6 +132,9 @@ hubspot work deals list stage:"Contract sent" # from the copy, offline
|
|
|
123
132
|
hubspot work deals show deal:12 # one deal with its stage, amount and the people on it
|
|
124
133
|
hubspot work pipelines list # the deal pipelines and their stages
|
|
125
134
|
hubspot work leads list # leads, on Sales Hub Professional or Enterprise
|
|
135
|
+
hubspot work deals create --title "Example kitchen" --amount 15000 --currency EUR
|
|
136
|
+
hubspot work deals move deal:12 "Contract sent" # the next stage of its pipeline
|
|
137
|
+
hubspot work deals close deal:12 won
|
|
126
138
|
```
|
|
127
139
|
|
|
128
140
|
### Contacts, companies and owners
|
|
@@ -131,6 +143,8 @@ hubspot work leads list # leads, on Sales Hub Pro
|
|
|
131
143
|
hubspot work people list "Anna" # any contact in the account, read live
|
|
132
144
|
hubspot work organizations list "Example LLC" # any company, read live
|
|
133
145
|
hubspot work users list # the account's owners
|
|
146
|
+
hubspot work people create --name "Anna Example" --email anna@example.com
|
|
147
|
+
hubspot work organizations update 4021 --phone "+34 600 000 000"
|
|
134
148
|
```
|
|
135
149
|
|
|
136
150
|
### Activities and what changed
|
|
@@ -142,15 +156,16 @@ hubspot work changes list "at>=1d" # what changed in the las
|
|
|
142
156
|
|
|
143
157
|
Activities are copied once you turn on the activities setting. `activities list` names the setting.
|
|
144
158
|
|
|
145
|
-
### Any
|
|
159
|
+
### Any operation of the API
|
|
146
160
|
|
|
147
161
|
```sh
|
|
148
|
-
hubspot work api list # every
|
|
162
|
+
hubspot work api list # every operation, without calling HubSpot
|
|
149
163
|
hubspot work api deals-list --limit 5 # one of them
|
|
164
|
+
hubspot work api notes-create --body-file note.json # a note on a deal: a write, which asks first
|
|
150
165
|
```
|
|
151
166
|
|
|
152
|
-
`api` offers every
|
|
153
|
-
|
|
167
|
+
`api` offers every operation of HubSpot's CRM API version 2026-03, from its 15 specs, each with its own permission:
|
|
168
|
+
reads, writes and deletes. Notes, tasks and tickets are written here.
|
|
154
169
|
|
|
155
170
|
### With your other sources
|
|
156
171
|
|
|
@@ -190,6 +205,12 @@ Each profile has a permission level for every command and every API operation: `
|
|
|
190
205
|
A command's key is its name, such as `deals.list`. An API operation's key is `api.<command>`, such as
|
|
191
206
|
`api.deals-search`, and `api` covers them all.
|
|
192
207
|
|
|
208
|
+
Changing a deal, contact or company with its command goes ahead; deleting one asks. Every write of `api` also checks
|
|
209
|
+
its group's `<group>.write`, such as `deals.write`, and every delete its `<group>.delete`: both ask. A write that does
|
|
210
|
+
what a command does checks that command's key too, so `deals.update deny` holds on both paths. A key belongs to the
|
|
211
|
+
account, not to a person, so giving a record an owner checks `crm.assign-others`, which is `deny` until you allow it.
|
|
212
|
+
A GDPR delete of a contact checks `people.erase` as well, so you can deny it alone.
|
|
213
|
+
|
|
193
214
|
```sh
|
|
194
215
|
hubspot work config set permissions.people deny # this profile reads no contacts
|
|
195
216
|
```
|
|
@@ -202,9 +223,12 @@ More: [settings and permissions](docs/configuration.md#permissions)
|
|
|
202
223
|
|
|
203
224
|
## Limits
|
|
204
225
|
|
|
205
|
-
- `hubspot` is tested against a fake account built from HubSpot's API reference,
|
|
206
|
-
|
|
207
|
-
-
|
|
226
|
+
- `hubspot` is tested against a fake account built from HubSpot's API reference, and each release is checked against
|
|
227
|
+
a HubSpot test account.
|
|
228
|
+
- A contact keeps one e-mail and two numbers (phone and mobile), and a company one number and no e-mail: a longer
|
|
229
|
+
list is refused. Leads, notes, tasks and a deal's contacts and company are written through `api`.
|
|
230
|
+
- HubSpot takes no idempotency key: a write that ended in `outcome_unknown` may have happened. Check before repeating.
|
|
231
|
+
- Tickets are read and written only through `api`, not copied.
|
|
208
232
|
- Leads need Sales Hub Professional or Enterprise.
|
|
209
233
|
- Before 1.0, a minor version may change commands, `--json` fields and MCP tools. The changelog marks each such
|
|
210
234
|
change.
|