ames-unifi-mcp 1.0.0 → 1.0.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://ui.com/favicon-32x32.png" width="48" height="48" alt="UniFi">
2
+ <img src="icon.png" width="80" height="80" alt="UniFi">
3
3
  </p>
4
4
 
5
5
  <h1 align="center">UniFi MCP Server</h1>
@@ -15,6 +15,12 @@
15
15
  <code>Network 5.x &ndash; 10.x</code>
16
16
  </p>
17
17
 
18
+ <p align="center">
19
+ <a href="https://www.npmjs.com/package/ames-unifi-mcp"><img src="https://img.shields.io/npm/v/ames-unifi-mcp?style=flat-square&color=f5a542" alt="npm"></a>
20
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-f5a542?style=flat-square" alt="License"></a>
21
+ <a href="https://www.buymeacoffee.com/oliverames"><img src="https://img.shields.io/badge/Buy_Me_a_Coffee-support-f5a542?style=flat-square&logo=buy-me-a-coffee&logoColor=white" alt="Buy Me a Coffee"></a>
22
+ </p>
23
+
18
24
  <p align="center">
19
25
  <a href="#quick-start">Quick Start</a> &nbsp;&bull;&nbsp;
20
26
  <a href="#tool-coverage">Tool Coverage</a> &nbsp;&bull;&nbsp;
@@ -287,6 +293,19 @@ The server covers all three UniFi API layers:
287
293
 
288
294
  **Username/Password** &mdash; 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.
289
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
+
290
309
  ---
291
310
 
292
311
  ## Architecture
@@ -397,10 +416,21 @@ Here's what natural-language network management looks like:
397
416
 
398
417
  ## License
399
418
 
400
- MIT
419
+ MIT &mdash; Not affiliated with Ubiquiti Inc.
401
420
 
402
421
  ---
403
422
 
404
423
  <p align="center">
405
- <sub>Built for UniFi OS &nbsp;&bull;&nbsp; Supports Dream Machine, Cloud Gateway, and unifi.ui.com &nbsp;&bull;&nbsp; Not affiliated with Ubiquiti Inc.</sub>
424
+ <a href="https://www.buymeacoffee.com/oliverames">
425
+ <img src="https://img.shields.io/badge/Buy_Me_a_Coffee-support-f5a542?style=for-the-badge&logo=buy-me-a-coffee&logoColor=white" alt="Buy Me a Coffee">
426
+ </a>
427
+ </p>
428
+
429
+ <p align="center">
430
+ <sub>
431
+ Built by <a href="https://ames.consulting">Oliver Ames</a> in Vermont
432
+ &bull; <a href="https://github.com/oliverames">GitHub</a>
433
+ &bull; <a href="https://linkedin.com/in/oliverames">LinkedIn</a>
434
+ &bull; <a href="https://bsky.app/profile/oliverames.bsky.social">Bluesky</a>
435
+ </sub>
406
436
  </p>
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ames-unifi-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "UniFi Network MCP server — 310 tools for complete controller management via the Model Context Protocol",
5
5
  "keywords": [
6
6
  "mcp",
@@ -36,7 +36,8 @@
36
36
  "LICENSE"
37
37
  ],
38
38
  "scripts": {
39
- "postinstall": "node install.js"
39
+ "postinstall": "node install.js",
40
+ "postpublish": "$HOME/Developer/projects/ames-claude/bump-and-sync"
40
41
  },
41
42
  "os": [
42
43
  "darwin",