@iobroker/mcp-server 1.4.0 → 1.5.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/build/types.d.ts CHANGED
@@ -50,6 +50,12 @@ export interface McpConfig {
50
50
  * elicitation (default: true).
51
51
  */
52
52
  confirmDangerous?: boolean;
53
+ /**
54
+ * Let tools hand out short-lived download and upload links (`<mcp>/transfer/<token>`) for data that is
55
+ * too large for a tool result or argument, e.g. a big object list or a .tgz to install (default: true).
56
+ * Useful for clients that can run shell commands, e.g. Claude Code.
57
+ */
58
+ transferLinks?: boolean;
53
59
  certPublic: string;
54
60
  certPrivate: string;
55
61
  certChained: string;
@@ -58,6 +64,6 @@ export interface McpConfig {
58
64
  leConfig?: boolean;
59
65
  }
60
66
  /** The permission toggles, which embedders (e.g. ioBroker.admin) can set without an mcp instance config. */
61
- export type McpPermissions = Pick<McpConfig, 'allowSetState' | 'setStateDestructive' | 'allowObjectChange' | 'allowInstanceControl' | 'allowAdapterManagement' | 'allowPackageInstall' | 'allowScriptChange' | 'sendToAllowlist' | 'confirmDangerous'>;
67
+ export type McpPermissions = Pick<McpConfig, 'allowSetState' | 'setStateDestructive' | 'allowObjectChange' | 'allowInstanceControl' | 'allowAdapterManagement' | 'allowPackageInstall' | 'allowScriptChange' | 'sendToAllowlist' | 'confirmDangerous' | 'transferLinks'>;
62
68
  /** All keys of {@link McpPermissions}. */
63
69
  export declare const PERMISSION_KEYS: (keyof McpPermissions)[];
package/build/types.js CHANGED
@@ -12,5 +12,6 @@ exports.PERMISSION_KEYS = [
12
12
  'allowScriptChange',
13
13
  'sendToAllowlist',
14
14
  'confirmDangerous',
15
+ 'transferLinks',
15
16
  ];
16
17
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AA0EA,0CAA0C;AAC7B,QAAA,eAAe,GAA6B;IACrD,eAAe;IACf,qBAAqB;IACrB,mBAAmB;IACnB,sBAAsB;IACtB,wBAAwB;IACxB,qBAAqB;IACrB,mBAAmB;IACnB,iBAAiB;IACjB,kBAAkB;CACrB,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAiFA,0CAA0C;AAC7B,QAAA,eAAe,GAA6B;IACrD,eAAe;IACf,qBAAqB;IACrB,mBAAmB;IACnB,sBAAsB;IACtB,wBAAwB;IACxB,qBAAqB;IACrB,mBAAmB;IACnB,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;CAClB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/mcp-server",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "MCP server for ioBroker",
5
5
  "author": {
6
6
  "name": "ioBroker",