unifi-mcp-worker 1.3.0 → 1.3.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 +4 -3
- package/package.json +3 -2
- package/worker/package-lock.json +827 -1158
- package/worker/package.json +4 -3
- package/worker/src/mcp-handler.ts +7 -1
- package/worker/src/relay-object.ts +33 -9
- package/worker/src/tool-info.ts +9 -0
- package/worker/src/types.ts +21 -0
- package/worker/tsconfig.json +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ The Durable Object persists location registrations in SQLite and maintains live
|
|
|
32
32
|
### Install
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
curl -fsSL https://raw.githubusercontent.com/sirkirby/unifi-mcp
|
|
35
|
+
curl -fsSL https://raw.githubusercontent.com/sirkirby/unifi-mcp/main/apps/worker/install.sh | bash
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Or install the CLI directly:
|
|
@@ -119,13 +119,14 @@ curl -X POST https://your-worker.workers.dev/mcp \
|
|
|
119
119
|
|
|
120
120
|
### Built-in Meta-Tools
|
|
121
121
|
|
|
122
|
-
The relay always exposes
|
|
122
|
+
The relay always exposes these meta-tools regardless of registration mode:
|
|
123
123
|
|
|
124
124
|
| Tool | Purpose |
|
|
125
125
|
|------|---------|
|
|
126
126
|
| `unifi_tool_index` | List all available UniFi tools with optional category or search filter |
|
|
127
127
|
| `unifi_execute` | Execute any UniFi tool by name; use `__location` to target a specific site |
|
|
128
128
|
| `unifi_batch` | Execute multiple UniFi tools in a single request |
|
|
129
|
+
| `unifi_location_timeline` | Query a unified event timeline across connected locations and products |
|
|
129
130
|
|
|
130
131
|
---
|
|
131
132
|
|
|
@@ -207,4 +208,4 @@ Read-only operations (tools with `readOnlyHint: true`) are automatically fanned
|
|
|
207
208
|
|
|
208
209
|
## Related
|
|
209
210
|
|
|
210
|
-
- [unifi-mcp](https://github.com/sirkirby/unifi-mcp) — UniFi MCP
|
|
211
|
+
- [unifi-mcp](https://github.com/sirkirby/unifi-mcp) — source repository for this worker, the UniFi MCP servers, and the `unifi-mcp-relay` client
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unifi-mcp-worker",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "CLI to deploy and manage the UniFi MCP Cloudflare Worker relay",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/sirkirby/unifi-mcp
|
|
35
|
+
"url": "https://github.com/sirkirby/unifi-mcp.git",
|
|
36
|
+
"directory": "apps/worker"
|
|
36
37
|
}
|
|
37
38
|
}
|