@solomonneas/librenms-mcp 0.2.1 → 0.2.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.
- package/README.md +14 -1
- package/dist/cli.js +532 -56
- package/dist/index.js +525 -51
- package/dist/mcp-bin.js +525 -52
- package/dist/mcp-server.js +526 -52
- package/openclaw.plugin.json +12 -4
- package/package.json +7 -9
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
<img src="docs/assets/librenmsctrl-social-preview.jpg" alt="librenmsctrl banner" width="900">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://lidless.dev"><img src="docs/assets/marks/librenmsctrl-circle.png" width="48" alt="Lidless Labs"></a>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
5
9
|
<h1 align="center">librenmsctrl</h1>
|
|
6
10
|
|
|
7
11
|
<p align="center">
|
|
@@ -108,6 +112,7 @@ Set the following env vars. Both credential vars are required.
|
|
|
108
112
|
| `LIBRENMS_URL` | yes | - | Base URL of your LibreNMS instance. Trailing slashes are stripped. |
|
|
109
113
|
| `LIBRENMS_TOKEN` | yes | - | LibreNMS API token. Registered with the redactor on startup and masked from all output. |
|
|
110
114
|
| `LIBRENMS_TLS_INSECURE` | no | `false` | Skip TLS cert validation for homelab self-signed certs. Accepts `true`/`1`/`yes`, case-insensitive. |
|
|
115
|
+
| `LIBRENMS_REQUEST_TIMEOUT_MS` | no | `30000` | Per-request HTTP timeout in milliseconds. Minimum `1000`. Raise for slow installations. |
|
|
111
116
|
|
|
112
117
|
## CLI
|
|
113
118
|
|
|
@@ -128,7 +133,7 @@ librenmsctrl events list --limit 50
|
|
|
128
133
|
librenmsctrl --json status # raw JSON for piping
|
|
129
134
|
```
|
|
130
135
|
|
|
131
|
-
Run `librenmsctrl help` for the full flag list. It reads the same `LIBRENMS_URL`, `LIBRENMS_TOKEN`, and `
|
|
136
|
+
Run `librenmsctrl help` for the full flag list. It reads the same `LIBRENMS_URL`, `LIBRENMS_TOKEN`, `LIBRENMS_TLS_INSECURE`, and `LIBRENMS_REQUEST_TIMEOUT_MS` env vars as the server. Exit codes: `0` success, `1` runtime error (LibreNMS unreachable, call failed, or `status` with no system data), `2` usage error (unknown command/flag or bad value).
|
|
132
137
|
|
|
133
138
|
### Starting the MCP server
|
|
134
139
|
|
|
@@ -239,3 +244,11 @@ Patches welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for what lands easily, [
|
|
|
239
244
|
## License
|
|
240
245
|
|
|
241
246
|
[MIT](LICENSE).
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
<p align="center"><a href="https://lidless.dev">Part of <strong>Lidless Labs</strong></a> · the eye does not close</p>
|
|
251
|
+
|
|
252
|
+
<p align="center"><sub><strong>Network:</strong> <a href="https://github.com/lidless-labs/n8nctrl">n8nctrl</a> · <a href="https://github.com/lidless-labs/watchtower">watchtower</a> · <a href="https://github.com/lidless-labs/portgrid">portgrid</a> · <a href="https://github.com/lidless-labs/cutsheet">cutsheet</a> · <a href="https://github.com/lidless-labs/eero-cli">eero-cli</a></sub></p>
|
|
253
|
+
|
|
254
|
+
<p align="center"><sub><a href="https://lidless.dev">All tools</a> · <a href="https://github.com/lidless-labs">Lidless Labs on GitHub</a></sub></p>
|