@tickernelz/paperclip-pro-mcp-server 2026.1022.0 → 2026.1022.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.
@@ -0,0 +1,18 @@
1
+ import type { ToolDefinition } from "./tools.js";
2
+ export type ConnectorToolSpec = {
3
+ name: string;
4
+ description: string;
5
+ inputSchema: Record<string, unknown>;
6
+ };
7
+ export type ConnectorMcpTools = {
8
+ tools: ConnectorToolSpec[];
9
+ call: (input: {
10
+ tool: string;
11
+ arguments: Record<string, unknown>;
12
+ }) => Promise<unknown>;
13
+ };
14
+ export type ConnectorToolDefinition = ToolDefinition & {
15
+ inputSchemaJson: Record<string, unknown>;
16
+ };
17
+ export declare function createConnectorToolDefinitions(connector: ConnectorMcpTools): ConnectorToolDefinition[];
18
+ //# sourceMappingURL=connector-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connector-tools.d.ts","sourceRoot":"","sources":["../src/connector-tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,IAAI,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CACzF,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,GAAG;IAAE,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAAC;AAIpG,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,iBAAiB,GAAG,uBAAuB,EAAE,CActG"}
@@ -0,0 +1,20 @@
1
+ import { z } from "zod";
2
+ import { formatErrorResponse, formatTextResponse } from "./format.js";
3
+ const passthroughArguments = z.object({}).loose();
4
+ export function createConnectorToolDefinitions(connector) {
5
+ return connector.tools.map((tool) => ({
6
+ name: tool.name,
7
+ description: tool.description,
8
+ schema: passthroughArguments,
9
+ inputSchemaJson: tool.inputSchema,
10
+ execute: async (input) => {
11
+ try {
12
+ return formatTextResponse(await connector.call({ tool: tool.name, arguments: input }));
13
+ }
14
+ catch (error) {
15
+ return formatErrorResponse(error);
16
+ }
17
+ },
18
+ }));
19
+ }
20
+ //# sourceMappingURL=connector-tools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connector-tools.js","sourceRoot":"","sources":["../src/connector-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAgBtE,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;AAElD,MAAM,UAAU,8BAA8B,CAAC,SAA4B;IACzE,OAAO,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpC,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,MAAM,EAAE,oBAAoB;QAC5B,eAAe,EAAE,IAAI,CAAC,WAAW;QACjC,OAAO,EAAE,KAAK,EAAE,KAA8B,EAAE,EAAE;YAChD,IAAI,CAAC;gBACH,OAAO,kBAAkB,CAAC,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;YACzF,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,mBAAmB,CAAC,KAAK,CAAC,CAAC;YACpC,CAAC;QACH,CAAC;KACF,CAAC,CAAC,CAAC;AACN,CAAC"}
@@ -22466,6 +22466,38 @@
22466
22466
  }
22467
22467
  ]
22468
22468
  },
22469
+ {
22470
+ "name": "paperclipGetLocalBrowserBridge",
22471
+ "operationId": "GET /api/local-browser/bridge",
22472
+ "method": "GET",
22473
+ "path": "/local-browser/bridge",
22474
+ "description": "Explain the pairing bridge address to a browser visitor",
22475
+ "toolset": "extended",
22476
+ "authority": "board",
22477
+ "authoritySource": "registry",
22478
+ "tags": [
22479
+ "Local Browser"
22480
+ ],
22481
+ "annotations": {
22482
+ "readOnlyHint": true,
22483
+ "destructiveHint": false,
22484
+ "idempotentHint": true
22485
+ },
22486
+ "guards": [],
22487
+ "permissions": [],
22488
+ "boardGuard": null,
22489
+ "authorityCapability": null,
22490
+ "parameters": [
22491
+ {
22492
+ "name": "code",
22493
+ "in": "query",
22494
+ "required": false,
22495
+ "schema": {
22496
+ "type": "string"
22497
+ }
22498
+ }
22499
+ ]
22500
+ },
22469
22501
  {
22470
22502
  "name": "paperclipGetLocalBrowserPairing",
22471
22503
  "operationId": "GET /api/local-browser/pairing/{code}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tickernelz/paperclip-pro-mcp-server",
3
- "version": "2026.1022.0",
3
+ "version": "2026.1022.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/tickernelz/paperclip-pro",
6
6
  "bugs": {
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@modelcontextprotocol/sdk": "^1.31.0",
41
- "@tickernelz/paperclip-pro-shared": "2026.1022.0",
41
+ "@tickernelz/paperclip-pro-shared": "2026.1022.2",
42
42
  "zod": "^4.4.3"
43
43
  },
44
44
  "devDependencies": {