@techsologic/unolock-agent-mcp 0.1.11 → 0.1.13

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
@@ -134,6 +134,26 @@ npx @techsologic/unolock-agent-mcp --version
134
134
 
135
135
  The wrapper downloads the correct GitHub Release binary for the current platform on first use and then reuses the cached copy.
136
136
 
137
+ The npm package is an OpenClaw-friendly install and launch path for the external UnoLock MCP binary.
138
+
139
+ It is **not** an OpenClaw plugin package for `openclaw plugins install ...`.
140
+
141
+ Project home:
142
+
143
+ * `https://github.com/TechSologic/unolock-agent-mcp`
144
+
145
+ Use it as a command that OpenClaw can launch, for example:
146
+
147
+ ```bash
148
+ npx @techsologic/unolock-agent-mcp mcp
149
+ ```
150
+
151
+ With no arguments, the npm wrapper starts the MCP server by default:
152
+
153
+ ```bash
154
+ npx @techsologic/unolock-agent-mcp
155
+ ```
156
+
137
157
  ## Standalone config
138
158
 
139
159
  When the MCP runs outside the main UnoLock monorepo, it can usually derive its UnoLock runtime config from the UnoLock agent key connection URL. Environment variables and config files are primarily for overrides and custom deployments.
@@ -7,7 +7,8 @@ const path = require("path");
7
7
  const https = require("https");
8
8
  const { spawn } = require("child_process");
9
9
 
10
- const PACKAGE_VERSION = "0.1.11";
10
+ const PACKAGE_VERSION = "0.1.13";
11
+ const BINARY_VERSION = "0.1.11";
11
12
  const REPO = "TechSologic/unolock-agent-mcp";
12
13
 
13
14
  function platformAssetInfo() {
@@ -37,7 +38,7 @@ function cacheRoot() {
37
38
 
38
39
  function binaryPath() {
39
40
  const { executable } = platformAssetInfo();
40
- return path.join(cacheRoot(), "unolock-agent-mcp", PACKAGE_VERSION, executable);
41
+ return path.join(cacheRoot(), "unolock-agent-mcp", BINARY_VERSION, executable);
41
42
  }
42
43
 
43
44
  function binaryUrl() {
@@ -45,7 +46,7 @@ function binaryUrl() {
45
46
  return process.env.UNOLOCK_AGENT_MCP_BINARY_URL;
46
47
  }
47
48
  const { asset } = platformAssetInfo();
48
- return `https://github.com/${REPO}/releases/download/v${PACKAGE_VERSION}/${asset}`;
49
+ return `https://github.com/${REPO}/releases/download/v${BINARY_VERSION}/${asset}`;
49
50
  }
50
51
 
51
52
  function ensureDir(dir) {
@@ -100,14 +101,15 @@ async function ensureBinary() {
100
101
  return dest;
101
102
  }
102
103
  ensureDir(path.dirname(dest));
103
- process.stderr.write(`Downloading UnoLock Agent MCP ${PACKAGE_VERSION} for ${process.platform}/${process.arch}...\n`);
104
+ process.stderr.write(`Downloading UnoLock Agent MCP ${BINARY_VERSION} for ${process.platform}/${process.arch}...\n`);
104
105
  await fetchToFile(binaryUrl(), dest);
105
106
  return dest;
106
107
  }
107
108
 
108
109
  async function main() {
109
110
  const dest = await ensureBinary();
110
- const child = spawn(dest, process.argv.slice(2), {
111
+ const forwardedArgs = process.argv.length > 2 ? process.argv.slice(2) : ["mcp"];
112
+ const child = spawn(dest, forwardedArgs, {
111
113
  stdio: "inherit",
112
114
  env: process.env
113
115
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techsologic/unolock-agent-mcp",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "npx wrapper for the official UnoLock Agent MCP release binaries",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "homepage": "https://github.com/TechSologic/unolock-agent-mcp",
@@ -12,7 +12,7 @@
12
12
  "url": "https://github.com/TechSologic/unolock-agent-mcp/issues"
13
13
  },
14
14
  "bin": {
15
- "unolock-agent-mcp": "./bin/unolock-agent-mcp.js"
15
+ "unolock-agent-mcp": "bin/unolock-agent-mcp.js"
16
16
  },
17
17
  "files": [
18
18
  "bin/"