@ours.network/mcp 0.17.0-nightly.2 → 0.17.0-nightly.3
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
|
@@ -40,6 +40,30 @@ fail atomically without retrieving or writing any file.
|
|
|
40
40
|
|---------|---------|---------|
|
|
41
41
|
| `OURS_STATE_DIR` | `~/.ours` | Node identity + serialized state. Distinct per node. |
|
|
42
42
|
| `OURS_BROKER_URL` | `wss://broker1.ours.network` | The ADAPT broker to connect through. Set to `ws://localhost:9000` for a local broker. |
|
|
43
|
+
| `OURS_SERVICE_NAME` | *(none)* | Boot-service instance name (also `serviceName` in `config.json`). See below. |
|
|
44
|
+
|
|
45
|
+
### Running more than one daemon on a host
|
|
46
|
+
|
|
47
|
+
`install-service` bakes the resolved port, broker and state directory into a single boot
|
|
48
|
+
definition — `ours.service` on Linux, `solutions.adaptframework.ours` on macOS. Two daemons
|
|
49
|
+
installed that way would write the **same** definition, so the second silently replaces the
|
|
50
|
+
first.
|
|
51
|
+
|
|
52
|
+
Give a daemon an instance name and it gets its own definition instead:
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
OURS_CONFIG=~/.ours-tg/config.json OURS_SERVICE_NAME=tg ours-mcp install-service
|
|
56
|
+
# → ours-tg.service / solutions.adaptframework.ours.tg
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
With no name — the default, and every existing deployment — the unit and label are exactly what
|
|
60
|
+
they always were. A name must be 1–32 characters of letters, digits, hyphen or underscore,
|
|
61
|
+
starting and ending with a letter or digit; anything else is **refused** rather than rewritten,
|
|
62
|
+
because falling back to the shared unit is the overwrite this prevents. Removing a named
|
|
63
|
+
instance needs the same name: `OURS_SERVICE_NAME=tg ours-mcp uninstall-service`.
|
|
64
|
+
|
|
65
|
+
An isolated daemon also needs its own `OURS_CONFIG`/`stateDir` and its own port — the API token
|
|
66
|
+
lives in the state directory, so two daemons must never share one.
|
|
43
67
|
|
|
44
68
|
### Voice-message transcription
|
|
45
69
|
|