@paretools/remote 0.11.0 → 0.11.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/dist/index.js CHANGED
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
- import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
2
+ import { createServer } from "@paretools/shared";
4
3
  import { registerAllTools } from "./tools/index.js";
5
- const server = new McpServer({ name: "@paretools/remote", version: "0.1.0" }, {
4
+ await createServer({
5
+ name: "@paretools/remote",
6
+ version: "0.1.0",
6
7
  instructions: "Structured remote operations (SSH, rsync). Run commands on remote hosts, test connectivity, scan host keys, and sync files. Returns typed JSON.",
8
+ registerTools: registerAllTools,
7
9
  });
8
- registerAllTools(server);
9
- const transport = new StdioServerTransport();
10
- await server.connect(transport);
11
10
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,GAAG,IAAI,SAAS,CAC1B,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,OAAO,EAAE,EAC/C;IACE,YAAY,EACV,iJAAiJ;CACpJ,CACF,CAAC;AAEF,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEzB,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,YAAY,CAAC;IACjB,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,YAAY,EACV,iJAAiJ;IACnJ,aAAa,EAAE,gBAAgB;CAChC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paretools/remote",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "mcpName": "io.github.Dave-London/pare-remote",
5
5
  "description": "MCP server for remote operations (SSH, rsync) with structured, token-efficient output",
6
6
  "license": "MIT",
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "@modelcontextprotocol/sdk": "^1.26.0",
55
55
  "zod": "^4.3.6",
56
- "@paretools/shared": "0.11.0"
56
+ "@paretools/shared": "0.12.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/node": "^25.2.3",