ames-unifi-mcp 1.0.1 → 1.0.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
|
@@ -293,6 +293,19 @@ The server covers all three UniFi API layers:
|
|
|
293
293
|
|
|
294
294
|
**Username/Password** — Uses session cookies with automatic re-login on expiry. The server includes a single-flight re-login mechanism that prevents thundering-herd issues when batch operations encounter session timeouts simultaneously.
|
|
295
295
|
|
|
296
|
+
### 1Password Integration
|
|
297
|
+
|
|
298
|
+
If credentials are not set in the environment, the server automatically attempts to resolve them from [1Password CLI](https://developer.1password.com/docs/cli/):
|
|
299
|
+
|
|
300
|
+
| Variable | 1Password Reference |
|
|
301
|
+
|----------|-------------------|
|
|
302
|
+
| `UNIFI_HOST` | `op://Development/UniFi Controller/host` |
|
|
303
|
+
| `UNIFI_API_KEY` | `op://Development/UniFi Controller/api_key` |
|
|
304
|
+
| `UNIFI_USERNAME` | `op://Development/UniFi Controller/username` |
|
|
305
|
+
| `UNIFI_PASSWORD` | `op://Development/UniFi Controller/password` |
|
|
306
|
+
|
|
307
|
+
This means you can skip setting env vars entirely if you have `op` installed and a service account or session active. The fallback adds ~1-2s to startup and is silently skipped if 1Password is unavailable.
|
|
308
|
+
|
|
296
309
|
---
|
|
297
310
|
|
|
298
311
|
## Architecture
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|