@techsologic/unolock-agent-mcp 0.1.12 → 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 +20 -0
- package/bin/unolock-agent-mcp.js +3 -2
- package/package.json +1 -1
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.
|
package/bin/unolock-agent-mcp.js
CHANGED
|
@@ -7,7 +7,7 @@ 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.
|
|
10
|
+
const PACKAGE_VERSION = "0.1.13";
|
|
11
11
|
const BINARY_VERSION = "0.1.11";
|
|
12
12
|
const REPO = "TechSologic/unolock-agent-mcp";
|
|
13
13
|
|
|
@@ -108,7 +108,8 @@ async function ensureBinary() {
|
|
|
108
108
|
|
|
109
109
|
async function main() {
|
|
110
110
|
const dest = await ensureBinary();
|
|
111
|
-
const
|
|
111
|
+
const forwardedArgs = process.argv.length > 2 ? process.argv.slice(2) : ["mcp"];
|
|
112
|
+
const child = spawn(dest, forwardedArgs, {
|
|
112
113
|
stdio: "inherit",
|
|
113
114
|
env: process.env
|
|
114
115
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techsologic/unolock-agent-mcp",
|
|
3
|
-
"version": "0.1.
|
|
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",
|