@desktopaccountingapi/quickbooks-desktop-mcp 0.2.0 → 0.2.1
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 +1 -1
- package/README.md +4 -4
- package/dist/catalog.js +1 -1
- package/dist/catalog.json +43 -43
- package/dist/cli.js +1 -1
- package/dist/http.js +1 -1
- package/dist/index.js +1 -1
- package/dist/key.js +1 -1
- package/dist/server.js +1 -1
- package/dist/stdio.js +1 -1
- package/dist/tools.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## 0.1.0
|
|
4
4
|
|
|
5
|
-
First release of `@desktopaccountingapi/quickbooks-desktop-mcp`, generated from API contract sha256 `
|
|
5
|
+
First release of `@desktopaccountingapi/quickbooks-desktop-mcp`, generated from API contract sha256 `b5774d24bc81` (API version 1.0.0, 275 operations).
|
|
6
6
|
|
|
7
7
|
- Local MCP server over stdio: `npx -y @desktopaccountingapi/quickbooks-desktop-mcp`. Node.js 20 or later on Windows, macOS and Linux; no other runtime and no runtime dependencies.
|
|
8
8
|
- Tools: `list_end_users`, `list_api_endpoints`, `get_api_endpoint_schema`, `invoke_api_endpoint`, `search_docs`; optional one tool per operation with `--resources`.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
- Writes carry an idempotency key and are never retried blindly. Read-only keys are enforced by the API itself.
|
|
7
7
|
- Runs over stdio with Node.js 20 or later on Windows, macOS and Linux, with no runtime dependencies.
|
|
8
8
|
|
|
9
|
-
The current version is **0.2.
|
|
9
|
+
The current version is **0.2.1**. [MCP guide](https://www.desktopaccountingapi.com/docs/guides/mcp/) · [Documentation](https://www.desktopaccountingapi.com/docs/) · [Changelog](CHANGELOG.md) · [Status](https://status.desktopaccountingapi.com)
|
|
10
10
|
|
|
11
11
|
## Hosted server or local package
|
|
12
12
|
|
|
@@ -37,14 +37,14 @@ Open **Settings > Developer > Edit Config** (`claude_desktop_config.json`) and a
|
|
|
37
37
|
"mcpServers": {
|
|
38
38
|
"quickbooks-desktop": {
|
|
39
39
|
"command": "npx",
|
|
40
|
-
"args": ["-y", "@desktopaccountingapi/quickbooks-desktop-mcp@0.2.
|
|
40
|
+
"args": ["-y", "@desktopaccountingapi/quickbooks-desktop-mcp@0.2.1"],
|
|
41
41
|
"env": { "DAAPI_SECRET_KEY": "sk_live_..." }
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
If the file already has an `mcpServers` section, add the `quickbooks-desktop` entry inside it, then restart Claude Desktop. Drop `@0.2.
|
|
47
|
+
If the file already has an `mcpServers` section, add the `quickbooks-desktop` entry inside it, then restart Claude Desktop. Drop `@0.2.1` from the package name to always run the latest version.
|
|
48
48
|
|
|
49
49
|
### Claude Code
|
|
50
50
|
|
|
@@ -173,7 +173,7 @@ Clients send their own secret key as `Authorization: Bearer sk_...`; the server
|
|
|
173
173
|
## Versioning and changelog
|
|
174
174
|
|
|
175
175
|
- The package follows [semantic versioning](https://semver.org/) and is released together with the [Node.js](https://github.com/DesktopAccountingAPI/quickbooks-desktop-node), [Python](https://github.com/DesktopAccountingAPI/quickbooks-desktop-python), [.NET](https://github.com/DesktopAccountingAPI/quickbooks-desktop-dotnet) and [Java](https://github.com/DesktopAccountingAPI/quickbooks-desktop-java) SDKs, with the same version number.
|
|
176
|
-
- It is generated from the Desktop Accounting API contract (sha256 `
|
|
176
|
+
- It is generated from the Desktop Accounting API contract (sha256 `b5774d24bc81...` for this release) by the same pipeline as the SDKs.
|
|
177
177
|
- Every release is listed in [CHANGELOG.md](CHANGELOG.md) and tagged `v<version>` on GitHub.
|
|
178
178
|
|
|
179
179
|
## Support
|
package/dist/catalog.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
2
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
2
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
3
3
|
// MCP endpoint catalog: a compact, input-only view of the public OpenAPI contract that the MCP
|
|
4
4
|
// tools search, describe and invoke. Built from packages/api-contract/generated/openapi.json by
|
|
5
5
|
// scripts/api-contract.mjs (committed as packages/mcp/generated/catalog.json, drift-checked) and
|
package/dist/catalog.json
CHANGED
|
@@ -17785,7 +17785,7 @@
|
|
|
17785
17785
|
"revisionNumber": {
|
|
17786
17786
|
"type": "string",
|
|
17787
17787
|
"maxLength": 16,
|
|
17788
|
-
"description": "Current revision of this account. Send it unchanged when updating; a stale value is rejected."
|
|
17788
|
+
"description": "Current revision of this account. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
17789
17789
|
},
|
|
17790
17790
|
"name": {
|
|
17791
17791
|
"type": "string",
|
|
@@ -18439,7 +18439,7 @@
|
|
|
18439
18439
|
"revisionNumber": {
|
|
18440
18440
|
"type": "string",
|
|
18441
18441
|
"maxLength": 16,
|
|
18442
|
-
"description": "Current revision of this bill check payment. Send it unchanged when updating; a stale value is rejected."
|
|
18442
|
+
"description": "Current revision of this bill check payment. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
18443
18443
|
},
|
|
18444
18444
|
"transactionDate": {
|
|
18445
18445
|
"type": "string",
|
|
@@ -18668,7 +18668,7 @@
|
|
|
18668
18668
|
"revisionNumber": {
|
|
18669
18669
|
"type": "string",
|
|
18670
18670
|
"maxLength": 16,
|
|
18671
|
-
"description": "Current revision of this bill. Send it unchanged when updating; a stale value is rejected."
|
|
18671
|
+
"description": "Current revision of this bill. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
18672
18672
|
},
|
|
18673
18673
|
"vendorId": {
|
|
18674
18674
|
"type": "string",
|
|
@@ -18867,7 +18867,7 @@
|
|
|
18867
18867
|
"revisionNumber": {
|
|
18868
18868
|
"type": "string",
|
|
18869
18869
|
"maxLength": 16,
|
|
18870
|
-
"description": "Current revision of this build assembly. Send it unchanged when updating; a stale value is rejected."
|
|
18870
|
+
"description": "Current revision of this build assembly. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
18871
18871
|
},
|
|
18872
18872
|
"inventorySiteId": {
|
|
18873
18873
|
"type": "string",
|
|
@@ -19051,7 +19051,7 @@
|
|
|
19051
19051
|
"revisionNumber": {
|
|
19052
19052
|
"type": "string",
|
|
19053
19053
|
"maxLength": 16,
|
|
19054
|
-
"description": "Current revision of this check. Send it unchanged when updating; a stale value is rejected."
|
|
19054
|
+
"description": "Current revision of this check. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
19055
19055
|
},
|
|
19056
19056
|
"bankAccountId": {
|
|
19057
19057
|
"type": "string",
|
|
@@ -19184,7 +19184,7 @@
|
|
|
19184
19184
|
"revisionNumber": {
|
|
19185
19185
|
"type": "string",
|
|
19186
19186
|
"maxLength": 16,
|
|
19187
|
-
"description": "Current revision of this class. Send it unchanged when updating; a stale value is rejected."
|
|
19187
|
+
"description": "Current revision of this class. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
19188
19188
|
},
|
|
19189
19189
|
"name": {
|
|
19190
19190
|
"type": "string",
|
|
@@ -19276,7 +19276,7 @@
|
|
|
19276
19276
|
"null"
|
|
19277
19277
|
],
|
|
19278
19278
|
"maxLength": 16,
|
|
19279
|
-
"description": "Current revision of this contacts. Send it unchanged when updating; a stale value is rejected.",
|
|
19279
|
+
"description": "Current revision of this contacts. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected.",
|
|
19280
19280
|
"x-daapi-clearable": true
|
|
19281
19281
|
},
|
|
19282
19282
|
"salutation": {
|
|
@@ -19410,7 +19410,7 @@
|
|
|
19410
19410
|
"revisionNumber": {
|
|
19411
19411
|
"type": "string",
|
|
19412
19412
|
"maxLength": 16,
|
|
19413
|
-
"description": "Current revision of this credit card charge. Send it unchanged when updating; a stale value is rejected."
|
|
19413
|
+
"description": "Current revision of this credit card charge. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
19414
19414
|
},
|
|
19415
19415
|
"accountId": {
|
|
19416
19416
|
"type": "string",
|
|
@@ -19603,7 +19603,7 @@
|
|
|
19603
19603
|
"revisionNumber": {
|
|
19604
19604
|
"type": "string",
|
|
19605
19605
|
"maxLength": 16,
|
|
19606
|
-
"description": "Current revision of this credit card credit. Send it unchanged when updating; a stale value is rejected."
|
|
19606
|
+
"description": "Current revision of this credit card credit. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
19607
19607
|
},
|
|
19608
19608
|
"accountId": {
|
|
19609
19609
|
"type": "string",
|
|
@@ -20418,7 +20418,7 @@
|
|
|
20418
20418
|
"revisionNumber": {
|
|
20419
20419
|
"type": "string",
|
|
20420
20420
|
"maxLength": 16,
|
|
20421
|
-
"description": "Current revision of this credit memo. Send it unchanged when updating; a stale value is rejected."
|
|
20421
|
+
"description": "Current revision of this credit memo. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
20422
20422
|
},
|
|
20423
20423
|
"customerId": {
|
|
20424
20424
|
"type": "string",
|
|
@@ -20685,7 +20685,7 @@
|
|
|
20685
20685
|
"revisionNumber": {
|
|
20686
20686
|
"type": "string",
|
|
20687
20687
|
"maxLength": 16,
|
|
20688
|
-
"description": "Current revision of this currency. Send it unchanged when updating; a stale value is rejected."
|
|
20688
|
+
"description": "Current revision of this currency. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
20689
20689
|
},
|
|
20690
20690
|
"name": {
|
|
20691
20691
|
"type": "string",
|
|
@@ -21103,7 +21103,7 @@
|
|
|
21103
21103
|
"revisionNumber": {
|
|
21104
21104
|
"type": "string",
|
|
21105
21105
|
"maxLength": 16,
|
|
21106
|
-
"description": "Current revision of this customer. Send it unchanged when updating; a stale value is rejected."
|
|
21106
|
+
"description": "Current revision of this customer. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
21107
21107
|
},
|
|
21108
21108
|
"name": {
|
|
21109
21109
|
"type": "string",
|
|
@@ -21894,7 +21894,7 @@
|
|
|
21894
21894
|
"revisionNumber": {
|
|
21895
21895
|
"type": "string",
|
|
21896
21896
|
"maxLength": 16,
|
|
21897
|
-
"description": "Current revision of this deposit. Send it unchanged when updating; a stale value is rejected."
|
|
21897
|
+
"description": "Current revision of this deposit. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
21898
21898
|
},
|
|
21899
21899
|
"transactionDate": {
|
|
21900
21900
|
"type": "string",
|
|
@@ -22034,7 +22034,7 @@
|
|
|
22034
22034
|
"revisionNumber": {
|
|
22035
22035
|
"type": "string",
|
|
22036
22036
|
"maxLength": 16,
|
|
22037
|
-
"description": "Current revision of this discount item. Send it unchanged when updating; a stale value is rejected."
|
|
22037
|
+
"description": "Current revision of this discount item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
22038
22038
|
},
|
|
22039
22039
|
"name": {
|
|
22040
22040
|
"type": "string",
|
|
@@ -22578,7 +22578,7 @@
|
|
|
22578
22578
|
"revisionNumber": {
|
|
22579
22579
|
"type": "string",
|
|
22580
22580
|
"maxLength": 16,
|
|
22581
|
-
"description": "Current revision of this employee. Send it unchanged when updating; a stale value is rejected."
|
|
22581
|
+
"description": "Current revision of this employee. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
22582
22582
|
},
|
|
22583
22583
|
"isActive": {
|
|
22584
22584
|
"type": "boolean",
|
|
@@ -23456,7 +23456,7 @@
|
|
|
23456
23456
|
"revisionNumber": {
|
|
23457
23457
|
"type": "string",
|
|
23458
23458
|
"maxLength": 16,
|
|
23459
|
-
"description": "Current revision of this estimate. Send it unchanged when updating; a stale value is rejected."
|
|
23459
|
+
"description": "Current revision of this estimate. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
23460
23460
|
},
|
|
23461
23461
|
"customerId": {
|
|
23462
23462
|
"type": "string",
|
|
@@ -24088,7 +24088,7 @@
|
|
|
24088
24088
|
"revisionNumber": {
|
|
24089
24089
|
"type": "string",
|
|
24090
24090
|
"maxLength": 16,
|
|
24091
|
-
"description": "Current revision of this inventory adjustment. Send it unchanged when updating; a stale value is rejected."
|
|
24091
|
+
"description": "Current revision of this inventory adjustment. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
24092
24092
|
},
|
|
24093
24093
|
"accountId": {
|
|
24094
24094
|
"type": "string",
|
|
@@ -24310,7 +24310,7 @@
|
|
|
24310
24310
|
"revisionNumber": {
|
|
24311
24311
|
"type": "string",
|
|
24312
24312
|
"maxLength": 16,
|
|
24313
|
-
"description": "Current revision of this inventory assembly item. Send it unchanged when updating; a stale value is rejected."
|
|
24313
|
+
"description": "Current revision of this inventory assembly item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
24314
24314
|
},
|
|
24315
24315
|
"name": {
|
|
24316
24316
|
"type": "string",
|
|
@@ -24607,7 +24607,7 @@
|
|
|
24607
24607
|
"revisionNumber": {
|
|
24608
24608
|
"type": "string",
|
|
24609
24609
|
"maxLength": 16,
|
|
24610
|
-
"description": "Current revision of this inventory item. Send it unchanged when updating; a stale value is rejected."
|
|
24610
|
+
"description": "Current revision of this inventory item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
24611
24611
|
},
|
|
24612
24612
|
"name": {
|
|
24613
24613
|
"type": "string",
|
|
@@ -24810,7 +24810,7 @@
|
|
|
24810
24810
|
"revisionNumber": {
|
|
24811
24811
|
"type": "string",
|
|
24812
24812
|
"maxLength": 16,
|
|
24813
|
-
"description": "Current revision of this inventory site. Send it unchanged when updating; a stale value is rejected."
|
|
24813
|
+
"description": "Current revision of this inventory site. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
24814
24814
|
},
|
|
24815
24815
|
"name": {
|
|
24816
24816
|
"type": "string",
|
|
@@ -25482,7 +25482,7 @@
|
|
|
25482
25482
|
"revisionNumber": {
|
|
25483
25483
|
"type": "string",
|
|
25484
25484
|
"maxLength": 16,
|
|
25485
|
-
"description": "Current revision of this invoice. Send it unchanged when updating; a stale value is rejected."
|
|
25485
|
+
"description": "Current revision of this invoice. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
25486
25486
|
},
|
|
25487
25487
|
"customerId": {
|
|
25488
25488
|
"type": "string",
|
|
@@ -25892,7 +25892,7 @@
|
|
|
25892
25892
|
"revisionNumber": {
|
|
25893
25893
|
"type": "string",
|
|
25894
25894
|
"maxLength": 16,
|
|
25895
|
-
"description": "Current revision of this item group. Send it unchanged when updating; a stale value is rejected."
|
|
25895
|
+
"description": "Current revision of this item group. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
25896
25896
|
},
|
|
25897
25897
|
"name": {
|
|
25898
25898
|
"type": "string",
|
|
@@ -26300,7 +26300,7 @@
|
|
|
26300
26300
|
"revisionNumber": {
|
|
26301
26301
|
"type": "string",
|
|
26302
26302
|
"maxLength": 16,
|
|
26303
|
-
"description": "Current revision of this item receipt. Send it unchanged when updating; a stale value is rejected."
|
|
26303
|
+
"description": "Current revision of this item receipt. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
26304
26304
|
},
|
|
26305
26305
|
"vendorId": {
|
|
26306
26306
|
"type": "string",
|
|
@@ -26586,7 +26586,7 @@
|
|
|
26586
26586
|
"revisionNumber": {
|
|
26587
26587
|
"type": "string",
|
|
26588
26588
|
"maxLength": 16,
|
|
26589
|
-
"description": "Current revision of this journal entry. Send it unchanged when updating; a stale value is rejected."
|
|
26589
|
+
"description": "Current revision of this journal entry. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
26590
26590
|
},
|
|
26591
26591
|
"transactionDate": {
|
|
26592
26592
|
"type": "string",
|
|
@@ -26831,7 +26831,7 @@
|
|
|
26831
26831
|
"revisionNumber": {
|
|
26832
26832
|
"type": "string",
|
|
26833
26833
|
"maxLength": 16,
|
|
26834
|
-
"description": "Current revision of this non-inventory item. Send it unchanged when updating; a stale value is rejected."
|
|
26834
|
+
"description": "Current revision of this non-inventory item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
26835
26835
|
},
|
|
26836
26836
|
"name": {
|
|
26837
26837
|
"type": "string",
|
|
@@ -27074,7 +27074,7 @@
|
|
|
27074
27074
|
"revisionNumber": {
|
|
27075
27075
|
"type": "string",
|
|
27076
27076
|
"maxLength": 16,
|
|
27077
|
-
"description": "Current revision of this other charge item. Send it unchanged when updating; a stale value is rejected."
|
|
27077
|
+
"description": "Current revision of this other charge item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
27078
27078
|
},
|
|
27079
27079
|
"name": {
|
|
27080
27080
|
"type": "string",
|
|
@@ -27248,7 +27248,7 @@
|
|
|
27248
27248
|
"revisionNumber": {
|
|
27249
27249
|
"type": "string",
|
|
27250
27250
|
"maxLength": 16,
|
|
27251
|
-
"description": "Current revision of this other name. Send it unchanged when updating; a stale value is rejected."
|
|
27251
|
+
"description": "Current revision of this other name. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
27252
27252
|
},
|
|
27253
27253
|
"name": {
|
|
27254
27254
|
"type": "string",
|
|
@@ -27627,7 +27627,7 @@
|
|
|
27627
27627
|
"revisionNumber": {
|
|
27628
27628
|
"type": "string",
|
|
27629
27629
|
"maxLength": 16,
|
|
27630
|
-
"description": "Current revision of this price level. Send it unchanged when updating; a stale value is rejected."
|
|
27630
|
+
"description": "Current revision of this price level. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
27631
27631
|
},
|
|
27632
27632
|
"name": {
|
|
27633
27633
|
"type": "string",
|
|
@@ -28180,7 +28180,7 @@
|
|
|
28180
28180
|
"revisionNumber": {
|
|
28181
28181
|
"type": "string",
|
|
28182
28182
|
"maxLength": 16,
|
|
28183
|
-
"description": "Current revision of this purchase order. Send it unchanged when updating; a stale value is rejected."
|
|
28183
|
+
"description": "Current revision of this purchase order. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
28184
28184
|
},
|
|
28185
28185
|
"vendorId": {
|
|
28186
28186
|
"type": "string",
|
|
@@ -28456,7 +28456,7 @@
|
|
|
28456
28456
|
"revisionNumber": {
|
|
28457
28457
|
"type": "string",
|
|
28458
28458
|
"maxLength": 16,
|
|
28459
|
-
"description": "Current revision of this received payment. Send it unchanged when updating; a stale value is rejected."
|
|
28459
|
+
"description": "Current revision of this received payment. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
28460
28460
|
},
|
|
28461
28461
|
"customerId": {
|
|
28462
28462
|
"type": "string",
|
|
@@ -29758,7 +29758,7 @@
|
|
|
29758
29758
|
"revisionNumber": {
|
|
29759
29759
|
"type": "string",
|
|
29760
29760
|
"maxLength": 16,
|
|
29761
|
-
"description": "Current revision of this sales order. Send it unchanged when updating; a stale value is rejected."
|
|
29761
|
+
"description": "Current revision of this sales order. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
29762
29762
|
},
|
|
29763
29763
|
"customerId": {
|
|
29764
29764
|
"type": "string",
|
|
@@ -30561,7 +30561,7 @@
|
|
|
30561
30561
|
"revisionNumber": {
|
|
30562
30562
|
"type": "string",
|
|
30563
30563
|
"maxLength": 16,
|
|
30564
|
-
"description": "Current revision of this sales receipt. Send it unchanged when updating; a stale value is rejected."
|
|
30564
|
+
"description": "Current revision of this sales receipt. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
30565
30565
|
},
|
|
30566
30566
|
"customerId": {
|
|
30567
30567
|
"type": "string",
|
|
@@ -30786,7 +30786,7 @@
|
|
|
30786
30786
|
"revisionNumber": {
|
|
30787
30787
|
"type": "string",
|
|
30788
30788
|
"maxLength": 16,
|
|
30789
|
-
"description": "Current revision of this sales representative. Send it unchanged when updating; a stale value is rejected."
|
|
30789
|
+
"description": "Current revision of this sales representative. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
30790
30790
|
},
|
|
30791
30791
|
"initial": {
|
|
30792
30792
|
"type": [
|
|
@@ -30850,7 +30850,7 @@
|
|
|
30850
30850
|
"revisionNumber": {
|
|
30851
30851
|
"type": "string",
|
|
30852
30852
|
"maxLength": 16,
|
|
30853
|
-
"description": "Current revision of this sales tax code. Send it unchanged when updating; a stale value is rejected."
|
|
30853
|
+
"description": "Current revision of this sales tax code. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
30854
30854
|
},
|
|
30855
30855
|
"name": {
|
|
30856
30856
|
"type": "string",
|
|
@@ -30938,7 +30938,7 @@
|
|
|
30938
30938
|
"revisionNumber": {
|
|
30939
30939
|
"type": "string",
|
|
30940
30940
|
"maxLength": 16,
|
|
30941
|
-
"description": "Current revision of this sales tax group item. Send it unchanged when updating; a stale value is rejected."
|
|
30941
|
+
"description": "Current revision of this sales tax group item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
30942
30942
|
},
|
|
30943
30943
|
"name": {
|
|
30944
30944
|
"type": "string",
|
|
@@ -31051,7 +31051,7 @@
|
|
|
31051
31051
|
"revisionNumber": {
|
|
31052
31052
|
"type": "string",
|
|
31053
31053
|
"maxLength": 16,
|
|
31054
|
-
"description": "Current revision of this sales tax item. Send it unchanged when updating; a stale value is rejected."
|
|
31054
|
+
"description": "Current revision of this sales tax item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
31055
31055
|
},
|
|
31056
31056
|
"name": {
|
|
31057
31057
|
"type": "string",
|
|
@@ -31205,7 +31205,7 @@
|
|
|
31205
31205
|
"revisionNumber": {
|
|
31206
31206
|
"type": "string",
|
|
31207
31207
|
"maxLength": 16,
|
|
31208
|
-
"description": "Current revision of this sales tax payment check. Send it unchanged when updating; a stale value is rejected."
|
|
31208
|
+
"description": "Current revision of this sales tax payment check. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
31209
31209
|
},
|
|
31210
31210
|
"transactionDate": {
|
|
31211
31211
|
"type": "string",
|
|
@@ -31383,7 +31383,7 @@
|
|
|
31383
31383
|
"revisionNumber": {
|
|
31384
31384
|
"type": "string",
|
|
31385
31385
|
"maxLength": 16,
|
|
31386
|
-
"description": "Current revision of this service item. Send it unchanged when updating; a stale value is rejected."
|
|
31386
|
+
"description": "Current revision of this service item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
31387
31387
|
},
|
|
31388
31388
|
"name": {
|
|
31389
31389
|
"type": "string",
|
|
@@ -31928,7 +31928,7 @@
|
|
|
31928
31928
|
"revisionNumber": {
|
|
31929
31929
|
"type": "string",
|
|
31930
31930
|
"maxLength": 16,
|
|
31931
|
-
"description": "Current revision of this subtotal item. Send it unchanged when updating; a stale value is rejected."
|
|
31931
|
+
"description": "Current revision of this subtotal item. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
31932
31932
|
},
|
|
31933
31933
|
"name": {
|
|
31934
31934
|
"type": "string",
|
|
@@ -32127,7 +32127,7 @@
|
|
|
32127
32127
|
"revisionNumber": {
|
|
32128
32128
|
"type": "string",
|
|
32129
32129
|
"maxLength": 16,
|
|
32130
|
-
"description": "Current revision of this time tracking activity. Send it unchanged when updating; a stale value is rejected."
|
|
32130
|
+
"description": "Current revision of this time tracking activity. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
32131
32131
|
},
|
|
32132
32132
|
"transactionDate": {
|
|
32133
32133
|
"type": "string",
|
|
@@ -32307,7 +32307,7 @@
|
|
|
32307
32307
|
"revisionNumber": {
|
|
32308
32308
|
"type": "string",
|
|
32309
32309
|
"maxLength": 16,
|
|
32310
|
-
"description": "Current revision of this transfer. Send it unchanged when updating; a stale value is rejected."
|
|
32310
|
+
"description": "Current revision of this transfer. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
32311
32311
|
},
|
|
32312
32312
|
"transactionDate": {
|
|
32313
32313
|
"type": "string",
|
|
@@ -32753,7 +32753,7 @@
|
|
|
32753
32753
|
"revisionNumber": {
|
|
32754
32754
|
"type": "string",
|
|
32755
32755
|
"maxLength": 16,
|
|
32756
|
-
"description": "Current revision of this vendor credit. Send it unchanged when updating; a stale value is rejected."
|
|
32756
|
+
"description": "Current revision of this vendor credit. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
32757
32757
|
},
|
|
32758
32758
|
"vendorId": {
|
|
32759
32759
|
"type": "string",
|
|
@@ -32839,7 +32839,7 @@
|
|
|
32839
32839
|
"revisionNumber": {
|
|
32840
32840
|
"type": "string",
|
|
32841
32841
|
"maxLength": 16,
|
|
32842
|
-
"description": "Current revision of this vendor. Send it unchanged when updating; a stale value is rejected."
|
|
32842
|
+
"description": "Current revision of this vendor. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected."
|
|
32843
32843
|
},
|
|
32844
32844
|
"name": {
|
|
32845
32845
|
"type": "string",
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
3
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
3
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
4
4
|
// Local (stdio) MCP server for the Desktop Accounting API.
|
|
5
5
|
//
|
|
6
6
|
// npx -y @desktopaccountingapi/quickbooks-desktop-mcp [--read-only] [--resources invoices,customers] [--end-user-id eu_...]
|
package/dist/http.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
2
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
2
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
3
3
|
// Streamable HTTP transport (MCP 2025-03-26 and later), stateless: each POST carries one JSON-RPC
|
|
4
4
|
// message (or a batch, for 2025-03-26 clients) and is answered with application/json. No server
|
|
5
5
|
// sessions and no server-initiated stream, so GET and DELETE return 405. Web-standard Request and
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
2
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
2
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
3
3
|
// Runtime-agnostic MCP server core (no Node-only imports); the tool design is in tools.ts.
|
|
4
4
|
export { buildCatalog, defsFor } from './catalog.js';
|
|
5
5
|
export { handleMcpRequest } from './http.js';
|
package/dist/key.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
2
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
2
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
3
3
|
// Local secret-key check (same rule as the API and SDKs, docs/api-conventions.md section 2):
|
|
4
4
|
// `sk_live_`/`sk_test_` + 40 base62 chars, the last 6 being the base62 CRC32 of the first 34.
|
|
5
5
|
// Rejecting a mistyped key locally keeps it from counting against the API's per-IP
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
2
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
2
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
3
3
|
// Model Context Protocol server core: JSON-RPC 2.0 message handling for the `tools` capability.
|
|
4
4
|
// Transport-independent; stdio.ts and http.ts carry the messages. Implements the lifecycle
|
|
5
5
|
// (initialize with version negotiation, notifications/initialized, ping) plus tools/list and
|
package/dist/stdio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
2
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
2
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
3
3
|
// stdio transport: newline-delimited JSON-RPC on stdin/stdout (MCP specification, "stdio").
|
|
4
4
|
// Only protocol messages go to stdout; diagnostics go to stderr. Pure Node.js (no Deno, no
|
|
5
5
|
// POSIX-only features), so it runs the same on Windows, macOS and Linux.
|
package/dist/tools.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by packages/sdk-generator from packages/mcp/src. DO NOT EDIT.
|
|
2
|
-
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:
|
|
2
|
+
// Contract: packages/api-contract/generated/openapi.json (OpenAPI 3.1.0) sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9
|
|
3
3
|
// MCP tools over the Desktop Accounting API. Runtime-agnostic (fetch and Web Crypto only), so the
|
|
4
4
|
// same code runs in the hosted Cloudflare Worker (apps/mcp) and the stdio npm package.
|
|
5
5
|
//
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desktopaccountingapi/quickbooks-desktop-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for Desktop Accounting API: QuickBooks Desktop for Claude, Cursor, VS Code, Codex and other AI tools.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Desktop Accounting API",
|