@tenkeybridge/mcp 0.2.0 → 0.4.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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  **MCP server for [TenkeyBridge](https://tenkeybridge.com) — give AI agents QuickBooks
4
4
  Desktop & Enterprise through the QuickBooks Online–compatible REST API.**
5
5
 
6
- Five tools — `query`, `get`, `create`, `update`, `delete` — over the live API, plus a
6
+ Six tools — `query`, `get`, `create`, `update`, `delete`, `void` (Invoice, SalesReceipt, Purchase, BillPayment) — over the live API, plus a
7
7
  compatibility-catalog resource (`compat://catalog`, `compat://entity/{name}`) so agents
8
8
  can check entity and field support *before* calling instead of learning by 400. Errors
9
9
  come back structured (`status`, `code`, `fixes`, `docsUrl`) for self-correction.
@@ -23,7 +23,7 @@ issues the client id/secret; the refresh token comes from the OAuth code flow
23
23
  "command": "npx",
24
24
  "args": ["-y", "@tenkeybridge/mcp"],
25
25
  "env": {
26
- "TKB_REALM_ID": "9130350000000000",
26
+ "TKB_COMPANY_ID": "9130350000000000",
27
27
  "TKB_CLIENT_ID": "tkb-ci-example",
28
28
  "TKB_CLIENT_SECRET": "…",
29
29
  "TKB_REFRESH_TOKEN": "…"
@@ -34,7 +34,7 @@ issues the client id/secret; the refresh token comes from the OAuth code flow
34
34
  ```
35
35
 
36
36
  Refresh tokens rotate; the server persists the newest pair to
37
- `~/.tenkeybridge/mcp-tokens-<realmId>.json` (override with `TKB_TOKEN_FILE`) and picks
37
+ `~/.tenkeybridge/mcp-tokens-<companyId>.json` (override with `TKB_TOKEN_FILE`) and picks
38
38
  it up on restart. Alternatives: a static `TKB_ACCESS_TOKEN`, and `TKB_BASE_URL` to
39
39
  point at a non-production gateway.
40
40
 
@@ -42,7 +42,7 @@ point at a non-production gateway.
42
42
 
43
43
  | Variable | Required | Purpose |
44
44
  | --- | --- | --- |
45
- | `TKB_REALM_ID` | yes | Realm id of the connected company file (shown in the portal). |
45
+ | `TKB_COMPANY_ID` | yes | Company ID of the connected company file (shown in the portal). `TKB_REALM_ID` still works as a deprecated alias. |
46
46
  | `TKB_CLIENT_ID` / `TKB_CLIENT_SECRET` / `TKB_REFRESH_TOKEN` | yes* | OAuth client id/secret from the portal, plus a refresh token from the OAuth code flow (see the [Authentication guide](https://docs.tenkeybridge.com/guide/authentication)). |
47
47
  | `TKB_ACCESS_TOKEN` | yes* | Static token alternative to the trio above. |
48
48
  | `TKB_TOKEN_FILE` | no | Where rotated refresh tokens are persisted. |