iit-mcp-autotask 0.63.1 → 0.63.2

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
@@ -139,6 +139,12 @@ server metadata: [`server.json`](server.json) · per-workflow mapping:
139
139
  `contracts.profitability`): [`docs/contract-economics.md`](docs/contract-economics.md) · company-location
140
140
  fields on writes: [`docs/company-location-fields.md`](docs/company-location-fields.md).
141
141
 
142
+ Task notes use the generic read and operator write paths: discover `task_notes` with `autotask_catalog`,
143
+ then `autotask_describe` for task/note positional arguments and field metadata. Creation requires a
144
+ numeric body `taskID` matching the task parent. Select intended note visibility from current picklists
145
+ before applying; baseline-project, category-title, impersonation and rich-text restrictions still apply.
146
+ The API has no task-note DELETE; create previews state that limit and do not promise undo.
147
+
142
148
  ### Profiles and writes
143
149
 
144
150
  | Variable | Default | Effect |
package/capabilities.json CHANGED
@@ -74,7 +74,7 @@
74
74
  },
75
75
  {
76
76
  "id": "autotask.platform.catalog",
77
- "description": "Find the exact operation key for anything without a dedicated tool: ranked search (q) over the 1,268 registry operations, with effect and whether this deployment serves it. No vendor call.",
77
+ "description": "Find the exact operation key for anything without a dedicated tool: ranked search (q) over the 1,276 registry operations, with effect and whether this deployment serves it. No vendor call.",
78
78
  "mcpPrimitive": "tool",
79
79
  "toolName": "autotask_catalog",
80
80
  "type": "read",
@@ -480,7 +480,7 @@
480
480
  "autotask_describe",
481
481
  "autotask_read"
482
482
  ],
483
- "backingRegistryOperations": 1268,
483
+ "backingRegistryOperations": 1276,
484
484
  "note": "autotask_catalog finds the exact operation key (ranked search), autotask_describe serves its contract, autotask_read runs any effect=read key. Writes go through the operator profile (autotask_write then autotask_apply); authenticate.* is never served."
485
485
  },
486
486
  "schemas": {}
@@ -107,7 +107,7 @@ export declare function sdkCacheOptions(cache: 'on' | 'off'): Pick<AutotaskConfi
107
107
  * fails the boot (or the CI test) instead of quietly shipping a tool surface that no longer
108
108
  * describes the SDK behind it.
109
109
  */
110
- export declare const BUILT_AGAINST_PLAN_HASH = "275fdf2fd6712f9384c1a65f98c5faf1fda9695475ffbdf35c08e574c18b4157";
110
+ export declare const BUILT_AGAINST_PLAN_HASH = "79f3968f072705fbc7b479dba6863a27bde47deee7b85885eda8d019302f9c25";
111
111
  /**
112
112
  * Fail fast when the installed SDK's plan has moved out from under this surface.
113
113
  * Called at boot (main.ts) and safe to call repeatedly (pure comparison).
@@ -187,7 +187,7 @@ export function sdkCacheOptions(cache) {
187
187
  * fails the boot (or the CI test) instead of quietly shipping a tool surface that no longer
188
188
  * describes the SDK behind it.
189
189
  */
190
- export const BUILT_AGAINST_PLAN_HASH = '275fdf2fd6712f9384c1a65f98c5faf1fda9695475ffbdf35c08e574c18b4157';
190
+ export const BUILT_AGAINST_PLAN_HASH = '79f3968f072705fbc7b479dba6863a27bde47deee7b85885eda8d019302f9c25';
191
191
  /**
192
192
  * Fail fast when the installed SDK's plan has moved out from under this surface.
193
193
  * Called at boot (main.ts) and safe to call repeatedly (pure comparison).
@@ -363,7 +363,8 @@ export async function takeSnapshot(ctx, record, parsed, duplicateFields, signal)
363
363
  return reason('INPUT_INVALID', `${record.resource} ${targets.id} does not exist`, 'args.0');
364
364
  }
365
365
  }
366
- if (writeShape(record) === 'delete_child' && parent !== undefined) {
366
+ // TaskNotes collection PATCH identifies the note by its body id; verify the approved task binding.
367
+ if ((writeShape(record) === 'delete_child' || record.id === 'task_notes.update') && parent !== undefined) {
367
368
  const targetParent = ci(current, parent.field);
368
369
  if (!isRefId(targetParent, parent.resource))
369
370
  return reason('TARGET_NOT_IN_SCOPE', `${record.id}: the target's ${parent.field} could not be established from the current record`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iit-mcp-autotask",
3
- "version": "0.63.1",
3
+ "version": "0.63.2",
4
4
  "description": "MCP server for the Autotask (Datto) PSA domain, built on the node-autotask SDK",
5
5
  "license": "MIT",
6
6
  "author": "Max Soukhomlinov",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@modelcontextprotocol/server": "^2.2.0",
57
- "node-autotask": "0.71.0",
57
+ "node-autotask": "0.72.0",
58
58
  "zod": "^4.6.7"
59
59
  },
60
60
  "devDependencies": {
package/server.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iit-mcp-autotask",
3
- "version": "0.63.1",
3
+ "version": "0.63.2",
4
4
  "description": "MCP server for the Autotask (Datto) PSA API, powered by the node-autotask SDK",
5
5
  "mcpProtocolBaseline": "2026-07-28",
6
6
  "legacyProtocolFallback": "2025-11-25",
@@ -62,7 +62,7 @@
62
62
  "capabilitiesManifest": "capabilities.json",
63
63
  "sdk": {
64
64
  "package": "node-autotask",
65
- "versionRange": "0.71.0"
65
+ "versionRange": "0.72.0"
66
66
  },
67
67
  "vendorExtensions": false,
68
68
  "credentialModelNote": "per-request; server-held under stdio or, on HTTP, only behind AUTOTASK_HTTP_AUTH=tokens; operator plans and the ledger are keyed by principal and tenant id, never by credential, and an apply authenticates the request credential and restores the plan's per-write impersonation"